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

Class for gas Cherenkov detectors.

Definition at line 16 of file THcCherenkov.h.

Public Member Functions

virtual void AccumulatePedestals (TClonesArray *rawhits)
 
virtual Int_t ApplyCorrections (void)
 
virtual void CalculatePedestals ()
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseProcess (TClonesArray &tracks)
 
virtual Int_t Decode (const THaEvData &)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
void DeleteArrays ()
 
Int_t End (THaRunBase *run)
 
virtual Int_t FineProcess (TClonesArray &tracks)
 
Double_t GetCerNPE ()
 
Int_t GetIndex (Int_t nRegion, Int_t nValue)
 
virtual EStatus Init (const TDatime &run_time)
 
void InitArrays ()
 
virtual void Print (const Option_t *opt) const
 
virtual Int_t ReadDatabase (const TDatime &date)
 
 THcCherenkov (const char *name, const char *description="", THaApparatus *a=NULL)
 
 THcCherenkov ()
 
virtual ~THcCherenkov ()
 
- Public Member Functions inherited from THcHitList
void CreateMissReportParms (const char *prefix)
 
virtual Int_t DecodeToHitList (const THaEvData &evdata, Bool_t suppress=kFALSE)
 Populate the hitlist from the raw event data. More...
 
void DisableSlipCorrection ()
 
TClonesArrayGetHitList () const
 
void InitHitList (THaDetMap *detmap, const char *hitclass, Int_t maxhits, Int_t tdcref_cut=0, Int_t adcref_cut=0)
 Save the electronics module to detector mapping and initialize a hit array of hits of class hitclass. More...
 
void MissReport (const char *name)
 
 THcHitList ()
 
virtual ~THcHitList ()
 

Static Public Attributes

static const Int_t MaxNumAdcPulse = 4
 
static const Int_t MaxNumCerPmt = 4
 

Protected Member Functions

virtual void InitializePedestals ()
 
void Setup (const char *name, const char *description)
 
- Protected Member Functions inherited from THcHitList
 ClassDef (THcHitList, 0)
 

Protected Attributes

Int_t fADC_RefTimeCut
 
TClonesArrayfAdcErrorFlag
 
Int_tfAdcGoodElem
 
Double_tfAdcPulseAmpTest
 
Double_t fAdcTdcOffset
 
Double_tfAdcTimeWindowMax
 
Double_tfAdcTimeWindowMin
 
Int_t fAnalyzePedestals
 
Double_t fBetaMax
 
Double_t fBetaMin
 
Int_t fDebugAdc
 
Double_t fDpMax
 
Double_t fDpMin
 
Double_t fENormMax
 
Double_t fENormMin
 
Double_tfGain
 
THcHodoscopefglHod
 
vector< Double_tfGoodAdcHitUsed
 
vector< Double_tfGoodAdcMult
 
vector< Double_tfGoodAdcPed
 
vector< Double_tfGoodAdcPulseAmp
 
vector< Double_tfGoodAdcPulseInt
 
vector< Double_tfGoodAdcPulseIntRaw
 
vector< Double_tfGoodAdcPulseTime
 
vector< Double_tfGoodAdcTdcDiffTime
 
Int_t fMinPeds
 
Double_t fMirrorZPos
 
Int_t fNhits
 
vector< Double_tfNpe
 
Int_t fNPedestalEvents
 
Double_t fNpeSum
 
Double_t fNpeThresh
 
Int_t fNRegions
 
vector< Int_tfNumAdcHits
 
vector< Int_tfNumGoodAdcHits
 
vector< Int_tfNumTracksFired
 
vector< Int_tfNumTracksMatched
 
Double_tfPed
 
Int_tfPedCount
 
Int_tfPedDefault
 
Int_tfPedLimit
 
Double_tfPedMean
 
Int_tfPedSum
 
Int_tfPedSum2
 
Bool_tfPresentP
 
TClonesArrayfrAdcPed
 
