![]() |
PandaRoot
|
Hit Producer Task for strip detectors. More...
#include <PndSdsStripHitProducer.h>
Public Member Functions | |
PndSdsStripHitProducer () | |
PndSdsStripHitProducer (PndSdsStripHitProducer &other) | |
PndSdsStripHitProducer (const char *name) | |
virtual | ~PndSdsStripHitProducer () |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | SetBranchNames ()=0 |
virtual void | SetMCPointType () |
virtual void | Exec (Option_t *opt) |
virtual void | FinishEvent () |
virtual void | FinishTask () |
void | AddDigi (Int_t &iStrip, Int_t iPoint, Int_t detID, Int_t sensorID, Int_t fe, Int_t chan, Double_t charge) |
void | RunTimeBased () |
PndSdsStripHitProducer & | operator= (PndSdsStripHitProducer &other) |
![]() | |
PndSdsTask () | |
PndSdsTask (const char *name, Int_t iVerbose=1) | |
virtual | ~PndSdsTask () |
virtual void | SetInBranchId () |
![]() | |
PndPersistencyTask () | |
PndPersistencyTask (const char *name, Int_t iVerbose=1) | |
virtual | ~PndPersistencyTask () |
void | SetPersistency (Bool_t val=kTRUE) |
Bool_t | GetPersistency () |
Protected Member Functions | |
void | Register () |
void | Reset () |
void | ProduceHits () |
virtual void | SetCalculators () |
Bool_t | SelectSensorParams (Int_t sensorID) |
Double_t | DigitizeTime (Double_t time, Double_t charge) |
ClassDef (PndSdsStripHitProducer, 5) | |
![]() | |
ClassDef (PndSdsTask, 1) | |
Hit Producer Task for strip detectors.
The choice of the parameters used for Digitization depends on the invocation of the different constructors of this task. Instantiating by the default constructor forces the digitisation parameters initialized from the DigiPar-Database. On the other hand these parameters may be overridden by invoking the constructor:
Basically, the sensors are thought to be rectangular (even if they are not). Knowing the origin of the wafer, the strips can be described by an angle (orientation), their separation with respect to each other (pitch) and one point that is known to be part of the first strip (anchor point).
The numbering scheme is as follows (assuming 128 channels per FE):
strip index | frontend # | side | |
0 | 0 | top | <- Top Anchor |
1 | 0 | top | |
... | 0 | top | |
127 | 0 | top | |
128 | 1 | top | |
... | 1 | top | |
255 | 1 | top | |
256 | 2 | top | |
... | ... | top | |
topNrFE*128-1 | topNrFE-1 | top | |
topNrFE*128 | topNrFE | bottom | <- Bottom Anchor |
... | topNrFE | bottom | |
topNrFE*128+127 | topNrFE | bottom | |
topNrFE*128+128 | topNrFE+1 | bottom | |
... | ... | bottom | |
(topNrFE+botNrFE)*128-1 | topNrFE+botNrFE-1 | bottom |
The numbering starts from the strip containing the anchor point following the direction orthogonal to the strips in mathematically positive sense (along x-axis in positive direction, if the strip orientation equals 90 degrees).
Definition at line 82 of file PndSdsStripHitProducer.h.
PndSdsStripHitProducer::PndSdsStripHitProducer | ( | ) |
Default constructor
creates object with parameters taken implicitly from DigiPar-File
Referenced by PndSdsStripHitProducer().
|
inline |
Definition at line 89 of file PndSdsStripHitProducer.h.
References Init(), PndSdsStripHitProducer(), ReInit(), SetBranchNames(), SetParContainers(), and ~PndSdsStripHitProducer().
PndSdsStripHitProducer::PndSdsStripHitProducer | ( | const char * | name | ) |
Like default Constructor, but passes a name to PndSdsTask
|
virtual |
Destructor
Referenced by PndSdsStripHitProducer().
void PndSdsStripHitProducer::AddDigi | ( | Int_t & | iStrip, |
Int_t | iPoint, | ||
Int_t | detID, | ||
Int_t | sensorID, | ||
Int_t | fe, | ||
Int_t | chan, | ||
Double_t | charge | ||
) |
Referenced by SetMCPointType().
|
protected |
|
protected |
|
virtual |
Virtual method Exec
Referenced by SetMCPointType().
|
virtual |
Referenced by SetMCPointType().
|
virtual |
Referenced by SetMCPointType().
|
virtual |
Virtual method Init
Referenced by PndSdsStripHitProducer().
|
inline |
Definition at line 122 of file PndSdsStripHitProducer.h.
References fChargeConverter, fChargeDigiParameterList, fCurrentChargeConverter, fCurrentDigiPar, fCurrentStripCalcBot, fCurrentStripCalcTop, fDataBuffer, fDigiParameterList, fEventNr, fGeoH, fMcEventHeader, fOverrideParams, fPointArray, fStripArray, fStripCalcBot, fStripCalcTop, and fTimeOrderedDigi.
|
protected |
|
protected |
|
virtual |
Referenced by PndSdsStripHitProducer().
|
protected |
|
inline |
Definition at line 120 of file PndSdsStripHitProducer.h.
References fTimeOrderedDigi.
|
protected |
|
pure virtual |
pure virtual method SetBranchNames
called by Init() function to set individual branch names
Implements PndSdsTask.
Implemented in PndMvdStripHitProducer, and PndLmdStripHitProducer.
Referenced by PndSdsStripHitProducer().
|
protectedvirtual |
Reimplemented in PndMvdStripHitProducer, and PndLmdStripHitProducer.
|
inlinevirtual |
Definition at line 112 of file PndSdsStripHitProducer.h.
References AddDigi(), Exec(), FinishEvent(), and FinishTask().
|
virtual |
Reimplemented in PndMvdStripHitProducer, and PndLmdStripHitProducer.
Referenced by PndSdsStripHitProducer().
|
protected |
Definition at line 165 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 158 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 160 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 159 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 167 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 166 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 154 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Digitization Parameters.
Definition at line 157 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
|
protected |
Definition at line 179 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 177 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
///< converter for detector names
internal Flag that controls use of Parameter Invocations
Definition at line 180 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Input array of PndSdsMCPoints
Definition at line 149 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Output array of PndSdsHits.
Definition at line 152 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 164 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Calculator objects.
Definition at line 163 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
parameter to switch to time ordered simulation
Definition at line 181 of file PndSdsStripHitProducer.h.
Referenced by operator=(), and RunTimeBased().