9 #include <framework/core/HistoModule.h>
49 void event()
override;
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
This Module, made for ExpressReco, monitors the position and the dimension of the beamspot using mu+m...
TH1F * m_h_temp
initial histogram for median calculation
TH1F * m_h_cov_x_y
Cov xy.
TH1F * m_h_cov_y_z
Cov yz.
TH1F * m_h_px
x coord momentum in LAB frame
void initialize() override
Initialize the module.
Double_t m_median
The median of y coord.
void event() override
Event processor The main analysis happens here.
std::string m_Y4SPListName
Name of the Y4S particle list.
void endRun() override
End-of-run action.
Int_t m_size_per_unit
Size for sampling per each unit.
TH1F * m_h_E
Energy in LAB frame.
TH1F * m_h_py
y coord momentum in LAB frame
void terminate() override
Termination action.
TH1F * m_h_y_risol
y resolution
Int_t m_no_units
Number of units.
Int_t m_r
Counter for sampling.
IPDQMExpressRecoModule()
Constructor.
void beginRun() override
Called when entering a new run Reset the histograms and counter m_r and clear the vectors.
TH1F * m_h_pz
z coord momentum in LAB frame
Int_t m_size
Size for sampling.
std::vector< float > m_v_y
store the y coordinates for the pull
std::vector< float > m_err_y
store the y errors for the pull
Double_t m_quantile
The 0.5 quantile for the median.
TH1F * m_h_cov_x_z
Cov xz.
void defineHisto() override
Defining the histograms.
Abstract base class for different kinds of events.