TClonesArrayfrAdcPedRaw
 
TClonesArrayfrAdcPulseAmp
 
TClonesArrayfrAdcPulseAmpRaw
 
TClonesArrayfrAdcPulseInt
 
TClonesArrayfrAdcPulseIntRaw
 
TClonesArrayfrAdcPulseTime
 
TClonesArrayfrAdcPulseTimeRaw
 
Double_t fRedChi2Max
 
Double_t fRedChi2Min
 
Double_t fRefTime
 
Int_t fRegionsValueMax
 
Double_tfRegionValue
 
Double_tfThresh
 
Int_t fTotNumAdcHits
 
Int_t fTotNumGoodAdcHits
 
Int_t fTotNumTracksFired
 
Int_t fTotNumTracksMatched
 
Double_tfWidth
 
Double_t fXAtCer
 
Double_t fYAtCer
 
- Protected Attributes inherited from THcHitList
Double_t fDisableSlipCorrection
 
std::map< Int_t, Decoder::Fadc250Module * > fFADCSlotMap
 
Bool_t fHaveFADCInfo
 
Decoder::THaCrateMapfMap
 
Int_t fNADCRef_miss
 
Int_t fNPED
 
Int_t fNRefIndex
 
Int_t fNSA
 
Int_t fNSB
 
UInt_t fNSignals
 
Int_t fNTDCRef_miss
 
THcConfigEvtHandlerfPSE125
 
std::vector< RefIndexMapfRefIndexMaps
 
THcRawHit::ESignalTypefSignalTypes
 
Int_t fTICrate
 
Int_t fTISlot
 
std::map< Int_t, Int_tfTrigTimeShiftMap
 

Additional Inherited Members

- Public Attributes inherited from THcHitList
Bool_t fADC_RefTimeBest
 
Int_t fADC_RefTimeCut
 
THaDetMap * fdMap
 
Int_t fNMaxRawHits
 
UInt_t fNRawHits
 
TClassfRawHitClass
 
TClonesArrayfRawHitList
 
Bool_t fTDC_RefTimeBest
 
Int_t fTDC_RefTimeCut
 

#include <THcCherenkov.h>

Inheritance diagram for THcCherenkov:

Constructor & Destructor Documentation

THcCherenkov::THcCherenkov ( const char *  name,
const char *  description = "",
THaApparatus *  a = NULL 
)

Definition at line 46 of file THcCherenkov.cxx.

THcCherenkov::~THcCherenkov ( )
virtual

Definition at line 97 of file THcCherenkov.cxx.

THcCherenkov::THcCherenkov ( )

Definition at line 79 of file THcCherenkov.cxx.

Member Function Documentation

void THcCherenkov::AccumulatePedestals ( TClonesArray rawhits)
virtual

Definition at line 611 of file THcCherenkov.cxx.

Int_t THcCherenkov::ApplyCorrections ( void  )
virtual

Definition at line 464 of file THcCherenkov.cxx.

void THcCherenkov::CalculatePedestals ( )
virtual

Definition at line 641 of file THcCherenkov.cxx.

void THcCherenkov::Clear ( Option_t opt = "")
inlinevirtual

Definition at line 336 of file THcCherenkov.cxx.

Int_t THcCherenkov::CoarseProcess ( TClonesArray tracks)
virtual

Definition at line 470 of file THcCherenkov.cxx.

Int_t THcCherenkov::Decode ( const THaEvData evdata)
virtual

Definition at line 385 of file THcCherenkov.cxx.

Int_t THcCherenkov::DefineVariables ( EMode  mode = kDefine)
virtual

Definition at line 275 of file THcCherenkov.cxx.

void THcCherenkov::DeleteArrays ( )

Definition at line 126 of file THcCherenkov.cxx.

Int_t THcCherenkov::End ( THaRunBase *  run)

Definition at line 693 of file THcCherenkov.cxx.

Int_t THcCherenkov::FineProcess ( TClonesArray tracks)
virtual

