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

Generic segmented shower detector.

Definition at line 18 of file THcShower.h.

Public Member Functions

virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseProcess (TClonesArray &tracks)
 
virtual Int_t Decode (const THaEvData &)
 
virtual Int_t FineProcess (TClonesArray &tracks)
 
Int_t GetADCMode ()
 
Double_t GetAdcTdcOffset ()
 
Double_t GetBlockThick (Int_t NLayer)
 
Double_t GetGain (Int_t NBlock, Int_t NLayer, Int_t Side)
 
Int_t GetMinPeds ()
 
Int_t GetNBlocks (Int_t NLayer) const
 
Int_t GetNBlocks (Int_t layer)
 
Double_tGetNegAdcTimeWindowMax ()
 
Double_tGetNegAdcTimeWindowMin ()
 
Int_t GetNHits () const
 
Int_t GetNLayers ()
 
Double_t GetNormETot ()
 
Double_t GetPedDefault (Int_t NBlock, Int_t NLayer, Int_t Side)
 
Int_t GetPedLimit (Int_t NBlock, Int_t NLayer, Int_t Side)
 
Double_tGetPosAdcTimeWindowMax ()
 
Double_tGetPosAdcTimeWindowMin ()
 
Float_t GetShEnergy (THaTrack *, UInt_t NLayers, UInt_t L0=0)
 
Double_t GetWindowMax (Int_t NBlock, Int_t NLayer, Int_t Side)
 
Double_t GetWindowMin (Int_t NBlock, Int_t NLayer, Int_t Side)
 
Double_t GetXPos (Int_t NLayer, Int_t NRow) const
 
Double_t GetYPos (Int_t NLayer, Int_t Side) const
 
Double_t GetZPos (Int_t NLayer) const
 
virtual EStatus Init (const TDatime &run_time)
 
 THcShower (const char *name, const char *description="", THaApparatus *a=NULL)
 
 THcShower ()
 
Float_t Ycor (Double_t y)
 
Float_t Ycor (Double_t y, Int_t side)
 
Float_t YcorPr (Double_t y, Int_t side)
 
virtual ~THcShower ()
 
- 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 ()
 

Protected Member Functions

void ClearEvent ()
 
void ClusterHits (THcShowerHitSet &HitSet, THcShowerClusterList *ClusterList)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
void DeleteArrays ()
 
virtual Int_t End (THaRunBase *r=0)
 
Int_t MatchCluster (THaTrack *, Double_t &, Double_t &)
 
virtual Int_t ReadDatabase (const TDatime &date)
 
void Setup (const char *name, const char *description)
 
- Protected Member Functions inherited from THcHitList
 ClassDef (THcHitList, 0)
 

Protected Attributes

Double_tBlockThick
 
Double_t fAcor
 
Int_t fADCMode
 
Double_t fAdcTdcOffset
 
Int_t fAnalyzePedestals
 
THcShowerArrayfArray
 
Double_t fBcor
 
Double_t fCcor [2]
 
THcShowerClusterListfClusterList
 
Int_t fdbg_clusters_cal
 
Int_t fdbg_decoded_cal
 
Int_t fdbg_init_cal
 
Int_t fdbg_raw_cal
 
Int_t fdbg_sparsified_cal
 
Int_t fdbg_tracks_cal
 
Double_t fDcor [2]
 
Double_t fEPRtrack
 
Double_t fEPRtrackNorm
 
Double_t fEtot
 
Double_t fEtotNorm
 
Double_t fETotTrackNorm
 
Double_t fEtrack
 
Double_t fEtrackNorm
 
Int_t fEvent
 
UInt_t fHasArray
 
char ** fLayerNames
 
Double_tfLayerZPos
 
Int_t fNblockHighEnergy
 
UInt_tfNBlocks
 
Int_t fNclust
 
Int_t fNclustArrayTrack
 
Int_t fNclustTrack
 
Double_tfNegAdcTimeWindowMax
 
Double_tfNegAdcTimeWindowMin
 
UInt_t fNegCols
 
Double_tfNegGain
 
Int_t fNhits
 
UInt_t fNLayers
 
UInt_t fNTotBlocks
 
UInt_t fNTotLayers
 
Int_t fNtracks
 
Int_tfPedNegDefault
 
Int_tfPedPosDefault
 
THcShowerPlane ** fPlanes
 
Double_tfPosAdcTimeWindowMax
 
Double_tfPosAdcTimeWindowMin
 
Double_tfPosGain
 
