12#include <ecl/dataobjects/ECLElementNumbers.h>
15#include <framework/core/Module.h>
16#include <framework/datastore/StoreArray.h>
55 virtual void event()
override;
a module to write ECL waveform and fitted time and amplitude information in a root ntuple
StoreArray< ECLDsp > m_eclDspArray
Store array: ECLDsp.
double m_hitTime[ECLElementNumbers::c_NCrystals]
eclHit Time
int m_theta[ECLElementNumbers::c_NCrystals]
Crystal Theta ID.
TTree * m_tree
Root tree name.
std::string m_dataOutFileName
output root file name (given as Module parameter)
virtual void initialize() override
Initializes the module.
virtual void event() override
Method is called for each event.
double m_hitE[ECLElementNumbers::c_NCrystals]
eclHit Energy
TFile * m_rootFile
Root file for saving the output.
double m_DeltaT[ECLElementNumbers::c_NCrystals]
eclTrig Time
virtual void terminate() override
Terminates the module.
std::string m_digiArrayName
eclDigit array name
EclCovMatrixNtupleModule()
Constructor.
int m_nhits
Number of eclHits.
StoreArray< ECLTrig > m_eclTrigArray
Store array: ECLTrig.
int m_cellID[ECLElementNumbers::c_NCrystals]
Crystal ID.
std::string m_dspArrayName
eclDSPs array name
int m_DspHit[ECLElementNumbers::c_NCrystals][31]
eclDsp sample Array
int m_phi[ECLElementNumbers::c_NCrystals]
Crystal Phi ID.
StoreArray< ECLDigit > m_eclDigiArray
Store array: ECLDigit.
int m_DigiTime[ECLElementNumbers::c_NCrystals]
eclDigit Time
virtual ~EclCovMatrixNtupleModule()
Destructor.
Accessor to arrays stored in the data store.
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.