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

Fly's eye array of shower blocks.

Definition at line 32 of file THcShowerArray.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="")
 
Double_t clMaxEnergyBlock (THcShowerCluster *cluster)
 
virtual Int_t CoarseProcess (TClonesArray &tracks)
 
virtual Int_t CoarseProcessHits ()
 
virtual Int_t Decode (const THaEvData &)
 
virtual void FillADC_DynamicPedestal ()
 
virtual void FillADC_SampIntDynPed ()
 
virtual void FillADC_SampleIntegral ()
 
virtual void FillADC_Standard ()
 
virtual Int_t FineProcess (TClonesArray &tracks)
 
Double_t fvXmax ()
 
Double_t fvXmin ()
 
Double_t fvYmax ()
 
Double_t fvYmin ()
 
Double_t GetClMaxEnergyBlock ()
 
Double_t GetClSize ()
 
Double_t GetClX ()
 
Double_t GetClY ()
 
Double_t GetEarray ()
 
Float_t GetShEnergy (THaTrack *)
 
virtual EStatus Init (const TDatime &run_time)
 
virtual void InitializePedestals ()
 
virtual Bool_t IsPid ()
 
Bool_t IsTracking ()
 
Int_t MatchCluster (THaTrack *, Double_t &, Double_t &)
 
virtual Int_t ProcessHits (TClonesArray *rawhits, Int_t nexthit)
 
 THcShowerArray (const char *name, const char *description, Int_t planenum, THaDetectorBase *parent=NULL)
 
virtual ~THcShowerArray ()
 

Protected Member Functions

 ClassDef (THcShowerArray, 0)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
virtual Int_t ReadDatabase (const TDatime &date)
 

Protected Attributes

TClonesArrayfADCHits
 
Int_t fADCMode
 
Double_t fAdcTdcOffset
 
Double_t fAdcThreshold
 
Double_tfAdcTimeWindowMax
 
Double_tfAdcTimeWindowMin
 
Int_tfBlock_ClusterID
 
THcShowerClusterListfClusterList
 
Double_t fClustSize
 
Int_t fDataSampHigh
 
Int_t fDataSampLow
 
Int_t fDebugAdc
 
vector< Double_tfE
 
Double_t fEarray
 
Double_tfGain
 
THcHodoscopefglHod
 
vector< Double_tfGoodAdcMult
 
vector< Double_tfGoodAdcPed
 
vector< Double_tfGoodAdcPulseAmp
 
vector< Double_tfGoodAdcPulseInt
 
vector< Double_tfGoodAdcPulseIntRaw
 
vector< Double_tfGoodAdcPulseTime
 
vector< Double_tfGoodAdcTdcDiffTime
 
Int_t fLayerNum
 
Double_t fMatchClMaxEnergyBlock
 
Double_t fMatchClX
 
Double_t fMatchClY
 
Int_t fMinPeds
 
Int_t fNclust
 
UInt_t fNColumns
 
Int_t fNPedestalEvents
 
UInt_t fNRows
 
Int_t fNtracks
 
vector< Int_tfNumGoodAdcHits
 
THaDetectorBase * fParent
 
Float_tfPed
 
Int_tfPedCount
 
Int_tfPedDefault
 
Int_tfPedLimit
 
Int_t fPedSampHigh
 
Int_t fPedSampLow
 
Int_tfPedSum
 
Int_tfPedSum2
 
TClonesArrayfrAdcErrorFlag
 
TClonesArrayfrAdcPed
 
TClonesArrayfrAdcPedRaw
 
TClonesArrayfrAdcPulseAmp
 
TClonesArrayfrAdcPulseAmpRaw
 
TClonesArrayfrAdcPulseInt
 
TClonesArrayfrAdcPulseIntRaw
 
TClonesArrayfrAdcPulseTime
 
TClonesArrayfrAdcPulseTimeRaw
 
Float_tfSig
 
Double_t fStatCerMin
 
Double_t fStatMaxChi2
 
vector< Int_tfStatNumHit
 
vector< Int_tfStatNumTrk
 
Double_t fStatSlop
 