Bool_tfPresentP
 
Int_t fShMinPeds
 
Int_tfShNegPedLimit
 
Int_tfShPosPedLimit
 
Int_t fSizeClustArray
 
Double_t fSlop
 
Double_t fvDelta
 
Int_t fvTest
 
Double_t fvXmax
 
Double_t fvXmin
 
Double_t fvYmax
 
Double_t fvYmin
 
Double_t fXclustArrayTrack
 
Double_t fXclustTrack
 
Double_t ** fXPos
 
Double_t fXTrack
 
Double_t fXTrackArray
 
Double_t fYclustArrayTrack
 
Double_t fYclustTrack
 
Double_tfYPos
 
Double_t fYTrack
 
Double_t fYTrackArray
 
Double_tfZPos
 
- 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
 

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
 

Friends

class THcShowerArray
 
class THcShowerPlane
 

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

Inheritance diagram for THcShower:

Constructor & Destructor Documentation

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

Definition at line 34 of file THcShower.cxx.

THcShower::~THcShower ( )
virtual

Definition at line 591 of file THcShower.cxx.

THcShower::THcShower ( )

Definition at line 53 of file THcShower.cxx.

Member Function Documentation

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

Definition at line 646 of file THcShower.cxx.

void THcShower::ClearEvent ( )
protected
void THcShower::ClusterHits ( THcShowerHitSet HitSet,
THcShowerClusterList ClusterList 
)
protected

Definition at line 871 of file THcShower.cxx.

Int_t THcShower::CoarseProcess ( TClonesArray tracks)
virtual

Definition at line 740 of file THcShower.cxx.

Int_t THcShower::Decode ( const THaEvData evdata)
virtual

Definition at line 692 of file THcShower.cxx.

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

Definition at line 543 of file THcShower.cxx.

void THcShower::DeleteArrays ( )
protected

Definition at line 616 of file THcShower.cxx.

Int_t THcShower::End ( THaRunBase *  r = 0)
protectedvirtual

Definition at line 1299 of file THcShower.cxx.

Int_t THcShower::FineProcess ( TClonesArray tracks)
virtual

Definition at line 1216 of file THcShower.cxx.

Int_t THcShower::GetADCMode ( )
inline

Definition at line 107 of file THcShower.h.

Double_t THcShower::GetAdcTdcOffset ( )
inline

Definition at line 122 of file THcShower.h.

Double_t THcShower::GetBlockThick ( Int_t  NLayer)
inline

Definition at line 50 of file THcShower.h.

Double_t THcShower::GetGain ( Int_t  NBlock,
Int_t  NLayer,
Int_t  Side 
)
inline

Definition at line 63 of file THcShower.h.

Int_t THcShower::GetMinPeds ( )
inline

Definition at line 125 of file THcShower.h.

Int_t THcShower::GetNBlocks ( Int_t  NLayer) const
inline

Definition at line 34 of file THcShower.h.

Int_t THcShower::GetNBlocks ( Int_t  layer)
inline

Definition at line 132 of file THcShower.h.

Double_t* THcShower::GetNegAdcTimeWindowMax ( )
inline

Definition at line 119 of file THcShower.h.

Double_t* THcShower::GetNegAdcTimeWindowMin ( )
inline

Definition at line 113 of file THcShower.h.

Int_t THcShower::GetNHits ( ) const
inline

Definition at line 32 of file THcShower.h.

Int_t THcShower::GetNLayers ( )
inline

Definition at line 129 of file THcShower.h.

Double_t THcShower::GetNormETot ( )

Definition at line 1295 of file THcShower.cxx.

Double_t THcShower::GetPedDefault ( Int_t  NBlock,
Int_t  NLayer,
Int_t  Side 
)
inline

Definition at line 74 of file THcShower.h.

Int_t THcShower::GetPedLimit ( Int_t  NBlock,
Int_t  NLayer,
Int_t  Side 
)
inline

Definition at line 52 of file THcShower.h.

Double_t* THcShower::GetPosAdcTimeWindowMax ( )
inline

Definition at line 116 of file THcShower.h.

Double_t* THcShower::GetPosAdcTimeWindowMin ( )
inline

Definition at line 110 of file THcShower.h.

Float_t THcShower::GetShEnergy ( THaTrack *  Track,
UInt_t  NLayers,
UInt_t  L0 = 0 
)

Definition at line 1133 of file THcShower.cxx.

Double_t THcShower::GetWindowMax ( Int_t  NBlock,
Int_t  NLayer,
Int_t  Side 
)
inline

