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

One plane of shower blocks with side readout.

Definition at line 29 of file THcShowerPlane.h.

Public Member Functions

virtual Int_t AccumulatePedestals (TClonesArray *rawhits, Int_t nexthit)
 
Int_t AccumulateStat (TClonesArray &tracks)
 
virtual void CalculatePedestals ()
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseProcess (TClonesArray &tracks)
 
virtual Int_t CoarseProcessHits ()
 
virtual Int_t Decode (const THaEvData &)
 
virtual Int_t FineProcess (TClonesArray &tracks)
 
Double_t GetAneg (Int_t i)
 
Double_t GetAnegP (Int_t i)
 
Double_t GetApos (Int_t i)
 
Double_t GetAposP (Int_t i)
 
Double_t GetEmean (Int_t i)
 
Double_t GetEneg (Int_t i)
 
Double_t GetEplane ()
 
Double_t GetEplane_neg ()
 
Double_t GetEplane_pos ()
 
Double_t GetEpos (Int_t i)
 
Double_t GetNegPed (Int_t i)
 
Double_t GetNegThr (Int_t i)
 
TVector3 GetOrigin ()
 
Double_t GetPosPed (Int_t i)
 
Double_t GetPosThr (Int_t i)
 
virtual EStatus Init (const TDatime &run_time)
 
virtual Bool_t IsPid ()
 
Bool_t IsTracking ()
 
virtual Int_t ProcessHits (TClonesArray *rawhits, Int_t nexthit)
 
 THcShowerPlane (const char *name, const char *description, Int_t planenum, THaDetectorBase *parent=NULL)
 
virtual ~THcShowerPlane ()
 

Protected Member Functions

 ClassDef (THcShowerPlane, 0)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
virtual void FillADC_DynamicPedestal ()
 
virtual void FillADC_SampIntDynPed ()
 
virtual void FillADC_SampleIntegral ()
 
virtual void FillADC_Standard ()
 
virtual void InitializePedestals ()
 
virtual Int_t ReadDatabase (const TDatime &date)
 

Protected Attributes

Double_t fAdcNegThreshold
 
Double_t fAdcPosThreshold
 
Double_t fAdcTdcOffset
 
THcCherenkovfCherenkov
 
Int_t fDataSampHigh
 
Int_t fDataSampLow
 
Int_t fDebugAdc
 
vector< Double_tfEmean
 
vector< Double_tfEneg
 
Double_t fEplane
 
Double_t fEplane_neg
 
Double_t fEplane_pos
 
vector< Double_tfEpos
 
THcHodoscopefglHod
 
vector< Double_tfGoodNegAdcMult
 
vector< Double_tfGoodNegAdcPed
 
vector< Double_tfGoodNegAdcPulseAmp
 
vector< Double_tfGoodNegAdcPulseInt
 
vector< Double_tfGoodNegAdcPulseIntRaw
 
vector< Double_tfGoodNegAdcPulseTime
 
vector< Double_tfGoodNegAdcTdcDiffTime
 
vector< Double_tfGoodPosAdcMult
 
vector< Double_tfGoodPosAdcPed
 
vector< Double_tfGoodPosAdcPulseAmp
 
vector< Double_tfGoodPosAdcPulseInt
 
vector< Double_tfGoodPosAdcPulseIntRaw
 
vector< Double_tfGoodPosAdcPulseTime
 
vector< Double_tfGoodPosAdcTdcDiffTime
 
Int_t fLayerNum
 
Int_t fMinPeds
 
TClonesArrayfNegADCHits
 
Float_tfNegPed
 
Int_tfNegPedCount
 
Int_tfNegPedLimit
 
Int_tfNegPedSum
 
Int_tfNegPedSum2
 
Float_tfNegSig
 
Float_tfNegThresh
 
Int_t fNPedestalEvents
 
vector< Int_tfNumGoodNegAdcHits
 
vector< Int_tfNumGoodPosAdcHits
 
THaDetectorBase * fParent
 
Int_t fPedSampHigh
 
Int_t fPedSampLow
 
TClonesArrayfPosADCHits
 
Float_tfPosPed
 
Int_tfPosPedCount
 
Int_tfPosPedLimit
 
Int_tfPosPedSum
 
Int_tfPosPedSum2
 
Float_tfPosSig
 
Float_tfPosThresh
 
TClonesArrayfrNegAdcErrorFlag
 
TClonesArrayfrNegAdcPed
 
TClonesArrayfrNegAdcPedRaw
 
TClonesArrayfrNegAdcPulseAmp
 
