HALL A C++/ROOT Parity Analyzer Pan VaPair.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: VaPair.cc,v 1.28 2005/08/31 15:48:54 rsholmes Exp $ Base class for pairs of events of opposite helicities. Contains (when full) two events, as well as the results of analysis of that pair. Different derived classes correspond to different beam helicity structures. Methods are provided to compute differences and asymmetries for a given device.
| VaEvent* | fEvFirst | (pointer to) first event |
| VaEvent | fEvLeft | "Left" helicity event |
| VaEvent | fEvRight | "Right" helicity event |
| VaEvent* | fEvSecond | (pointer to) second event |
| vector<TaLabelledQuantity> | fResults | Pair analysis results |
| static deque<VaEvent> | fgEventQueue | Events waiting to be paired |
| static VaEvent | fgLastWinEv | first ev of last window |
| static UInt_t | fgNCuts | number of cuts defined |
| static UInt_t | fgNShreg | count since fgShreg was reset |
| static UInt_t | fgOldb | old bit for non-random seq check |
| static Bool_t | fgPairMade | set in Fill to true if pair made, else false |
| static Bool_t | fgRandom | random helicity sequence? |
| static Cut_t | fgSequenceNo | cut number for sequence |
| static UInt_t | fgShreg | value for sequence algorithm |
| static Bool_t | fgSkipping | true until first event of first full window pair/quad etc. |
| static VaEvent | fgThisWinEv | first ev of this window |
| static const ErrCode_t | fgVAP_ERROR | returned on error |
| static const ErrCode_t | fgVAP_OK | returned on success |
| Inheritance Chart: | ||||||||||||
|
Initialization at start of run -- clear event queue (so we don't pair events from two different runs, for instance)