![]() |
PandaRoot
|
Process to extract digis from BwEndcap waveforms. More...
#include <BSEmcBwEndcapOnlineFeatureExtraction.h>
Public Member Functions | |
BSEmcBwEndcapOnlineFeatureExtraction () | |
virtual | ~BSEmcBwEndcapOnlineFeatureExtraction () |
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... | |
void | SingleAPDMode (Bool_t t_mode=kTRUE) |
void | SetVerbose (Int_t iVerbose) |
![]() | |
BSEmcOnlineFeatureExtractionProcess () | |
virtual | ~BSEmcOnlineFeatureExtractionProcess () |
virtual void | RequestDataContainer (PndContainerRegister *t_register) |
Pass the container register to the process, and get the processes container requirements. More... | |
virtual void | GetDataContainer (PndContainerRegister *t_register) |
Pass the container register to the process, and set the processes container requirements. 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 | SetMCDepositBranchName (const TString &t_branchname) |
void | SetWaveformBranchName (const TString &t_branchname) |
void | SetDigiBranchName (const TString &t_branchname) |
![]() | |
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 |
virtual Double_t | GetTimeStamp (const BSEmcWaveform *, Double_t t_digi_time) const |
![]() | |
ClassDef (BSEmcOnlineFeatureExtractionProcess, 1) | |
Protected Attributes | |
Int_t | fVerbose {0} |
![]() | |
Double_t | fTimebunchCutTime {0} |
TString | fMCDepositBranchName {""} |
TString | fWaveformBranchName {""} |
TString | fDigiBranchName {""} |
PndMutableContainerI< BSEmcDigi > * | fDigiArray {nullptr} |
PndContainerI< BSEmcMultiWaveform > * | fWaveformArray {} |
Double_t | fEnergyDigiThreshold {0} |
BSEmcAbsPSA * | fPSA {nullptr} |
![]() | |
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 {"PndProcess"} |
Name of current PndProcess (for debugging) More... | |
TStopwatch | fTimer {} |
Timer to monitor Process() time. More... | |
Double_t | fTotalTime {0} |
Time taken by this Process' Process() More... | |
ProcInfo_t | fProcInfo |
Helper to access cpu process Memory Info. More... | |
Long_t | fLastMemSize |
Process to extract digis from BwEndcap waveforms.
Definition at line 34 of file BSEmcBwEndcapOnlineFeatureExtraction.h.
BSEmcBwEndcapOnlineFeatureExtraction::BSEmcBwEndcapOnlineFeatureExtraction | ( | ) |
|
virtual |
|
protectedvirtual |
Define PSA.
|
protectedvirtual |
Implements BSEmcOnlineFeatureExtractionProcess.
|
inlineprotectedvirtual |
Reimplemented from BSEmcOnlineFeatureExtractionProcess.
Definition at line 66 of file BSEmcBwEndcapOnlineFeatureExtraction.h.
|
virtual |
Sets the detectorname and fills the parameterlist with names of all required parameter.
t_detectorName |
Reimplemented from BSEmcOnlineFeatureExtractionProcess.
|
virtual |
Fetches the parameteres requested in SetDetectorName.
t_parameterRegister |
Reimplemented from BSEmcOnlineFeatureExtractionProcess.
|
inline |
Definition at line 56 of file BSEmcBwEndcapOnlineFeatureExtraction.h.
References fVerbose.
|
inline |
Definition at line 54 of file BSEmcBwEndcapOnlineFeatureExtraction.h.
|
protected |
Definition at line 59 of file BSEmcBwEndcapOnlineFeatureExtraction.h.
Referenced by SetVerbose().