PandaRoot
PndMvdStripHitProducer Class Reference

Hit Producer Task for strip detectors. More...

#include <PndMvdStripHitProducer.h>

Inheritance diagram for PndMvdStripHitProducer:
PndSdsStripHitProducer PndSdsTask PndPersistencyTask

Public Member Functions

 PndMvdStripHitProducer ()
 
virtual ~PndMvdStripHitProducer ()
 
virtual void SetParContainers ()
 
virtual void SetCalculators ()
 
void SetBranchNames (TString inBranchname, TString outBranchname, TString folderName)
 
void SetBranchNames ()
 
 ClassDef (PndMvdStripHitProducer, 6)
 
- Public Member Functions inherited from PndSdsStripHitProducer
 PndSdsStripHitProducer ()
 
 PndSdsStripHitProducer (PndSdsStripHitProducer &other)
 
 PndSdsStripHitProducer (const char *name)
 
virtual ~PndSdsStripHitProducer ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
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 ()
 
PndSdsStripHitProduceroperator= (PndSdsStripHitProducer &other)
 
- Public Member Functions inherited from PndSdsTask
 PndSdsTask ()
 
 PndSdsTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndSdsTask ()
 
virtual void SetInBranchId ()
 
- Public Member Functions inherited from PndPersistencyTask
 PndPersistencyTask ()
 
 PndPersistencyTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndPersistencyTask ()
 
void SetPersistency (Bool_t val=kTRUE)
 
Bool_t GetPersistency ()
 

Additional Inherited Members

- Protected Member Functions inherited from PndSdsStripHitProducer
void Register ()
 
void Reset ()
 
void ProduceHits ()
 
Bool_t SelectSensorParams (Int_t sensorID)
 
Double_t DigitizeTime (Double_t time, Double_t charge)
 
 ClassDef (PndSdsStripHitProducer, 5)
 
- Protected Member Functions inherited from PndSdsTask
 ClassDef (PndSdsTask, 1)
 
- Protected Attributes inherited from PndSdsStripHitProducer
TClonesArray * fPointArray
 
TClonesArray * fStripArray
 Output array of PndSdsHits. More...
 
FairWriteoutBuffer * fDataBuffer
 
TList * fDigiParameterList
 Digitization Parameters. More...
 
TList * fChargeDigiParameterList
 
PndSdsStripDigiParfCurrentDigiPar
 
PndSdsChargeConversionfCurrentChargeConverter
 
std::map< const char *, PndSdsCalcStrip * > fStripCalcTop
 Calculator objects. More...
 
std::map< const char *, PndSdsCalcStrip * > fStripCalcBot
 
std::map< const char *, PndSdsChargeConversion * > fChargeConverter
 
PndSdsCalcStripfCurrentStripCalcTop
 
PndSdsCalcStripfCurrentStripCalcBot
 
FairMCEventHeader * fMcEventHeader
 
PndGeoHandlingfGeoH
 
Bool_t fOverrideParams
 ///< converter for detector names More...
 
Bool_t fTimeOrderedDigi
 parameter to switch to time ordered simulation More...
 
Int_t fEventNr
 EventCounter. More...
 
- Protected Attributes inherited from PndSdsTask
TString fInBranchName
 
TString fOutBranchName
 
TString fFolderName
 
Int_t fInBranchId
 
Int_t fOutBranchId
 

Detailed Description

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:

PndMvdStripHitProducer(Double_t, Double_t, Double_t, Double_t, TVector2, TVector2,
Int_t, Int_t, Int_t, Double_t, Double_t)


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).

Author
HG Zaunick hg.za.nosp@m.unic.nosp@m.k@phy.nosp@m.sik..nosp@m.tu-dr.nosp@m.esde.nosp@m.n.de

[04/2010] This functionality went into the SDS Package, only inheritance here. R.Kliemt

Definition at line 56 of file PndMvdStripHitProducer.h.

Constructor & Destructor Documentation

◆ PndMvdStripHitProducer()

PndMvdStripHitProducer::PndMvdStripHitProducer ( )

Default constructor

◆ ~PndMvdStripHitProducer()

virtual PndMvdStripHitProducer::~PndMvdStripHitProducer ( )
virtual

Destructor

Member Function Documentation

◆ ClassDef()

PndMvdStripHitProducer::ClassDef ( PndMvdStripHitProducer  ,
 
)

Referenced by SetBranchNames().

◆ SetBranchNames() [1/2]

void PndMvdStripHitProducer::SetBranchNames ( TString  inBranchname,
TString  outBranchname,
TString  folderName 
)

Specify the branch & folder names for the I/O

◆ SetBranchNames() [2/2]

void PndMvdStripHitProducer::SetBranchNames ( )
inlinevirtual

pure virtual method SetBranchNames

called by Init() function to set individual branch names

Implements PndSdsStripHitProducer.

Definition at line 72 of file PndMvdStripHitProducer.h.

References ClassDef(), and SetBranchNames().

Referenced by SetBranchNames().

72 { SetBranchNames("MVDPoint", "MVDStripDigis", "PndMvd"); }

◆ SetCalculators()

virtual void PndMvdStripHitProducer::SetCalculators ( )
virtual

Reimplemented from PndSdsStripHitProducer.

◆ SetParContainers()

virtual void PndMvdStripHitProducer::SetParContainers ( )
virtual

Specific Parameter set loading

Reimplemented from PndSdsStripHitProducer.


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