Float_tfThresh
 
Int_t fTotNumAdcHits
 
Int_t fTotNumGoodAdcHits
 
Int_t fTotStatNumHit
 
Int_t fTotStatNumTrk
 
Int_t fUsingFADC
 
Double_t fXFront
 
Double_t ** fXPos
 
Double_t fXStep
 
Double_t fYFront
 
Double_t ** fYPos
 
Double_t fYStep
 
Double_t fZFront
 
Double_t ** fZPos
 
Double_t fZSize
 

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 <THcShowerArray.h>

Inheritance diagram for THcShowerArray:

Constructor & Destructor Documentation

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

Definition at line 61 of file THcShowerArray.cxx.

Member Function Documentation

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

Definition at line 1071 of file THcShowerArray.cxx.

Int_t THcShowerArray::AccumulateStat ( TClonesArray tracks)

Definition at line 1242 of file THcShowerArray.cxx.

void THcShowerArray::CalculatePedestals ( )
virtual

Definition at line 1156 of file THcShowerArray.cxx.

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

Definition at line 480 of file THcShowerArray.cxx.

Double_t THcShowerArray::clMaxEnergyBlock ( THcShowerCluster cluster)

Definition at line 1229 of file THcShowerArray.cxx.

Int_t THcShowerArray::CoarseProcess ( TClonesArray tracks)
virtual

Definition at line 535 of file THcShowerArray.cxx.

Int_t THcShowerArray::CoarseProcessHits ( )
virtual

Definition at line 809 of file THcShowerArray.cxx.

Int_t THcShowerArray::Decode ( const THaEvData evdata)
virtual

Definition at line 527 of file THcShowerArray.cxx.

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

Definition at line 414 of file THcShowerArray.cxx.

void THcShowerArray::FillADC_DynamicPedestal ( )
virtual

Definition at line 876 of file THcShowerArray.cxx.

void THcShowerArray::FillADC_SampIntDynPed ( )
virtual

Definition at line 854 of file THcShowerArray.cxx.

void THcShowerArray::FillADC_SampleIntegral ( )
virtual

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

Definition at line 863 of file THcShowerArray.cxx.

void THcShowerArray::FillADC_Standard ( )
virtual

Definition at line 872 of file THcShowerArray.cxx.

Int_t THcShowerArray::FineProcess ( TClonesArray tracks)
virtual

Definition at line 803 of file THcShowerArray.cxx.

Double_t THcShowerArray::fvXmax ( )

Definition at line 1222 of file THcShowerArray.cxx.

Double_t THcShowerArray::fvXmin ( )

Definition at line 1214 of file THcShowerArray.cxx.

Double_t THcShowerArray::fvYmax ( )

Definition at line 1218 of file THcShowerArray.cxx.

Double_t THcShowerArray::fvYmin ( )

Definition at line 1226 of file THcShowerArray.cxx.

Double_t THcShowerArray::GetClMaxEnergyBlock ( )
inline

Definition at line 65 of file THcShowerArray.h.

Double_t THcShowerArray::GetClSize ( )
inline

Definition at line 68 of file THcShowerArray.h.

Double_t THcShowerArray::GetClX ( )
inline

Definition at line 71 of file THcShowerArray.h.

Double_t THcShowerArray::GetClY ( )
inline

Definition at line 74 of file THcShowerArray.h.

Double_t THcShowerArray::GetEarray ( )
inline

Definition at line 82 of file THcShowerArray.h.

Float_t THcShowerArray::GetShEnergy ( THaTrack *  Track)

Definition at line 756 of file THcShowerArray.cxx.

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

Definition at line 112 of file THcShowerArray.cxx.

void THcShowerArray::InitializePedestals ( )
virtual

Definition at line 1191 of file THcShowerArray.cxx.

virtual Bool_t THcShowerArray::IsPid ( )
inlinevirtual

Definition at line 46 of file THcShowerArray.h.

Bool_t THcShowerArray::IsTracking ( )
inline

Definition at line 45 of file THcShowerArray.h.

Int_t THcShowerArray::MatchCluster ( THaTrack *  Track,
Double_t XTrFront,
Double_t YTrFront 
)