Definition at line 96 of file THcShower.h.

Double_t THcShower::GetWindowMin ( Int_t  NBlock,
Int_t  NLayer,
Int_t  Side 
)
inline

Definition at line 85 of file THcShower.h.

Double_t THcShower::GetXPos ( Int_t  NLayer,
Int_t  NRow 
) const
inline

Definition at line 36 of file THcShower.h.

Double_t THcShower::GetYPos ( Int_t  NLayer,
Int_t  Side 
) const
inline

Definition at line 40 of file THcShower.h.

Double_t THcShower::GetZPos ( Int_t  NLayer) const
inline

Definition at line 48 of file THcShower.h.

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

Definition at line 145 of file THcShower.cxx.

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

Definition at line 1028 of file THcShower.cxx.

Int_t THcShower::ReadDatabase ( const TDatime date)
protectedvirtual

Definition at line 206 of file THcShower.cxx.

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

Definition at line 66 of file THcShower.cxx.

Float_t THcShower::Ycor ( Double_t  y)
inline

Definition at line 139 of file THcShower.h.

Float_t THcShower::Ycor ( Double_t  y,
Int_t  side 
)
inline

Definition at line 146 of file THcShower.h.

Float_t THcShower::YcorPr ( Double_t  y,
Int_t  side 
)
inline

Definition at line 159 of file THcShower.h.

Friends And Related Function Documentation

friend class THcShowerArray
friend

Definition at line 299 of file THcShower.h.

friend class THcShowerPlane
friend

Definition at line 298 of file THcShower.h.

Member Data Documentation

Double_t* THcShower::BlockThick
protected

Definition at line 252 of file THcShower.h.

Double_t THcShower::fAcor
protected

Definition at line 276 of file THcShower.h.

Int_t THcShower::fADCMode
protected

Definition at line 189 of file THcShower.h.

Double_t THcShower::fAdcTdcOffset
protected

Definition at line 203 of file THcShower.h.

Int_t THcShower::fAnalyzePedestals
protected

Definition at line 205 of file THcShower.h.

THcShowerArray* THcShower::fArray
protected

Definition at line 282 of file THcShower.h.

Double_t THcShower::fBcor
protected

Definition at line 277 of file THcShower.h.

Double_t THcShower::fCcor[2]
protected

Definition at line 278 of file THcShower.h.

THcShowerClusterList* THcShower::fClusterList
protected

Definition at line 241 of file THcShower.h.

Int_t THcShower::fdbg_clusters_cal
protected

Definition at line 271 of file THcShower.h.

Int_t THcShower::fdbg_decoded_cal
protected

Definition at line 269 of file THcShower.h.

Int_t THcShower::fdbg_init_cal
protected

Definition at line 273 of file THcShower.h.

Int_t THcShower::fdbg_raw_cal
protected

Definition at line 268 of file THcShower.h.

Int_t THcShower::fdbg_sparsified_cal
protected

Definition at line 270 of file THcShower.h.

Int_t THcShower::fdbg_tracks_cal
protected

Definition at line 272 of file THcShower.h.

Double_t THcShower::fDcor[2]
protected

Definition at line 279 of file THcShower.h.

Double_t THcShower::fEPRtrack
protected

Definition at line 237 of file THcShower.h.

Double_t THcShower::fEPRtrackNorm
protected

Definition at line 238 of file THcShower.h.

Double_t THcShower::fEtot
protected

Definition at line 233 of file THcShower.h.

Double_t THcShower::fEtotNorm
protected

Definition at line 234 of file THcShower.h.

Double_t THcShower::fETotTrackNorm
protected

Definition at line 239 of file THcShower.h.

Double_t THcShower::fEtrack
protected

Definition at line 235 of file THcShower.h.

Double_t THcShower::fEtrackNorm
protected

Definition at line 236 of file THcShower.h.

Int_t THcShower::fEvent
protected

Definition at line 188 of file THcShower.h.

UInt_t THcShower::fHasArray
protected

Definition at line 249 of file THcShower.h.

char** THcShower::fLayerNames
protected

Definition at line 246 of file THcShower.h.

Double_t* THcShower::fLayerZPos
protected

Definition at line 250 of file THcShower.h.

Int_t THcShower::fNblockHighEnergy
protected

Definition at line 222 of file THcShower.h.

UInt_t* THcShower::fNBlocks
protected

Definition at line 253 of file THcShower.h.

