HALL A C++/ROOT Parity Analyzer Pan TaPairFromQuad.cc (implementation) Author: R. Holmes <http://mep1.phy.syr.edu/~rsholmes>, A. Vacheret <http://www.jlab.org/~vacheret>, R. Michaels <http://www.jlab.org/~rom>, K.Paschke @(#)pan/src:$Name: $:$Id: TaPairFromQuad.cc,v 1.12 2004/07/02 18:39:20 rsholmes Exp $ Class which makes and analyzes opposite helicity event pairs from a data stream structured as helicity window quadruples. Derived from VaPair.
| virtual Bool_t | VaPair::HelSeqOK(EHelicity h) |
| VaEvent* | VaPair::fEvFirst | (pointer to) first event |
| VaEvent | VaPair::fEvLeft | "Left" helicity event |
| VaEvent | VaPair::fEvRight | "Right" helicity event |
| VaEvent* | VaPair::fEvSecond | (pointer to) second event |
| vector<TaLabelledQuantity> | VaPair::fResults | Pair analysis results |
| static deque<VaEvent> | VaPair::fgEventQueue | Events waiting to be paired |
| static VaEvent | VaPair::fgLastWinEv | first ev of last window |
| static UInt_t | VaPair::fgNCuts | number of cuts defined |
| static UInt_t | VaPair::fgNShreg | count since fgShreg was reset |
| static UInt_t | VaPair::fgOldb | old bit for non-random seq check |
| static Bool_t | VaPair::fgPairMade | set in Fill to true if pair made, else false |
| static Bool_t | VaPair::fgRandom | random helicity sequence? |
| static Cut_t | VaPair::fgSequenceNo | cut number for sequence |
| static UInt_t | VaPair::fgShreg | value for sequence algorithm |
| static Bool_t | VaPair::fgSkipping | true until first event of first full window pair/quad etc. |
| static VaEvent | VaPair::fgThisWinEv | first ev of this window |
| static const ErrCode_t | VaPair::fgVAP_ERROR | returned on error |
| static const ErrCode_t | VaPair::fgVAP_OK | returned on success |
| static Int_t | fgQuadCount | Quad window counter |
| Inheritance Chart: | |||||||||
|
Look for sequence errors in the beam's window pair structure. Errors include: Pairsynch unchanged from previous window quadsync == FirstQS when OtherQS expected quadsync == OtherQS when FirstQS expected In first window of quad, helicity does not match expected value In second window of quad, helicity unchanged from first window In third window of quad, helicity changed from second window In fourth window of quad, helicity unchanged from third window In first or third window of quad, pairsynch is FirstPS In second or fourth window of quad, pairsynch is SecondPS In second and later events of window, pairsynch changed from first event In second and later events of window, quadsynch changed from first event In second and later events of window, helicity changed from first event