Definition at line 640 of file THcShowerArray.cxx.

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

Definition at line 916 of file THcShowerArray.cxx.

Int_t THcShowerArray::ReadDatabase ( const TDatime date)
protectedvirtual

Definition at line 138 of file THcShowerArray.cxx.

Member Data Documentation

TClonesArray* THcShowerArray::fADCHits
protected

Definition at line 124 of file THcShowerArray.h.

Int_t THcShowerArray::fADCMode
protected

Definition at line 141 of file THcShowerArray.h.

Double_t THcShowerArray::fAdcTdcOffset
protected

Definition at line 153 of file THcShowerArray.h.

Double_t THcShowerArray::fAdcThreshold
protected

Definition at line 152 of file THcShowerArray.h.

Double_t* THcShowerArray::fAdcTimeWindowMax
protected

Definition at line 150 of file THcShowerArray.h.

Double_t* THcShowerArray::fAdcTimeWindowMin
protected

Definition at line 149 of file THcShowerArray.h.

Int_t* THcShowerArray::fBlock_ClusterID
protected

Definition at line 122 of file THcShowerArray.h.

THcShowerClusterList* THcShowerArray::fClusterList
protected

Definition at line 190 of file THcShowerArray.h.

Double_t THcShowerArray::fClustSize
protected

Definition at line 188 of file THcShowerArray.h.

Int_t THcShowerArray::fDataSampHigh
protected

Definition at line 159 of file THcShowerArray.h.

Int_t THcShowerArray::fDataSampLow
protected

Definition at line 158 of file THcShowerArray.h.

Int_t THcShowerArray::fDebugAdc
protected

Definition at line 155 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fE
protected

Definition at line 120 of file THcShowerArray.h.

Double_t THcShowerArray::fEarray
protected

Definition at line 123 of file THcShowerArray.h.

Double_t* THcShowerArray::fGain
protected

Definition at line 179 of file THcShowerArray.h.

THcHodoscope* THcShowerArray::fglHod
protected

Definition at line 215 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcMult
protected

Definition at line 114 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcPed
protected

Definition at line 113 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcPulseAmp
protected

Definition at line 116 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcPulseInt
protected

Definition at line 115 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcPulseIntRaw
protected

Definition at line 111 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcPulseTime
protected

Definition at line 117 of file THcShowerArray.h.

vector<Double_t> THcShowerArray::fGoodAdcTdcDiffTime
protected

Definition at line 118 of file THcShowerArray.h.

Int_t THcShowerArray::fLayerNum
protected

Definition at line 161 of file THcShowerArray.h.

Double_t THcShowerArray::fMatchClMaxEnergyBlock
protected

Definition at line 187 of file THcShowerArray.h.

Double_t THcShowerArray::fMatchClX
protected

Definition at line 185 of file THcShowerArray.h.

Double_t THcShowerArray::fMatchClY
protected

Definition at line 186 of file THcShowerArray.h.

Int_t THcShowerArray::fMinPeds
protected

Definition at line 166 of file THcShowerArray.h.

Int_t THcShowerArray::fNclust
protected

Definition at line 181 of file THcShowerArray.h.

UInt_t THcShowerArray::fNColumns
protected

Definition at line 129 of file THcShowerArray.h.

Int_t THcShowerArray::fNPedestalEvents
protected

Definition at line 165 of file THcShowerArray.h.

UInt_t THcShowerArray::fNRows
protected

Definition at line 128 of file THcShowerArray.h.

Int_t THcShowerArray::fNtracks
protected

Definition at line 182 of file THcShowerArray.h.

vector<Int_t> THcShowerArray::fNumGoodAdcHits
protected

Definition at line 110 of file THcShowerArray.h.

THaDetectorBase* THcShowerArray::fParent
protected

Definition at line 217 of file THcShowerArray.h.

Float_t* THcShowerArray::fPed
protected

Definition at line 175 of file THcShowerArray.h.

Int_t* THcShowerArray::fPedCount
protected

Definition at line 173 of file THcShowerArray.h.

