Pan: The Parity Analyzer -- Class Index

Pan classes only
All classes


+
class VaPair
-
#include "VaPair.hh"
Display options:
Show inherited
Show non-public

class VaPair


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.


Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~VaPair()
voidAddResult(const TaLabelledQuantity&)
static TClass*Class()
virtual Bool_tFill(VaEvent&, TaRun&)
Double_tGetAsy(Int_t) const
Double_tGetAsyAve(vector<Int_t>, vector<Double_t> = vector<Double_t>(0)) const
Double_tGetAsyN(Int_t, Int_t) const
Double_tGetAsyNAve(vector<Int_t>, Int_t, vector<Double_t> = vector<Double_t>(0)) const
Double_tGetAsyNSum(vector<Int_t>, Int_t, vector<Double_t> = vector<Double_t>(0)) const
Double_tGetAsySum(vector<Int_t>, vector<Double_t> = vector<Double_t>(0)) const
Double_tGetAvg(Int_t) const
Double_tGetAvgN(Int_t, Int_t) const
Double_tGetAvgNSum(vector<Int_t>, Int_t, vector<Double_t> = vector<Double_t>(0)) const
Double_tGetAvgSum(vector<Int_t>, vector<Double_t> = vector<Double_t>(0)) const
Double_tGetDiff(Int_t) const
Double_tGetDiffSum(vector<Int_t>, vector<Double_t> = vector<Double_t>(0)) const
const VaEvent&GetFirst() const
const VaEvent&GetLeft() const
const vector<TaLabelledQuantity>&GetResults() const
const VaEvent&GetRight() const
const VaEvent&GetSecond() const
virtual TClass*IsA() const
VaPair&operator=(const VaPair& assign)
Bool_tPassedCCutsInt(const TaCutList& cl) const
Bool_tPassedCuts() const
Bool_tPassedCutsInt(const TaCutList& cl) const
voidQueuePrint() const
virtual ErrCode_tRunInit(const TaRun&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
virtual voidCheckSequence(VaEvent&, TaRun&)
virtual Bool_tHelSeqOK(EHelicity h)
virtual UInt_tRanBit(UInt_t hRead = 2)

Data Members

protected:
VaEvent*fEvFirst(pointer to) first event
VaEventfEvLeft"Left" helicity event
VaEventfEvRight"Right" helicity event
VaEvent*fEvSecond(pointer to) second event
vector<TaLabelledQuantity>fResultsPair analysis results
static deque<VaEvent>fgEventQueueEvents waiting to be paired
static VaEventfgLastWinEvfirst ev of last window
static UInt_tfgNCutsnumber of cuts defined
static UInt_tfgNShregcount since fgShreg was reset
static UInt_tfgOldbold bit for non-random seq check
static Bool_tfgPairMadeset in Fill to true if pair made, else false
static Bool_tfgRandomrandom helicity sequence?
static Cut_tfgSequenceNocut number for sequence
static UInt_tfgShregvalue for sequence algorithm
static Bool_tfgSkippingtrue until first event of first full window pair/quad etc.
static VaEventfgThisWinEvfirst ev of this window
static const ErrCode_tfgVAP_ERRORreturned on error
static const ErrCode_tfgVAP_OKreturned on success

Class Charts

Inheritance Chart:
VaPair
TaPairFromPair
TaPairFromQuad

Function documentation

operator=(const VaPair &assign)
~VaPair()
RunInit(const TaRun& run)
 Initialization at start of run -- clear event queue (so we don't
 pair events from two different runs, for instance)
Fill( VaEvent& ThisEv, TaRun& run )
 If this event makes a pair with a stored one, put the two events
 into this pair and return true.  Otherwise store this event and
 return false.
GetRight()
GetLeft()
GetFirst()
GetSecond()
QueuePrint()
 Print stored events, for diagnostic purposes
PassedCuts()
 True if neither event has cut condition
PassedCutsInt(const TaCutList& cl)
 True if neither event is in cut interval
PassedCCutsInt(const TaCutList& cl)
 True if neither event is in cut interval (for hall C)
GetResults()

Author: R. Holmes , A. Vacheret , R. Michaels , K.Paschke
Last update: pan/src:$Name: $:$Id: VaPair.cc,v 1.28 2005/08/31 15:48:54 rsholmes Exp $

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.