Definition at line 527 of file THcCherenkov.cxx.

Double_t THcCherenkov::GetCerNPE ( )

Definition at line 688 of file THcCherenkov.cxx.

Int_t THcCherenkov::GetIndex ( Int_t  nRegion,
Int_t  nValue 
)

Definition at line 667 of file THcCherenkov.cxx.

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

Definition at line 146 of file THcCherenkov.cxx.

void THcCherenkov::InitArrays ( )

Definition at line 114 of file THcCherenkov.cxx.

void THcCherenkov::InitializePedestals ( )
protectedvirtual

Definition at line 594 of file THcCherenkov.cxx.

void THcCherenkov::Print ( const Option_t opt) const
virtual

Definition at line 674 of file THcCherenkov.cxx.

Int_t THcCherenkov::ReadDatabase ( const TDatime date)
virtual

Definition at line 183 of file THcCherenkov.cxx.

void THcCherenkov::Setup ( const char *  name,
const char *  description 
)
protected

Member Data Documentation

Int_t THcCherenkov::fADC_RefTimeCut
protected

Definition at line 54 of file THcCherenkov.h.

TClonesArray* THcCherenkov::fAdcErrorFlag
protected

Definition at line 121 of file THcCherenkov.h.

Int_t* THcCherenkov::fAdcGoodElem
protected

Definition at line 110 of file THcCherenkov.h.

Double_t* THcCherenkov::fAdcPulseAmpTest
protected

Definition at line 109 of file THcCherenkov.h.

Double_t THcCherenkov::fAdcTdcOffset
protected

Definition at line 96 of file THcCherenkov.h.

Double_t* THcCherenkov::fAdcTimeWindowMax
protected

Definition at line 94 of file THcCherenkov.h.

Double_t* THcCherenkov::fAdcTimeWindowMin
protected

Definition at line 93 of file THcCherenkov.h.

Int_t THcCherenkov::fAnalyzePedestals
protected

Definition at line 50 of file THcCherenkov.h.

Double_t THcCherenkov::fBetaMax
protected

Definition at line 84 of file THcCherenkov.h.

Double_t THcCherenkov::fBetaMin
protected

Definition at line 83 of file THcCherenkov.h.

Int_t THcCherenkov::fDebugAdc
protected

Definition at line 51 of file THcCherenkov.h.

Double_t THcCherenkov::fDpMax
protected

Definition at line 88 of file THcCherenkov.h.

Double_t THcCherenkov::fDpMin
protected

Definition at line 87 of file THcCherenkov.h.

Double_t THcCherenkov::fENormMax
protected

Definition at line 86 of file THcCherenkov.h.

Double_t THcCherenkov::fENormMin
protected

Definition at line 85 of file THcCherenkov.h.

Double_t* THcCherenkov::fGain
protected

Definition at line 63 of file THcCherenkov.h.

THcHodoscope* THcCherenkov::fglHod
protected

Definition at line 125 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcHitUsed
protected

Definition at line 71 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcMult
protected

Definition at line 70 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcPed
protected

Definition at line 69 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcPulseAmp
protected

Definition at line 74 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcPulseInt
protected

Definition at line 72 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcPulseIntRaw
protected

Definition at line 73 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcPulseTime
protected

Definition at line 75 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fGoodAdcTdcDiffTime
protected

Definition at line 76 of file THcCherenkov.h.

Int_t THcCherenkov::fMinPeds
protected

Definition at line 101 of file THcCherenkov.h.

Double_t THcCherenkov::fMirrorZPos
protected

Definition at line 89 of file THcCherenkov.h.

Int_t THcCherenkov::fNhits
protected

Definition at line 56 of file THcCherenkov.h.

vector<Double_t> THcCherenkov::fNpe
protected

Definition at line 77 of file THcCherenkov.h.

Int_t THcCherenkov::fNPedestalEvents
protected

Definition at line 100 of file THcCherenkov.h.