Int_t* THcShowerArray::fPedDefault
protected

Definition at line 151 of file THcShowerArray.h.

Int_t* THcShowerArray::fPedLimit
protected

Definition at line 172 of file THcShowerArray.h.

Int_t THcShowerArray::fPedSampHigh
protected

Definition at line 157 of file THcShowerArray.h.

Int_t THcShowerArray::fPedSampLow
protected

Definition at line 156 of file THcShowerArray.h.

Int_t* THcShowerArray::fPedSum
protected

Definition at line 170 of file THcShowerArray.h.

Int_t* THcShowerArray::fPedSum2
protected

Definition at line 171 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcErrorFlag
protected

Definition at line 193 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPed
protected

Definition at line 198 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPedRaw
protected

Definition at line 192 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPulseAmp
protected

Definition at line 200 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPulseAmpRaw
protected

Definition at line 195 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPulseInt
protected

Definition at line 199 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPulseIntRaw
protected

Definition at line 194 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPulseTime
protected

Definition at line 201 of file THcShowerArray.h.

TClonesArray* THcShowerArray::frAdcPulseTimeRaw
protected

Definition at line 196 of file THcShowerArray.h.

Float_t* THcShowerArray::fSig
protected

Definition at line 176 of file THcShowerArray.h.

Double_t THcShowerArray::fStatCerMin
protected

Definition at line 205 of file THcShowerArray.h.

Double_t THcShowerArray::fStatMaxChi2
protected

Definition at line 207 of file THcShowerArray.h.

vector<Int_t> THcShowerArray::fStatNumHit
protected

Definition at line 209 of file THcShowerArray.h.

vector<Int_t> THcShowerArray::fStatNumTrk
protected

Definition at line 208 of file THcShowerArray.h.

Double_t THcShowerArray::fStatSlop
protected

Definition at line 206 of file THcShowerArray.h.

Float_t* THcShowerArray::fThresh
protected

Definition at line 177 of file THcShowerArray.h.

Int_t THcShowerArray::fTotNumAdcHits
protected

Definition at line 107 of file THcShowerArray.h.

Int_t THcShowerArray::fTotNumGoodAdcHits
protected

Definition at line 108 of file THcShowerArray.h.

Int_t THcShowerArray::fTotStatNumHit
protected

Definition at line 211 of file THcShowerArray.h.

Int_t THcShowerArray::fTotStatNumTrk
protected

Definition at line 210 of file THcShowerArray.h.

Int_t THcShowerArray::fUsingFADC
protected

Definition at line 140 of file THcShowerArray.h.

Double_t THcShowerArray::fXFront
protected

Definition at line 130 of file THcShowerArray.h.

Double_t** THcShowerArray::fXPos
protected

Definition at line 136 of file THcShowerArray.h.

Double_t THcShowerArray::fXStep
protected

Definition at line 133 of file THcShowerArray.h.

Double_t THcShowerArray::fYFront
protected

Definition at line 131 of file THcShowerArray.h.

Double_t** THcShowerArray::fYPos
protected

Definition at line 137 of file THcShowerArray.h.

Double_t THcShowerArray::fYStep
protected

Definition at line 134 of file THcShowerArray.h.

Double_t THcShowerArray::fZFront
protected

Definition at line 132 of file THcShowerArray.h.

Double_t** THcShowerArray::fZPos
protected

Definition at line 138 of file THcShowerArray.h.

Double_t THcShowerArray::fZSize
protected

Definition at line 135 of file THcShowerArray.h.

const Int_t THcShowerArray::kADCDynamicPedestal =1
staticprotected

Definition at line 146 of file THcShowerArray.h.

const Int_t THcShowerArray::kADCSampIntDynPed =3
staticprotected

Definition at line 148 of file THcShowerArray.h.

const Int_t THcShowerArray::kADCSampleIntegral =2
staticprotected

Definition at line 147 of file THcShowerArray.h.

const Int_t THcShowerArray::kADCStandard =0
staticprotected

Definition at line 145 of file THcShowerArray.h.

Collaboration diagram for THcShowerArray:

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