![]() |
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 70 of file PndSdsStripHitProducer.h.
PndSdsStripHitProducer::PndSdsStripHitProducer | ( | ) |
Default constructor
creates object with parameters taken implicitly from DigiPar-File
Referenced by PndSdsStripHitProducer().
|
inline |
Definition at line 77 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 110 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 108 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 100 of file PndSdsStripHitProducer.h.
References AddDigi(), Exec(), FinishEvent(), and FinishTask().
|
virtual |
Reimplemented in PndMvdStripHitProducer, and PndLmdStripHitProducer.
Referenced by PndSdsStripHitProducer().
|
protected |
Definition at line 153 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 146 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 148 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 147 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 155 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 154 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 142 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Digitization Parameters.
Definition at line 145 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
|
protected |
Definition at line 167 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 165 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
///< converter for detector names
internal Flag that controls use of Parameter Invocations
Definition at line 168 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Input array of PndSdsMCPoints
Definition at line 137 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Output array of PndSdsHits.
Definition at line 140 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Definition at line 152 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
Calculator objects.
Definition at line 151 of file PndSdsStripHitProducer.h.
Referenced by operator=().
|
protected |
parameter to switch to time ordered simulation
Definition at line 169 of file PndSdsStripHitProducer.h.
Referenced by operator=(), and RunTimeBased().