Double_t THcCherenkov::fNpeSum
protected

Definition at line 62 of file THcCherenkov.h.

Double_t THcCherenkov::fNpeThresh
protected

Definition at line 92 of file THcCherenkov.h.

Int_t THcCherenkov::fNRegions
protected

Definition at line 79 of file THcCherenkov.h.

vector<Int_t> THcCherenkov::fNumAdcHits
protected

Definition at line 65 of file THcCherenkov.h.

vector<Int_t> THcCherenkov::fNumGoodAdcHits
protected

Definition at line 66 of file THcCherenkov.h.

vector<Int_t> THcCherenkov::fNumTracksFired
protected

Definition at line 68 of file THcCherenkov.h.

vector<Int_t> THcCherenkov::fNumTracksMatched
protected

Definition at line 67 of file THcCherenkov.h.

Double_t* THcCherenkov::fPed
protected

Definition at line 107 of file THcCherenkov.h.

Int_t* THcCherenkov::fPedCount
protected

Definition at line 105 of file THcCherenkov.h.

Int_t* THcCherenkov::fPedDefault
protected

Definition at line 95 of file THcCherenkov.h.

Int_t* THcCherenkov::fPedLimit
protected

Definition at line 104 of file THcCherenkov.h.

Double_t* THcCherenkov::fPedMean
protected

Definition at line 106 of file THcCherenkov.h.

Int_t* THcCherenkov::fPedSum
protected

Definition at line 102 of file THcCherenkov.h.

Int_t* THcCherenkov::fPedSum2
protected

Definition at line 103 of file THcCherenkov.h.

Bool_t* THcCherenkov::fPresentP
protected

Definition at line 49 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPed
protected

Definition at line 117 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPedRaw
protected

Definition at line 113 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPulseAmp
protected

Definition at line 119 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPulseAmpRaw
protected

Definition at line 115 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPulseInt
protected

Definition at line 118 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPulseIntRaw
protected

Definition at line 114 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPulseTime
protected

Definition at line 120 of file THcCherenkov.h.

TClonesArray* THcCherenkov::frAdcPulseTimeRaw
protected

Definition at line 116 of file THcCherenkov.h.

Double_t THcCherenkov::fRedChi2Max
protected

Definition at line 82 of file THcCherenkov.h.

Double_t THcCherenkov::fRedChi2Min
protected

Definition at line 81 of file THcCherenkov.h.

Double_t THcCherenkov::fRefTime
protected

Definition at line 61 of file THcCherenkov.h.

Int_t THcCherenkov::fRegionsValueMax
protected

Definition at line 80 of file THcCherenkov.h.

Double_t* THcCherenkov::fRegionValue
protected

Definition at line 97 of file THcCherenkov.h.

Double_t* THcCherenkov::fThresh
protected

Definition at line 108 of file THcCherenkov.h.

Int_t THcCherenkov::fTotNumAdcHits
protected

Definition at line 57 of file THcCherenkov.h.

Int_t THcCherenkov::fTotNumGoodAdcHits
protected

Definition at line 58 of file THcCherenkov.h.

Int_t THcCherenkov::fTotNumTracksFired
protected

Definition at line 60 of file THcCherenkov.h.

Int_t THcCherenkov::fTotNumTracksMatched
protected

Definition at line 59 of file THcCherenkov.h.

Double_t* THcCherenkov::fWidth
protected

Definition at line 52 of file THcCherenkov.h.

Double_t THcCherenkov::fXAtCer
protected

Definition at line 90 of file THcCherenkov.h.

Double_t THcCherenkov::fYAtCer
protected

Definition at line 91 of file THcCherenkov.h.

const Int_t THcCherenkov::MaxNumAdcPulse = 4
static

Definition at line 45 of file THcCherenkov.h.

const Int_t THcCherenkov::MaxNumCerPmt = 4
static

Definition at line 44 of file THcCherenkov.h.

Collaboration diagram for THcCherenkov:

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