11#include <svd/dataobjects/SVDShaperDigit.h>
12#include <svd/dataobjects/SVDAPVHistograms.h>
14#include <framework/core/Module.h>
15#include <framework/datastore/StoreArray.h>
16#include <mdst/dataobjects/SoftwareTriggerResult.h>
41 void event()
override;
template class for the APV Histograms
The module is used to create a TTree to study the number of strips fired per event per APV chip.
std::string m_rootFileName
root file name
unsigned int m_svdLadder
ladder
std::string m_shapersStoreArrayName
storeArray name of the input ShaperDigits
unsigned int m_svdLayer
layer
bool m_skipRejectedEvents
if true skip events rejected by HLT
void initialize() override
Register input and output data.
unsigned int m_svdSensor
sensor
unsigned int m_svdHits
APV hits per event.
StoreArray< SVDShaperDigit > m_shapers
array of SVDShaperDigits
void event() override
Compute the variables and fill the tree.
void terminate() override
Write the TTrees to the file.
unsigned int m_svdChip
chip
SVDAPVHistograms< TH1F > * m_hHits
hits per APV
void beginRun() override
Define APVHistogram.
unsigned int m_event
event number
SVDMaxStripTTreeModule()
Constructor.
unsigned int m_svdSide
side
StoreObjPtr< SoftwareTriggerResult > m_resultStoreObjectPointer
Store Object to read the trigger decision.
TTree * m_t
tree containing info related to the U and V side strips
TFile * m_rootFilePtr
pointer at root file used for storing histograms
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.