TClonesArrayfrNegAdcPulseAmpRaw
 
TClonesArrayfrNegAdcPulseInt
 
TClonesArrayfrNegAdcPulseIntRaw
 
TClonesArrayfrNegAdcPulseTime
 
TClonesArrayfrNegAdcPulseTimeRaw
 
TClonesArrayfrNegAdcThreshold
 
TClonesArrayfrPosAdcErrorFlag
 
TClonesArrayfrPosAdcPed
 
TClonesArrayfrPosAdcPedRaw
 
TClonesArrayfrPosAdcPulseAmp
 
TClonesArrayfrPosAdcPulseAmpRaw
 
TClonesArrayfrPosAdcPulseInt
 
TClonesArrayfrPosAdcPulseIntRaw
 
TClonesArrayfrPosAdcPulseTime
 
TClonesArrayfrPosAdcPulseTimeRaw
 
TClonesArrayfrPosAdcThreshold
 
Double_t fStatCerMin
 
Double_t fStatMaxChi2
 
vector< Int_tfStatNumHit
 
vector< Int_tfStatNumTrk
 
Double_t fStatSlop
 
Int_t fTotNumAdcHits
 
Int_t fTotNumGoodAdcHits
 
Int_t fTotNumGoodNegAdcHits
 
Int_t fTotNumGoodPosAdcHits
 
Int_t fTotNumNegAdcHits
 
Int_t fTotNumPosAdcHits
 
Int_t fTotStatNumHit
 
Int_t fTotStatNumTrk
 
Int_t fUsingFADC
 

Static Protected Attributes

static const Int_t kADCDynamicPedestal =1
 
static const Int_t kADCSampIntDynPed =3
 
static const Int_t kADCSampleIntegral =2
 
static const Int_t kADCStandard =0
 

#include <THcShowerPlane.h>

Inheritance diagram for THcShowerPlane:

Constructor & Destructor Documentation

THcShowerPlane::THcShowerPlane ( const char *  name,
const char *  description,
Int_t  planenum,
THaDetectorBase *  parent = NULL 
)
THcShowerPlane::~THcShowerPlane ( )
virtual

Definition at line 78 of file THcShowerPlane.cxx.

Member Function Documentation

Int_t THcShowerPlane::AccumulatePedestals ( TClonesArray rawhits,
Int_t  nexthit 
)
virtual

Definition at line 851 of file THcShowerPlane.cxx.

Int_t THcShowerPlane::AccumulateStat ( TClonesArray tracks)

Definition at line 1000 of file THcShowerPlane.cxx.

void THcShowerPlane::CalculatePedestals ( )
virtual

Definition at line 927 of file THcShowerPlane.cxx.

THcShowerPlane::ClassDef ( THcShowerPlane  ,
 
)
protected
void THcShowerPlane::Clear ( Option_t opt = "")
virtual

Definition at line 412 of file THcShowerPlane.cxx.

Int_t THcShowerPlane::CoarseProcess ( TClonesArray tracks)
virtual

Definition at line 510 of file THcShowerPlane.cxx.

Int_t THcShowerPlane::CoarseProcessHits ( )
virtual

Definition at line 679 of file THcShowerPlane.cxx.

Int_t THcShowerPlane::Decode ( const THaEvData evdata)
virtual

Definition at line 492 of file THcShowerPlane.cxx.

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

Definition at line 318 of file THcShowerPlane.cxx.

void THcShowerPlane::FillADC_DynamicPedestal ( )
protectedvirtual

Definition at line 773 of file THcShowerPlane.cxx.

void THcShowerPlane::FillADC_SampIntDynPed ( )
protectedvirtual

Definition at line 728 of file THcShowerPlane.cxx.

void THcShowerPlane::FillADC_SampleIntegral ( )
protectedvirtual

adc_pos_pedsub = hit->GetRawAdcHitPos().GetSampleIntRaw() - fPosPed[hit->fCounter -1];

Definition at line 737 of file THcShowerPlane.cxx.

void THcShowerPlane::FillADC_Standard ( )
protectedvirtual

Definition at line 746 of file THcShowerPlane.cxx.

Int_t THcShowerPlane::FineProcess ( TClonesArray tracks)
virtual

Definition at line 520 of file THcShowerPlane.cxx.

Double_t THcShowerPlane::GetAneg ( Int_t  i)
inline

Definition at line 94 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetAnegP ( Int_t  i)
inline

Definition at line 86 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetApos ( Int_t  i)
inline

Definition at line 90 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetAposP ( Int_t  i)
inline