Int_t THcShower::fNclust
protected

Definition at line 218 of file THcShower.h.

Int_t THcShower::fNclustArrayTrack
protected

Definition at line 220 of file THcShower.h.

Int_t THcShower::fNclustTrack
protected

Definition at line 219 of file THcShower.h.

Double_t* THcShower::fNegAdcTimeWindowMax
protected

Definition at line 200 of file THcShower.h.

Double_t* THcShower::fNegAdcTimeWindowMin
protected

Definition at line 198 of file THcShower.h.

UInt_t THcShower::fNegCols
protected

Definition at line 258 of file THcShower.h.

Double_t* THcShower::fNegGain
protected

Definition at line 213 of file THcShower.h.

Int_t THcShower::fNhits
protected

Definition at line 217 of file THcShower.h.

UInt_t THcShower::fNLayers
protected

Definition at line 247 of file THcShower.h.

UInt_t THcShower::fNTotBlocks
protected

Definition at line 254 of file THcShower.h.

UInt_t THcShower::fNTotLayers
protected

Definition at line 248 of file THcShower.h.

Int_t THcShower::fNtracks
protected

Definition at line 231 of file THcShower.h.

Int_t* THcShower::fPedNegDefault
protected

Definition at line 202 of file THcShower.h.

Int_t* THcShower::fPedPosDefault
protected

Definition at line 201 of file THcShower.h.

THcShowerPlane** THcShower::fPlanes
protected

Definition at line 281 of file THcShower.h.

Double_t* THcShower::fPosAdcTimeWindowMax
protected

Definition at line 199 of file THcShower.h.

Double_t* THcShower::fPosAdcTimeWindowMin
protected

Definition at line 197 of file THcShower.h.

Double_t* THcShower::fPosGain
protected

Definition at line 212 of file THcShower.h.

Bool_t* THcShower::fPresentP
protected

Definition at line 187 of file THcShower.h.

Int_t THcShower::fShMinPeds
protected

Definition at line 210 of file THcShower.h.

Int_t* THcShower::fShNegPedLimit
protected

Definition at line 208 of file THcShower.h.

Int_t* THcShower::fShPosPedLimit
protected

Definition at line 207 of file THcShower.h.

Int_t THcShower::fSizeClustArray
protected

Definition at line 221 of file THcShower.h.

Double_t THcShower::fSlop
protected

Definition at line 259 of file THcShower.h.

Double_t THcShower::fvDelta
protected

Definition at line 261 of file THcShower.h.

Int_t THcShower::fvTest
protected

Definition at line 260 of file THcShower.h.

Double_t THcShower::fvXmax
protected

Definition at line 264 of file THcShower.h.

Double_t THcShower::fvXmin
protected

Definition at line 263 of file THcShower.h.

Double_t THcShower::fvYmax
protected

Definition at line 266 of file THcShower.h.

Double_t THcShower::fvYmin
protected

Definition at line 265 of file THcShower.h.

Double_t THcShower::fXclustArrayTrack
protected

Definition at line 227 of file THcShower.h.

Double_t THcShower::fXclustTrack
protected

Definition at line 223 of file THcShower.h.

Double_t** THcShower::fXPos
protected

Definition at line 255 of file THcShower.h.

Double_t THcShower::fXTrack
protected

Definition at line 224 of file THcShower.h.

Double_t THcShower::fXTrackArray
protected

Definition at line 228 of file THcShower.h.

Double_t THcShower::fYclustArrayTrack
protected

Definition at line 229 of file THcShower.h.

Double_t THcShower::fYclustTrack
protected

Definition at line 225 of file THcShower.h.

Double_t* THcShower::fYPos
protected

Definition at line 256 of file THcShower.h.

Double_t THcShower::fYTrack
protected

Definition at line 226 of file THcShower.h.

Double_t THcShower::fYTrackArray
protected

Definition at line 230 of file THcShower.h.

Double_t* THcShower::fZPos
protected

Definition at line 257 of file THcShower.h.

const Int_t THcShower::kADCDynamicPedestal =1
staticprotected

Definition at line 194 of file THcShower.h.

const Int_t THcShower::kADCSampIntDynPed =3
staticprotected

Definition at line 196 of file THcShower.h.

const Int_t THcShower::kADCSampleIntegral =2
staticprotected

Definition at line 195 of file THcShower.h.

const Int_t THcShower::kADCStandard =0
staticprotected

Definition at line 193 of file THcShower.h.

Collaboration diagram for THcShower:

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