Hall C ROOT/C++ Analyzer (hcana)
THcHodoEff Class Reference

Class for accumulating statistics for and calculating hodoscope efficiencies.

Definition at line 26 of file THcHodoEff.h.

Public Member Functions

virtual Int_t Begin (THaRunBase *r=0)
 
virtual Int_t End (THaRunBase *r=0)
 
virtual EStatus Init (const TDatime &run_time)
 
virtual Int_t Process (const THaEvData &)
 
void Reset (Option_t *opt="")
 
 THcHodoEff (const char *name, const char *description, const char *hodname)
 
virtual ~THcHodoEff ()
 

Protected Member Functions

virtual Int_t DefineVariables (EMode mode=kDefine)
 
virtual Int_t ReadDatabase (const TDatime &date)
 

Protected Attributes

vector< vector< Int_t > > fBothGood
 
Double_tfCenterFirst
 
Int_t fEffiTest
 
Int_tfHitPlane
 
vector< vector< vector< Int_t > > > fHitShould
 
THcHodoscopefHod
 
Int_tfHodoAndEffi
 
Double_t fHodoEff_3_of_4
 
Double_t fHodoEff_4_of_4
 
Double_t fHodoEff_CalEnergy_Cut
 
Double_t fHodoEff_s1
 
Double_t fHodoEff_s2
 
Double_t fHodoEff_tof
 
Int_tfHodoNegEffi
 
Int_tfHodoOrEffi
 
Int_tfHodoPosEffi
 
Double_tfHodoSlop
 
Double_t fMaxChisq
 
TString fName
 
Int_tfNCounters
 
vector< vector< Int_t > > fNegGood
 
Long64_t fNevt
 
Int_t fNPlanes
 
THcScintillatorPlane ** fPlanes
 
vector< vector< Int_t > > fPosGood
 
Double_tfPosZ
 
Double_tfSpacing
 
THaSpectrometer * fSpectro
 
Double_tfStatAndEff
 
vector< vector< Int_t > > fStatAndHit
 
vector< vector< vector< Int_t > > > fStatAndHitDel
 
Int_tfStatAndSum
 
vector< vector< Int_t > > fStatNegHit
 
vector< vector< Int_t > > fStatOrHit
 
vector< vector< Int_t > > fStatPosHit
 
Double_t fStatSlop
 
Int_tfStatTrk
 
vector< vector< vector< Int_t > > > fStatTrkDel
 
Int_tfStatTrkSum
 
Double_tfZPos
 

#include <THcHodoEff.h>

Inheritance diagram for THcHodoEff:

Constructor & Destructor Documentation

THcHodoEff::THcHodoEff ( const char *  name,
const char *  description,
const char *  hodname 
)

Definition at line 27 of file THcHodoEff.cxx.

THcHodoEff::~THcHodoEff ( )
virtual

Definition at line 35 of file THcHodoEff.cxx.

Member Function Documentation

Int_t THcHodoEff::Begin ( THaRunBase *  r = 0)
virtual

Definition at line 68 of file THcHodoEff.cxx.

Int_t THcHodoEff::DefineVariables ( EMode  mode = kDefine)
protectedvirtual

Definition at line 266 of file THcHodoEff.cxx.

Int_t THcHodoEff::End ( THaRunBase *  r = 0)
virtual

Definition at line 100 of file THcHodoEff.cxx.

THaAnalysisObject::EStatus THcHodoEff::Init ( const TDatime run_time)
virtual

Definition at line 132 of file THcHodoEff.cxx.

Int_t THcHodoEff::Process ( const THaEvData evdata)
virtual

Definition at line 286 of file THcHodoEff.cxx.

Int_t THcHodoEff::ReadDatabase ( const TDatime date)
protectedvirtual

Definition at line 158 of file THcHodoEff.cxx.

void THcHodoEff::Reset ( Option_t opt = "")

Definition at line 61 of file THcHodoEff.cxx.

Member Data Documentation

vector<vector<Int_t> > THcHodoEff::fBothGood
protected

Definition at line 87 of file THcHodoEff.h.

Double_t* THcHodoEff::fCenterFirst
protected

Definition at line 62 of file THcHodoEff.h.

Int_t THcHodoEff::fEffiTest
protected

Definition at line 57 of file THcHodoEff.h.

Int_t* THcHodoEff::fHitPlane
protected

Definition at line 91 of file THcHodoEff.h.

