9#ifndef CSISTUDY_V2MODULE_H
10#define CSISTUDY_V2MODULE_H
12#include <framework/core/HistoModule.h>
13#include <framework/datastore/StoreArray.h>
14#include <beast/csi/dataobjects/CsiSimHit.h>
15#include <beast/csi/dataobjects/CsiHit_v2.h>
16#include <generators/SAD/dataobjects/SADMetaHit.h>
62 virtual void event()
override;
68 virtual void endRun()
override;
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Accessor to arrays stored in the data store.
Study module for Csis (BEAST)
TH1F * h_csi_dedep[18][153]
Energy.
CsiStudy_v2Module()
Constructor: Sets the description, the properties and the parameters of the module.
double m_Thres_hitRate[18][200]
Rate.
StoreArray< CsiSimHit > SimHits
Array of sim hits.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
TH2F * h_csi_rs_drate[153]
Rate.
virtual void endRun() override
End-of-run action.
TH1F * h_csi_denergy[18][153]
Energy.
virtual void getXMLData()
reads data from CSI.xml: tube location, drift data filename, sigma of impulse response function
virtual void terminate() override
Termination action.
virtual ~CsiStudy_v2Module()
Destructor.
StoreArray< CsiHit_v2 > Hits
Array of digi hits.
TH2F * h_csi_rs_denergy[18][153]
Energy.
virtual void beginRun() override
Called when entering a new run.
StoreArray< SADMetaHit > MetaHits
Array of SAD particle.
TH1F * h_csi_drate[153]
Rate.
double m_Thres_sumE[18][200]
Energy threshold.
double m_Ethres
Energy threshold.
TH2F * h_csi_rs_dedep[18][153]
Energy.
virtual void defineHisto() override
Defines the histograms.
Abstract base class for different kinds of events.