Definition at line 82 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetEmean ( Int_t  i)
inline

Definition at line 70 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetEneg ( Int_t  i)
inline

Definition at line 78 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetEplane ( )
inline

Definition at line 58 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetEplane_neg ( )
inline

Definition at line 66 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetEplane_pos ( )
inline

Definition at line 62 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetEpos ( Int_t  i)
inline

Definition at line 74 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetNegPed ( Int_t  i)
inline

Definition at line 110 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetNegThr ( Int_t  i)
inline

Definition at line 102 of file THcShowerPlane.h.

TVector3 THcShowerPlane::GetOrigin ( )
inline

Definition at line 54 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetPosPed ( Int_t  i)
inline

Definition at line 106 of file THcShowerPlane.h.

Double_t THcShowerPlane::GetPosThr ( Int_t  i)
inline

Definition at line 98 of file THcShowerPlane.h.

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

Definition at line 132 of file THcShowerPlane.cxx.

void THcShowerPlane::InitializePedestals ( )
protectedvirtual

Definition at line 973 of file THcShowerPlane.cxx.

virtual Bool_t THcShowerPlane::IsPid ( )
inlinevirtual

Definition at line 43 of file THcShowerPlane.h.

Bool_t THcShowerPlane::IsTracking ( )
inline

Definition at line 42 of file THcShowerPlane.h.

Int_t THcShowerPlane::ProcessHits ( TClonesArray rawhits,
Int_t  nexthit 
)
virtual

Definition at line 526 of file THcShowerPlane.cxx.

Int_t THcShowerPlane::ReadDatabase ( const TDatime date)
protectedvirtual

Definition at line 171 of file THcShowerPlane.cxx.

Member Data Documentation

Double_t THcShowerPlane::fAdcNegThreshold
protected

Definition at line 136 of file THcShowerPlane.h.

Double_t THcShowerPlane::fAdcPosThreshold
protected

Definition at line 137 of file THcShowerPlane.h.

Double_t THcShowerPlane::fAdcTdcOffset
protected

Definition at line 138 of file THcShowerPlane.h.

THcCherenkov* THcShowerPlane::fCherenkov
protected

Definition at line 119 of file THcShowerPlane.h.

Int_t THcShowerPlane::fDataSampHigh
protected

Definition at line 135 of file THcShowerPlane.h.

Int_t THcShowerPlane::fDataSampLow
protected

Definition at line 134 of file THcShowerPlane.h.

Int_t THcShowerPlane::fDebugAdc
protected

Definition at line 131 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fEmean
protected

Definition at line 174 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fEneg
protected

Definition at line 173 of file THcShowerPlane.h.

Double_t THcShowerPlane::fEplane
protected

Definition at line 179 of file THcShowerPlane.h.

Double_t THcShowerPlane::fEplane_neg
protected

Definition at line 178 of file THcShowerPlane.h.

Double_t THcShowerPlane::fEplane_pos
protected

Definition at line 177 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fEpos
protected

Definition at line 172 of file THcShowerPlane.h.

THcHodoscope* THcShowerPlane::fglHod
protected

Definition at line 247 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcMult
protected

Definition at line 169 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcPed
protected

Definition at line 159 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcPulseAmp
protected

Definition at line 161 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcPulseInt
protected

Definition at line 160 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcPulseIntRaw
protected

Definition at line 166 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcPulseTime
protected

Definition at line 162 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodNegAdcTdcDiffTime
protected

Definition at line 163 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcMult
protected

Definition at line 168 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcPed
protected

Definition at line 153 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcPulseAmp
protected

Definition at line 155 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcPulseInt
protected

Definition at line 154 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcPulseIntRaw
protected

Definition at line 165 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcPulseTime
protected

Definition at line 156 of file THcShowerPlane.h.

vector<Double_t> THcShowerPlane::fGoodPosAdcTdcDiffTime
protected

Definition at line 157 of file THcShowerPlane.h.

Int_t THcShowerPlane::fLayerNum
protected

Definition at line 185 of file THcShowerPlane.h.

Int_t THcShowerPlane::fMinPeds
protected

Definition at line 188 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::fNegADCHits
protected

Definition at line 183 of file THcShowerPlane.h.

Float_t* THcShowerPlane::fNegPed
protected

Definition at line 201 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fNegPedCount
protected

Definition at line 196 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fNegPedLimit
protected

Definition at line 195 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fNegPedSum
protected

Definition at line 193 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fNegPedSum2
protected

Definition at line 194 of file THcShowerPlane.h.

Float_t* THcShowerPlane::fNegSig
protected