vector<vector<vector<Int_t> > > THcHodoEff::fHitShould
protected

Definition at line 80 of file THcHodoEff.h.

THcHodoscope* THcHodoEff::fHod
protected

Definition at line 49 of file THcHodoEff.h.

Int_t* THcHodoEff::fHodoAndEffi
protected

Definition at line 68 of file THcHodoEff.h.

Double_t THcHodoEff::fHodoEff_3_of_4
protected

Definition at line 77 of file THcHodoEff.h.

Double_t THcHodoEff::fHodoEff_4_of_4
protected

Definition at line 77 of file THcHodoEff.h.

Double_t THcHodoEff::fHodoEff_CalEnergy_Cut
protected

Definition at line 74 of file THcHodoEff.h.

Double_t THcHodoEff::fHodoEff_s1
protected

Definition at line 77 of file THcHodoEff.h.

Double_t THcHodoEff::fHodoEff_s2
protected

Definition at line 77 of file THcHodoEff.h.

Double_t THcHodoEff::fHodoEff_tof
protected

Definition at line 77 of file THcHodoEff.h.

Int_t* THcHodoEff::fHodoNegEffi
protected

Definition at line 66 of file THcHodoEff.h.

Int_t* THcHodoEff::fHodoOrEffi
protected

Definition at line 67 of file THcHodoEff.h.

Int_t* THcHodoEff::fHodoPosEffi
protected

Definition at line 65 of file THcHodoEff.h.

Double_t* THcHodoEff::fHodoSlop
protected

Definition at line 76 of file THcHodoEff.h.

Double_t THcHodoEff::fMaxChisq
protected

Definition at line 75 of file THcHodoEff.h.

TString THcHodoEff::fName
protected

Definition at line 48 of file THcHodoEff.h.

Int_t* THcHodoEff::fNCounters
protected

Definition at line 63 of file THcHodoEff.h.

vector<vector<Int_t> > THcHodoEff::fNegGood
protected

Definition at line 88 of file THcHodoEff.h.

Long64_t THcHodoEff::fNevt
protected

Definition at line 52 of file THcHodoEff.h.

Int_t THcHodoEff::fNPlanes
protected

Definition at line 58 of file THcHodoEff.h.

THcScintillatorPlane** THcHodoEff::fPlanes
protected

Definition at line 59 of file THcHodoEff.h.

vector<vector<Int_t> > THcHodoEff::fPosGood
protected

Definition at line 89 of file THcHodoEff.h.

Double_t* THcHodoEff::fPosZ
protected

Definition at line 60 of file THcHodoEff.h.

Double_t* THcHodoEff::fSpacing
protected

Definition at line 61 of file THcHodoEff.h.

THaSpectrometer* THcHodoEff::fSpectro
protected

Definition at line 50 of file THcHodoEff.h.

Double_t* THcHodoEff::fStatAndEff
protected

Definition at line 72 of file THcHodoEff.h.

vector<vector<Int_t> > THcHodoEff::fStatAndHit
protected

Definition at line 85 of file THcHodoEff.h.

vector<vector<vector<Int_t> > > THcHodoEff::fStatAndHitDel
protected

Definition at line 81 of file THcHodoEff.h.

Int_t* THcHodoEff::fStatAndSum
protected

Definition at line 71 of file THcHodoEff.h.

vector<vector<Int_t> > THcHodoEff::fStatNegHit
protected

Definition at line 84 of file THcHodoEff.h.

vector<vector<Int_t> > THcHodoEff::fStatOrHit
protected

Definition at line 86 of file THcHodoEff.h.

vector<vector<Int_t> > THcHodoEff::fStatPosHit
protected

Definition at line 83 of file THcHodoEff.h.

Double_t THcHodoEff::fStatSlop
protected

Definition at line 73 of file THcHodoEff.h.

Int_t* THcHodoEff::fStatTrk
protected

Definition at line 69 of file THcHodoEff.h.

vector<vector<vector<Int_t> > > THcHodoEff::fStatTrkDel
protected

Definition at line 82 of file THcHodoEff.h.

Int_t* THcHodoEff::fStatTrkSum
protected

Definition at line 70 of file THcHodoEff.h.

Double_t* THcHodoEff::fZPos
protected

Definition at line 46 of file THcHodoEff.h.

Collaboration diagram for THcHodoEff:

The documentation for this class was generated from the following files: