PandaRoot
PndSdsStripClusterTask Class Reference

#include <PndSdsStripClusterTask.h>

Inheritance diagram for PndSdsStripClusterTask:
PndSdsTask PndPersistencyTask PndLmdStripClusterTask PndMvdStripClusterTask

Public Member Functions

 PndSdsStripClusterTask ()
 
 PndSdsStripClusterTask (const char *name)
 
 PndSdsStripClusterTask (PndSdsStripClusterTask &other)
 
virtual ~PndSdsStripClusterTask ()
 
PndSdsStripClusterTaskoperator= (PndSdsStripClusterTask &other)
 
virtual void SetParContainers ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void InitMQ (TList *tempList)
 
virtual void GetParList (TList *)
 
virtual void ExecMQ (TList *inputList, TList *outputList)
 
virtual void SetParContainersMQ (TList *)
 
virtual void SetInBranchId ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 
- Public Member Functions inherited from PndSdsTask
 PndSdsTask ()
 
 PndSdsTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndSdsTask ()
 
virtual void SetBranchNames ()=0
 
- 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 ()
 

Protected Member Functions

virtual void SetCalculators ()
 
TVector2 CalcLineCross (TVector2 point1, TVector2 dir1, TVector2 point2, TVector2 dir2) const
 
void SetCurrentCalculators (PndSdsStripDigiPar *digipar)
 
Bool_t SelectSensorParams (Int_t sensorID)
 
void CalcMeanCharge (PndSdsClusterStrip *onecluster, Double_t &meanstrip, Double_t &meanerr, Double_t &charge, Double_t &timestamp, Double_t &timestampError)
 
Bool_t Backmap (TVector2 meantopPoint, Double_t toperr, TVector2 meanbotPoint, Double_t boterr, TVector3 &hitpos, TMatrixD &hitCov, Int_t &sensorID)
 
void Register ()
 
void Reset ()
 
void ProduceHits ()
 
void ResetClusterFinders ()
 
void FillClusterFinders ()
 
void ClearCalculators ()
 
 ClassDef (PndSdsStripClusterTask, 2)
 
- Protected Member Functions inherited from PndSdsTask
 ClassDef (PndSdsTask, 1)
 

Protected Attributes

TString fPath
 
TClonesArray * fDigiArray
 
TClonesArray * fClusterArray
 
TClonesArray * fHitArray
 
TString fClustBranchName
 
Int_t fClusterType
 
Int_t fFEcolumns
 
Int_t fFErows
 
Double_t fChargeCut
 
Int_t fRadChannel
 
Int_t fRadTime
 
Double_t fSingleStripChargeThreshold
 
FairEventHeader * fEventHeader
 
TList * fDigiParameterList
 Digitization Parameters. More...
 
PndSdsStripDigiParfCurrentDigiPar
 
PndSensorNameParfSensorNamePar
 
TList * fChargeDigiParameterList
 
std::map< const char *, PndSdsCalcStrip * > fStripCalcTop
 Calculator objects. More...
 
std::map< const char *, PndSdsCalcStrip * > fStripCalcBot
 
std::map< const char *, PndSdsChargeConversion * > fChargeConverter
 
PndSdsCalcStripfCurrentStripCalcTop
 
PndSdsCalcStripfCurrentStripCalcBot
 
PndSdsChargeWeightingAlgorithmsfChargeAlgos
 
PndSdsChargeConversionfCurrentChargeConverter
 
PndSdsStripDigiParfDigiPar
 
PndGeoHandlingfGeoH
 
PndSdsStripClustererfCurrentClusterfinder
 Geometry name handling. More...
 
std::map< const char *, PndSdsStripClusterer * > fClusterFinderList
 
BinaryFunctor * fFunctor
 
- Protected Attributes inherited from PndSdsTask
TString fInBranchName
 
TString fOutBranchName
 
TString fFolderName
 
Int_t fInBranchId
 
Int_t fOutBranchId
 

Detailed Description

Definition at line 34 of file PndSdsStripClusterTask.h.

Constructor & Destructor Documentation

◆ PndSdsStripClusterTask() [1/3]

PndSdsStripClusterTask::PndSdsStripClusterTask ( )

Default constructor

◆ PndSdsStripClusterTask() [2/3]

PndSdsStripClusterTask::PndSdsStripClusterTask ( const char *  name)

◆ PndSdsStripClusterTask() [3/3]

