![]() |
PandaRoot
|
Process to extract digis from FwEndcap waveforms. Online like, but not actually online usable. More...
#include <BSEmcFwEndcapOnlineFeatureExtraction.h>
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... | |
![]() | |
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) |
![]() | |
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 *t_waveform, Double_t t_digi_time) const |
ClassDef (BSEmcOnlineFeatureExtractionProcess, 1) | |
Additional Inherited Members | |
![]() | |
Double_t | fTimebunchCutTime {0} |
TString | fHitBranchName {""} |
TString | fWaveformBranchName {""} |
PndOutputContainerI< BSEmcDigi > * | fDigiArray {nullptr} |
PndInputContainer< 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 |
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 |
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.
Definition at line 28 of file BSEmcFwEndcapOnlineFeatureExtraction.h.
BSEmcFwEndcapOnlineFeatureExtraction::BSEmcFwEndcapOnlineFeatureExtraction | ( | ) |
|
virtual |
|
protectedvirtual |
Define PSA.
|
protectedvirtual |
Implements BSEmcOnlineFeatureExtractionProcess.
|
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.