PandaRoot
BSEmcFetchDigisFromPreclusterLinks Class Reference

As Timebunching of preclusters breaks the eventstructure and therefore our digi indices cluster concept. More...

#include <BSEmcFetchDigisFromPreclusterLinks.h>

Inheritance diagram for BSEmcFetchDigisFromPreclusterLinks:
PndProcess< BSEmcClusteringData >

Public Member Functions

 BSEmcFetchDigisFromPreclusterLinks (const TString &t_sourcedigibranchname="Preclustering"+BSEmcDataBranchNames::fgDigiBranchName+"FwEndcap")
 
virtual ~BSEmcFetchDigisFromPreclusterLinks ()
 
virtual void SetDetectorName (const std::string &t_detectorName)
 Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters) More...
 
virtual void SetData (BSEmcClusteringData *t_data)
 Pass the data container ptrs to the process, and store pointers in class members. More...
 
virtual void SetupParameters (const PndParameterRegister *t_parameterRegister)
 Fetch all parameters from the PndParameterRegister. More...
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. More...
 
void SetDigiSourceBranchName (const TString &t_branchname)
 
- Public Member Functions inherited from PndProcess< BSEmcClusteringData >
 PndProcess ()
 
 PndProcess (const std::string &t_processname)
 
virtual ~PndProcess ()
 
const std::vector< std::string > & GetListOfRequiredParameters () const
 Get the List Of Required Parameters. More...
 
virtual void PreProcess ()
 PreProcess() is called before the actual Process() call in each event. More...
 
virtual void PostProcess ()
 Immediately after calling Process() PostProcess() is called for cleanup of internal process data, or if not needed, to end the time and memory increase measurement started by PreProcess() More...
 
virtual void TearDown ()
 Last actions at the end of the run. More...
 

Additional Inherited Members

- Protected Attributes inherited from PndProcess< BSEmcClusteringData >
std::vector< std::string > fParameterList
 Parameter names required by this PndProcess. Needs to be populated in derived class. More...
 
std::string fDetectorName
 Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch right parameters. More...
 
std::string fProcessName
 Name of current PndProcess (for debugging) More...
 
TStopwatch fTimer
 Timer to monitor Process() time. More...
 
Double_t fTotalTime
 Time taken by this Process' Process() More...
 
ProcInfo_t fProcInfo
 Helper to access cpu process Memory Info. More...
 
Long_t fLastMemSize
 

Detailed Description

As Timebunching of preclusters breaks the eventstructure and therefore our digi indices cluster concept.

We need to create a new digi container and reset the precluster digi indices to point at them. Be aware, that this only works for preclusters using the same digi container source.

Author
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de, HISKP Bonn
Date
2021-02

Definition at line 38 of file BSEmcFetchDigisFromPreclusterLinks.h.

Constructor & Destructor Documentation

◆ BSEmcFetchDigisFromPreclusterLinks()

BSEmcFetchDigisFromPreclusterLinks::BSEmcFetchDigisFromPreclusterLinks ( const TString &  t_sourcedigibranchname = "Preclustering"+BSEmcDataBranchNames::fgDigiBranchName+"FwEndcap")

◆ ~BSEmcFetchDigisFromPreclusterLinks()

virtual BSEmcFetchDigisFromPreclusterLinks::~BSEmcFetchDigisFromPreclusterLinks ( )
virtual

Member Function Documentation

◆ Process()

virtual void BSEmcFetchDigisFromPreclusterLinks::Process ( )
virtual

The actual data transformation (digitizing, clustering, etc.) should be defined here.

Implements PndProcess< BSEmcClusteringData >.

◆ SetData()

virtual void BSEmcFetchDigisFromPreclusterLinks::SetData ( BSEmcClusteringData t_data)
virtual

Pass the data container ptrs to the process, and store pointers in class members.

Parameters
t_data

Implements PndProcess< BSEmcClusteringData >.

◆ SetDetectorName()

virtual void BSEmcFetchDigisFromPreclusterLinks::SetDetectorName ( const std::string &  t_detectorname)
virtual

Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters)

Parameters
t_detectorname

Reimplemented from PndProcess< BSEmcClusteringData >.

◆ SetDigiSourceBranchName()

void BSEmcFetchDigisFromPreclusterLinks::SetDigiSourceBranchName ( const TString &  t_branchname)
inline

Definition at line 47 of file BSEmcFetchDigisFromPreclusterLinks.h.

47 { fDigiSourceBranchname = t_branchname; }

◆ SetupParameters()

virtual void BSEmcFetchDigisFromPreclusterLinks::SetupParameters ( const PndParameterRegister t_parameter)
virtual

Fetch all parameters from the PndParameterRegister.

Parameters
t_parameter

Implements PndProcess< BSEmcClusteringData >.


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