PndSdsStripClusterTask::PndSdsStripClusterTask ( PndSdsStripClusterTask other)
inline

Definition at line 40 of file PndSdsStripClusterTask.h.

References ~PndSdsStripClusterTask().

47  fGeoH(other.fGeoH), fCurrentClusterfinder(other.fCurrentClusterfinder), fClusterFinderList(other.fClusterFinderList), fFunctor(other.fFunctor), eta_rect(other.eta_rect),
48  eta_trap(other.eta_trap), etahistofile(other.etahistofile){};
PndSdsChargeWeightingAlgorithms * fChargeAlgos
std::map< const char *, PndSdsChargeConversion * > fChargeConverter
PndSdsCalcStrip * fCurrentStripCalcTop
std::map< const char *, PndSdsCalcStrip * > fStripCalcBot
PndSdsStripDigiPar * fDigiPar
std::map< const char *, PndSdsCalcStrip * > fStripCalcTop
Calculator objects.
std::map< const char *, PndSdsStripClusterer * > fClusterFinderList
PndSensorNamePar * fSensorNamePar
PndSdsStripDigiPar * fCurrentDigiPar
TList * fDigiParameterList
Digitization Parameters.
PndSdsCalcStrip * fCurrentStripCalcBot
PndSdsChargeConversion * fCurrentChargeConverter
PndSdsStripClusterer * fCurrentClusterfinder
Geometry name handling.

◆ ~PndSdsStripClusterTask()

virtual PndSdsStripClusterTask::~PndSdsStripClusterTask ( )
virtual

Destructor

Referenced by PndSdsStripClusterTask().

Member Function Documentation

◆ Backmap()

Bool_t PndSdsStripClusterTask::Backmap ( TVector2  meantopPoint,
Double_t  toperr,
TVector2  meanbotPoint,
Double_t  boterr,
TVector3 &  hitpos,
TMatrixD hitCov,
Int_t &  sensorID 
)
protected

◆ CalcLineCross()

TVector2 PndSdsStripClusterTask::CalcLineCross ( TVector2  point1,
TVector2  dir1,
TVector2  point2,
TVector2  dir2 
) const
protected

◆ CalcMeanCharge()

void PndSdsStripClusterTask::CalcMeanCharge ( PndSdsClusterStrip onecluster,
Double_t &  meanstrip,
Double_t &  meanerr,
Double_t &  charge,
Double_t &  timestamp,
Double_t &  timestampError 
)
protected

◆ ClassDef()

PndSdsStripClusterTask::ClassDef ( PndSdsStripClusterTask  ,
 
)
protected

◆ ClearCalculators()

void PndSdsStripClusterTask::ClearCalculators ( )
protected

◆ Exec()

virtual void PndSdsStripClusterTask::Exec ( Option_t *  opt)
virtual

Virtual method Exec

Reimplemented in PndLmdStripClusterTask.

Referenced by SetInBranchId().

◆ ExecMQ()

virtual void PndSdsStripClusterTask::ExecMQ ( TList *  inputList,
TList *  outputList 
)
virtual

Referenced by GetParList().

◆ FillClusterFinders()

void PndSdsStripClusterTask::FillClusterFinders ( )
protected

◆ Finish()

virtual void PndSdsStripClusterTask::Finish ( )
virtual

Virtual method Finish

Referenced by SetInBranchId().

◆ GetParList()

virtual void PndSdsStripClusterTask::GetParList ( TList *  )
inlinevirtual

Reimplemented in PndMvdStripClusterTask.

Definition at line 94 of file PndSdsStripClusterTask.h.

References ExecMQ().

94 {}; // tempList //[R.K.03/2017] unused variable(s)

◆ Init()

virtual InitStatus PndSdsStripClusterTask::Init ( )
virtual

Reimplemented in PndLmdStripClusterTask.

Referenced by operator=().

◆ InitMQ()

virtual void PndSdsStripClusterTask::InitMQ ( TList *  tempList)
virtual

Referenced by operator=().

◆ operator=()

PndSdsStripClusterTask& PndSdsStripClusterTask::operator= ( PndSdsStripClusterTask other)
inline

Definition at line 51 of file PndSdsStripClusterTask.h.

References fChargeAlgos, fChargeConverter, fChargeCut, fChargeDigiParameterList, fClustBranchName, fClusterArray, fClusterFinderList, fClusterType, fCurrentChargeConverter, fCurrentClusterfinder, fCurrentDigiPar, fCurrentStripCalcBot, fCurrentStripCalcTop, fDigiArray, fDigiPar, fDigiParameterList, fEventHeader, fFEcolumns, fFErows, fFunctor, fGeoH, fHitArray, fPath, fRadChannel, fRadTime, fSensorNamePar, fSingleStripChargeThreshold, fStripCalcBot, fStripCalcTop, Init(), InitMQ(), ReInit(), and SetParContainers().

52  {
53  fPath = other.fPath;
54  fDigiArray = other.fDigiArray;
56  fHitArray = other.fHitArray;
58  fClusterType = other.fClusterType;
59  fFEcolumns = other.fFEcolumns;
60  fFErows = other.fFErows;
61  fChargeCut = other.fChargeCut;
62  fRadChannel = other.fRadChannel;
63  fRadTime = other.fRadTime;
65  fEventHeader = other.fEventHeader;
75  fChargeAlgos = other.fChargeAlgos;
77  fDigiPar = other.fDigiPar;
78  fGeoH = other.fGeoH;
81  fFunctor = other.fFunctor;
82  eta_rect = other.eta_rect;
83  eta_trap = other.eta_trap;
84  etahistofile = other.etahistofile;
85  return *this;
86  };
PndSdsChargeWeightingAlgorithms * fChargeAlgos
std::map< const char *, PndSdsChargeConversion * > fChargeConverter
PndSdsCalcStrip * fCurrentStripCalcTop
std::map< const char *, PndSdsCalcStrip * > fStripCalcBot
PndSdsStripDigiPar * fDigiPar
std::map< const char *, PndSdsCalcStrip * > fStripCalcTop
Calculator objects.
std::map< const char *, PndSdsStripClusterer * > fClusterFinderList
PndSensorNamePar * fSensorNamePar
PndSdsStripDigiPar * fCurrentDigiPar
TList * fDigiParameterList
Digitization Parameters.
PndSdsCalcStrip * fCurrentStripCalcBot
PndSdsChargeConversion * fCurrentChargeConverter
PndSdsStripClusterer * fCurrentClusterfinder
Geometry name handling.

◆ ProduceHits()

void PndSdsStripClusterTask::ProduceHits ( )
protected

◆ Register()

void PndSdsStripClusterTask::Register ( )
protected

◆ ReInit()

virtual InitStatus PndSdsStripClusterTask::ReInit ( )
virtual

Referenced by operator=().

◆ Reset()

void PndSdsStripClusterTask::Reset ( )
protected

◆ ResetClusterFinders()

void PndSdsStripClusterTask::ResetClusterFinders ( )
protected

◆ SelectSensorParams()

Bool_t PndSdsStripClusterTask::SelectSensorParams ( Int_t  sensorID)
protected

◆ SetCalculators()

virtual void PndSdsStripClusterTask::SetCalculators ( )
protectedvirtual

◆ SetCurrentCalculators()

void PndSdsStripClusterTask::SetCurrentCalculators ( PndSdsStripDigiPar digipar)
protected

◆ SetInBranchId()

virtual void PndSdsStripClusterTask::SetInBranchId ( )
inlinevirtual

Reimplemented from PndSdsTask.

Definition at line 98 of file PndSdsStripClusterTask.h.

References Exec(), fClustBranchName, fClusterType, PndSdsTask::fInBranchId, PndSdsTask::fInBranchName, and Finish().

99  {
100  FairRootManager *ioman = FairRootManager::Instance();
101  fInBranchId = ioman->GetBranchId(fInBranchName);
102  std::cout << "InBranchId: " << fInBranchId << " for Branch: " << fInBranchName.Data() << std::endl;
103  fClusterType = ioman->GetBranchId(fClustBranchName);
104  std::cout << "fClusterType: " << fClusterType << " for Branch: " << fClustBranchName.Data() << std::endl;
105  }
Int_t fInBranchId
Definition: PndSdsTask.h:38
TString fInBranchName
Definition: PndSdsTask.h:34

◆ SetParContainers()

virtual void PndSdsStripClusterTask::SetParContainers ( )
virtual

Virtual method Init

Reimplemented in PndLmdStripClusterTask, and PndMvdStripClusterTask.

Referenced by operator=().

◆ SetParContainersMQ()