Definition at line 202 of file THcShowerPlane.h.

Float_t* THcShowerPlane::fNegThresh
protected

Definition at line 203 of file THcShowerPlane.h.

Int_t THcShowerPlane::fNPedestalEvents
protected

Definition at line 187 of file THcShowerPlane.h.

vector<Int_t> THcShowerPlane::fNumGoodNegAdcHits
protected

Definition at line 151 of file THcShowerPlane.h.

vector<Int_t> THcShowerPlane::fNumGoodPosAdcHits
protected

Definition at line 150 of file THcShowerPlane.h.

THaDetectorBase* THcShowerPlane::fParent
protected

Definition at line 118 of file THcShowerPlane.h.

Int_t THcShowerPlane::fPedSampHigh
protected

Definition at line 133 of file THcShowerPlane.h.

Int_t THcShowerPlane::fPedSampLow
protected

Definition at line 132 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::fPosADCHits
protected

Definition at line 182 of file THcShowerPlane.h.

Float_t* THcShowerPlane::fPosPed
protected

Definition at line 198 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fPosPedCount
protected

Definition at line 192 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fPosPedLimit
protected

Definition at line 191 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fPosPedSum
protected

Definition at line 189 of file THcShowerPlane.h.

Int_t* THcShowerPlane::fPosPedSum2
protected

Definition at line 190 of file THcShowerPlane.h.

Float_t* THcShowerPlane::fPosSig
protected

Definition at line 199 of file THcShowerPlane.h.

Float_t* THcShowerPlane::fPosThresh
protected

Definition at line 200 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcErrorFlag
protected

Definition at line 217 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPed
protected

Definition at line 224 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPedRaw
protected

Definition at line 218 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPulseAmp
protected

Definition at line 226 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPulseAmpRaw
protected

Definition at line 221 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPulseInt
protected

Definition at line 225 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPulseIntRaw
protected

Definition at line 220 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPulseTime
protected

Definition at line 227 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcPulseTimeRaw
protected

Definition at line 222 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frNegAdcThreshold
protected

Definition at line 219 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcErrorFlag
protected

Definition at line 205 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPed
protected

Definition at line 212 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPedRaw
protected

Definition at line 206 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPulseAmp
protected

Definition at line 214 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPulseAmpRaw
protected

Definition at line 209 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPulseInt
protected

Definition at line 213 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPulseIntRaw
protected

Definition at line 208 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPulseTime
protected

Definition at line 215 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcPulseTimeRaw
protected

Definition at line 210 of file THcShowerPlane.h.

TClonesArray* THcShowerPlane::frPosAdcThreshold
protected

Definition at line 207 of file THcShowerPlane.h.

Double_t THcShowerPlane::fStatCerMin
protected

Definition at line 239 of file THcShowerPlane.h.

Double_t THcShowerPlane::fStatMaxChi2
protected

Definition at line 241 of file THcShowerPlane.h.

vector<Int_t> THcShowerPlane::fStatNumHit
protected

Definition at line 243 of file THcShowerPlane.h.

vector<Int_t> THcShowerPlane::fStatNumTrk
protected

Definition at line 242 of file THcShowerPlane.h.

Double_t THcShowerPlane::fStatSlop
protected

Definition at line 240 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotNumAdcHits
protected

Definition at line 143 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotNumGoodAdcHits
protected

Definition at line 147 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotNumGoodNegAdcHits
protected

Definition at line 146 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotNumGoodPosAdcHits
protected

Definition at line 145 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotNumNegAdcHits
protected

Definition at line 142 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotNumPosAdcHits
protected

Definition at line 141 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotStatNumHit
protected

Definition at line 245 of file THcShowerPlane.h.

Int_t THcShowerPlane::fTotStatNumTrk
protected

Definition at line 244 of file THcShowerPlane.h.

Int_t THcShowerPlane::fUsingFADC
protected

Definition at line 122 of file THcShowerPlane.h.

const Int_t THcShowerPlane::kADCDynamicPedestal =1
staticprotected

Definition at line 127 of file THcShowerPlane.h.

const Int_t THcShowerPlane::kADCSampIntDynPed =3
staticprotected

Definition at line 129 of file THcShowerPlane.h.

const Int_t THcShowerPlane::kADCSampleIntegral =2
staticprotected

Definition at line 128 of file THcShowerPlane.h.

const Int_t THcShowerPlane::kADCStandard =0
staticprotected

Definition at line 126 of file THcShowerPlane.h.

Collaboration diagram for THcShowerPlane:

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