PandaRoot
BSEmcFwEndcapOnlineFeatureExtraction Class Reference

Process to extract digis from FwEndcap waveforms. Online like, but not actually online usable. More...

#include <BSEmcFwEndcapOnlineFeatureExtraction.h>

Inheritance diagram for BSEmcFwEndcapOnlineFeatureExtraction:
BSEmcOnlineFeatureExtractionProcess PndProcess< BSEmcDigitizationData >

Public Member Functions

 BSEmcFwEndcapOnlineFeatureExtraction ()
 
virtual ~BSEmcFwEndcapOnlineFeatureExtraction ()
 
virtual void SetDetectorName (const std::string &t_detectorName)
 Sets the detectorname and fills the parameterlist with names of all required parameter. More...
 
virtual void SetupParameters (const PndParameterRegister *t_parameterRegister)
 Fetches the parameteres requested in SetDetectorName. More...
 
- Public Member Functions inherited from BSEmcOnlineFeatureExtractionProcess
 BSEmcOnlineFeatureExtractionProcess ()
 
virtual ~BSEmcOnlineFeatureExtractionProcess ()
 
virtual void SetData (BSEmcDigitizationData *t_data)
 Pass the data container ptrs to the process, and store pointers in class members. More...
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. More...
 
void SetStorageOfData (Bool_t t_val)
 
void SetPSA (BSEmcAbsPSA *t_psa)
 
std::vector< BSEmcDigi * > ExtractDigis (const std::vector< const BSEmcMultiWaveform *> &t_waveforms) const
 
void SetWaveformBranchName (const TString &t_branchname)
 
- Public Member Functions inherited from PndProcess< BSEmcDigitizationData >
 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...
 

Protected Member Functions

virtual void DefinePSA ()
 Define PSA. More...
 
virtual BSEmcDigi::eGAIN GetGainType (const BSEmcWaveform *t_waveform, Int_t t_hit) const
 
- Protected Member Functions inherited from BSEmcOnlineFeatureExtractionProcess
virtual Double_t GetTimeStamp (const BSEmcWaveform *t_waveform, Double_t t_digi_time) const
 
 ClassDef (BSEmcOnlineFeatureExtractionProcess, 1)
 

Additional Inherited Members

- Protected Attributes inherited from BSEmcOnlineFeatureExtractionProcess
Double_t fTimebunchCutTime {0}
 
TString fHitBranchName {""}
 
TString fWaveformBranchName {""}
 
PndOutputContainerI< BSEmcDigi > * fDigiArray {nullptr}
 
PndInputContainer< BSEmcMultiWaveformfWaveformArray {}
 
Double_t fEnergyDigiThreshold {0}
 
BSEmcAbsPSAfPSA {nullptr}
 
- Protected Attributes inherited from PndProcess< BSEmcDigitizationData >
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

Process to extract digis from FwEndcap waveforms. Online like, but not actually online usable.

Instantiates and sets a PulseShapeAnalysis object and which parses a waveform and extracts each maximum energy and time. Those information are then used to create BSEmcDigis.

Author
Ph. Mahlberg mahlb.nosp@m.erg@.nosp@m.hiskp.nosp@m..uni.nosp@m.-bonn.nosp@m..de, process changes -> Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de

Definition at line 28 of file BSEmcFwEndcapOnlineFeatureExtraction.h.

Constructor & Destructor Documentation

◆ BSEmcFwEndcapOnlineFeatureExtraction()

BSEmcFwEndcapOnlineFeatureExtraction::BSEmcFwEndcapOnlineFeatureExtraction ( )

◆ ~BSEmcFwEndcapOnlineFeatureExtraction()

virtual BSEmcFwEndcapOnlineFeatureExtraction::~BSEmcFwEndcapOnlineFeatureExtraction ( )
virtual

Member Function Documentation

◆ DefinePSA()

virtual void BSEmcFwEndcapOnlineFeatureExtraction::DefinePSA ( )
protectedvirtual

Define PSA.

◆ GetGainType()

virtual BSEmcDigi::eGAIN BSEmcFwEndcapOnlineFeatureExtraction::GetGainType ( const BSEmcWaveform t_waveform,
Int_t  t_hit 
) const
protectedvirtual

◆ SetDetectorName()

virtual void BSEmcFwEndcapOnlineFeatureExtraction::SetDetectorName ( const std::string &  t_detectorName)
virtual

Sets the detectorname and fills the parameterlist with names of all required parameter.

Parameters
t_detectorName

Reimplemented from BSEmcOnlineFeatureExtractionProcess.

◆ SetupParameters()

virtual void BSEmcFwEndcapOnlineFeatureExtraction::SetupParameters ( const PndParameterRegister t_parameterRegister)
virtual

Fetches the parameteres requested in SetDetectorName.

Parameters
t_parameterRegister

Reimplemented from BSEmcOnlineFeatureExtractionProcess.


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