virtual void PndSdsStripClusterTask::SetParContainersMQ ( TList *  )
inlinevirtual

Reimplemented in PndMvdStripClusterTask.

Definition at line 96 of file PndSdsStripClusterTask.h.

96 {}; // tempList //[R.K.03/2017] unused variable(s)

Member Data Documentation

◆ fChargeAlgos

PndSdsChargeWeightingAlgorithms* PndSdsStripClusterTask::fChargeAlgos
protected

Definition at line 155 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fChargeConverter

std::map<const char *, PndSdsChargeConversion *> PndSdsStripClusterTask::fChargeConverter
protected

Definition at line 151 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fChargeCut

Double_t PndSdsStripClusterTask::fChargeCut
protected

Definition at line 137 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fChargeDigiParameterList

TList* PndSdsStripClusterTask::fChargeDigiParameterList
protected

Definition at line 147 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fClustBranchName

TString PndSdsStripClusterTask::fClustBranchName
protected

Definition at line 125 of file PndSdsStripClusterTask.h.

Referenced by operator=(), and SetInBranchId().

◆ fClusterArray

TClonesArray* PndSdsStripClusterTask::fClusterArray
protected

Definition at line 122 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fClusterFinderList

std::map<const char *, PndSdsStripClusterer *> PndSdsStripClusterTask::fClusterFinderList
protected

Definition at line 161 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fClusterType

Int_t PndSdsStripClusterTask::fClusterType
protected

◆ fCurrentChargeConverter

PndSdsChargeConversion* PndSdsStripClusterTask::fCurrentChargeConverter
protected

Definition at line 156 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fCurrentClusterfinder

PndSdsStripClusterer* PndSdsStripClusterTask::fCurrentClusterfinder
protected

Geometry name handling.

Definition at line 160 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fCurrentDigiPar

PndSdsStripDigiPar* PndSdsStripClusterTask::fCurrentDigiPar
protected

Definition at line 145 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fCurrentStripCalcBot

PndSdsCalcStrip* PndSdsStripClusterTask::fCurrentStripCalcBot
protected

Definition at line 154 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fCurrentStripCalcTop

PndSdsCalcStrip* PndSdsStripClusterTask::fCurrentStripCalcTop
protected

Definition at line 153 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fDigiArray

TClonesArray* PndSdsStripClusterTask::fDigiArray
protected

Definition at line 121 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fDigiPar

PndSdsStripDigiPar* PndSdsStripClusterTask::fDigiPar
protected

Definition at line 157 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fDigiParameterList

TList* PndSdsStripClusterTask::fDigiParameterList
protected

Digitization Parameters.

Definition at line 144 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fEventHeader

FairEventHeader* PndSdsStripClusterTask::fEventHeader
protected

Definition at line 141 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fFEcolumns

Int_t PndSdsStripClusterTask::fFEcolumns
protected

Definition at line 135 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fFErows

Int_t PndSdsStripClusterTask::fFErows
protected

Definition at line 136 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fFunctor

BinaryFunctor* PndSdsStripClusterTask::fFunctor
protected

Definition at line 163 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fGeoH

PndGeoHandling* PndSdsStripClusterTask::fGeoH
protected

Definition at line 159 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fHitArray

TClonesArray* PndSdsStripClusterTask::fHitArray
protected

Definition at line 123 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fPath

TString PndSdsStripClusterTask::fPath
protected

Definition at line 113 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fRadChannel

Int_t PndSdsStripClusterTask::fRadChannel
protected

Definition at line 138 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fRadTime

Int_t PndSdsStripClusterTask::fRadTime
protected

Definition at line 139 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fSensorNamePar

PndSensorNamePar* PndSdsStripClusterTask::fSensorNamePar
protected

Definition at line 146 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fSingleStripChargeThreshold

Double_t PndSdsStripClusterTask::fSingleStripChargeThreshold
protected

Definition at line 140 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fStripCalcBot

std::map<const char *, PndSdsCalcStrip *> PndSdsStripClusterTask::fStripCalcBot
protected

Definition at line 150 of file PndSdsStripClusterTask.h.

Referenced by operator=().

◆ fStripCalcTop

std::map<const char *, PndSdsCalcStrip *> PndSdsStripClusterTask::fStripCalcTop
protected

Calculator objects.

Definition at line 149 of file PndSdsStripClusterTask.h.

Referenced by operator=().


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