9#ifndef NTUPLEPHASE1_V6MODULE_H
10#define NTUPLEPHASE1_V6MODULE_H
12#include <framework/core/Module.h>
14#include <beast/analysis/modules/BEASTTree_v5.h>
57 virtual void event()
override;
63 virtual void endRun()
override;
Read SKB PVs, simulated measurements of BEAST sensors, and write scaled simulated Ntuple in BEAST pha...
std::vector< Double_t > m_input_LB_HE3_rate_av
list of HE3 LB rate
std::vector< Double_t > m_input_HB_HE3_rate_av
list of HE3 HB rate
Int_t m_input_BGSol
time stamp start and stop
std::vector< Double_t > m_input_HB_PIN_dose_av
list of PIN HB dose
std::vector< Double_t > m_input_I_HER
HER current and error.
std::vector< Double_t > m_input_LT_DOSI
list of PIN LT dose
std::vector< Double_t > m_input_LT_DIA_dose
list of DIA LT dose
std::vector< Double_t > m_input_HT_TPC_rate
list of TPC HT rate
std::vector< Double_t > m_input_sigma_y_HER
HER beam size and errors.
std::vector< Double_t > m_input_HC_HE3_rate_av
list of HE3 HC rate
std::vector< Double_t > m_input_LC_TPC_angular_dose[12]
list of TPC_angular LC dose
std::vector< Double_t > m_input_HB_SAD_RLR_av
list of SAD_RLR HB dose
std::vector< Double_t > m_input_bunchNb_HER
HER bunch number and error.
std::vector< Double_t > m_input_HC_DIA_dose_av
list of DIA HC dose
std::vector< Double_t > m_input_LB_TPC_angular_dose[12]
list of TPC_angular LB dose
std::vector< Double_t > m_input_sigma_x_LER
LER beam size and errors.
std::vector< Double_t > m_input_HB_TPC_angular_dose[12]
list of TPC_angular HB dose
std::vector< Double_t > m_input_LC_PIN_dose[12]
list of PIN LC dose
std::vector< Double_t > m_input_LC_CLAWS_rate_av
list of CLAWS_rate LC
std::vector< Double_t > m_input_LC_CSI_rate_av
list of CSI LC rate
std::vector< Double_t > m_input_P_HER
HER pressure and error.
std::vector< Double_t > m_input_HC_TPC_angular_rate[12]
list of TPC_angular HC rate
std::vector< Double_t > m_input_LB_PIN_dose_av
list of PIN LB dose
std::vector< Double_t > m_input_HC_CSI_rate[12]
list of CSI HC rate
std::vector< Double_t > m_input_sigma_x_HER
HER beam size and errors.
std::vector< Double_t > m_input_HT_SAD_RLR
list of SAD_RLR HT dose
std::vector< std::string > m_inputRateHistoNamesVrs
list of file names
std::vector< Double_t > m_input_LB_BGO_dose_av
list of BGO LB dose
std::vector< Double_t > m_input_LC_QCSS_rate[12]
list of QCSS_rate LC
std::vector< Double_t > m_input_HB_PIN_dose[12]
list of PIN HB dose
std::vector< Double_t > m_input_HC_HE3_rate[12]
list of HE3 HC rate
Double_t m_input_data_bunchNb_LER
LER bunch number and error.
std::vector< Double_t > m_input_LC_TPC_rate[12]
list of TPC LC rate
std::vector< Double_t > m_input_HB_DOSI_av
list of PIN HB dose
std::vector< Double_t > m_input_HB_CLAWS_rate_av
list of CLAWS_rate HB
std::vector< Double_t > m_input_LT_TPC_angular_rate
list of TPC_angular LT rate
std::vector< Double_t > m_input_LB_CSI_dose_binE[12]
list of CSI LB dose_binE
std::vector< Double_t > m_input_LC_DOSI_av
list of PIN LC dose
std::vector< Double_t > m_input_HC_CSI_dose_binE_av
list of CSI HC dose_binE
virtual void initialize() override
Initialize the Module.
std::vector< Double_t > m_input_LC_DIA_dose_av
list of DIA LC dose
std::vector< Double_t > m_input_LC_TPC_dose[12]
list of TPC LC dose
std::vector< Double_t > m_input_HT_QCSS_rate
list of QCSS_rate HT
std::vector< Double_t > m_input_HB_TPC_dose_av
list of TPC HB dose
std::vector< Double_t > m_input_HT_HE3_rate
list of HE3 HT rate
virtual ~NtuplePhase1_v6Module()
Destructor.
std::vector< Double_t > m_input_HC_TPC_angular_dose[12]
list of TPC_angular HC dose
std::vector< Double_t > m_input_LB_SAD_RLR_av
list of SAD_RLR LB dose
std::vector< Double_t > m_input_HB_TPC_rate_av
list of TPC HB rate
std::vector< Double_t > m_input_LC_SAD_RLR_av
list of SAD_RLR LC dose
TChain * m_tree
tree pointer
std::vector< Double_t > m_input_HB_CSI_dose_binE[12]
list of CSI HB dose_binE
std::vector< Double_t > m_input_HT_CLAWS_rate
list of CLAWS_rate HT
std::vector< Double_t > m_input_LC_CLAWS_rate[12]
list of CLAWS_rate LC
std::vector< Double_t > m_input_HB_CSI_rate[12]
list of CSI HB rate
virtual void event() override
Event processor.
int m_numEntries
number of ntuple entries
std::vector< Double_t > m_input_LB_TPC_angular_rate_av
list of TPC_angular LB rate
std::vector< Double_t > m_input_HT_DOSI
list of PIN HT dose
int m_entryCounter
entry counter
std::vector< Double_t > m_input_LB_CSI_dose_binE_av
list of CSI LB dose_binE
std::vector< Double_t > m_input_LB_TPC_dose_av
list of TPC LB dose
std::vector< Double_t > m_input_HC_CSI_dose_av
list of CSI HC dose
std::vector< Double_t > m_input_LT_CSI_dose
list of CSI LT dose
std::vector< Double_t > m_input_LB_CLAWS_rate_av
list of CLAWS_rate LB
std::vector< Double_t > m_input_LT_HE3_rate
list of HE3 LT rate
std::vector< Double_t > m_input_LC_CSI_dose_av
list of CSI LC dose
std::vector< Double_t > m_input_HC_BGO_dose[12]
list of BGO HC dose
std::vector< Double_t > m_input_HB_TPC_dose[12]
list of TPC HB dose
std::vector< Double_t > m_input_HC_TPC_angular_rate_av
list of TPC_angular HC rate
virtual void endRun() override
End-of-run action.
std::vector< Double_t > m_input_HB_QCSS_rate[12]
list of QCSS_rate HB
std::vector< Double_t > m_input_HT_CSI_dose
list of CSI HT dose
std::vector< Double_t > m_input_LC_BGO_dose_av
list of BGO LC dose
std::vector< Double_t > m_input_LC_HE3_rate_av
list of HE3 LC rate
virtual void terminate() override
Termination action.
Double_t m_input_data_bunchNb_HER
HER bunch number and error.
std::string m_inputFileName
input file name
std::vector< Double_t > m_input_HB_CSI_rate_av
list of CSI HB rate
std::vector< Double_t > m_input_LT_TPC_dose
list of TPC LT dose
std::vector< Double_t > m_input_HC_QCSS_rate[12]
list of QCSS_rate HC
std::vector< Double_t > m_input_HC_SAD_RLR
list of SAD_RLR HC dose
std::vector< Double_t > m_input_LT_CSI_rate
list of CSI LT rate
std::vector< Double_t > m_input_LB_TPC_rate_av
list of TPC LB rate
std::vector< Double_t > m_input_LB_SAD_RLR
list of SAD_RLR LB dose
std::vector< Double_t > m_input_LB_HE3_rate[12]
list of HE3 LB rate
unsigned m_exp
Date of the day.
Int_t m_input_part
which components to take into account
std::vector< std::string > m_inputFileNames
list of file names
std::vector< Double_t > m_input_LC_TPC_angular_rate[12]
list of TPC_angular LC rate
std::string m_input_data_SingleBeam
LER or HER or Both.
std::vector< Double_t > m_input_HC_CLAWS_rate_av
list of CLAWS_rate HC
std::vector< Double_t > m_input_LC_QCSS_rate_av
list of QCSS_rate LC
std::vector< Double_t > m_input_HC_CSI_dose_binE[12]
list of CSI HC dose_binE
std::vector< Double_t > m_input_HE3_EfCor
HE3 inefficiency correction.
std::vector< Double_t > m_input_LB_TPC_rate[12]
list of TPC LB rate
std::vector< Double_t > m_input_GasCorrection
time stamp start and stop
std::vector< Double_t > m_input_HC_SAD_RLR_av
list of SAD_RLR HC dose
std::vector< std::string > m_inputDoseHistoNamesVrs
list of file names
std::vector< Double_t > m_input_LB_DIA_dose[12]
list of DIA LB dose
std::vector< Double_t > m_input_HB_DIA_dose[12]
list of DIA HB dose
std::vector< Double_t > m_input_HB_SAD_RLR
list of SAD_RLR HB dose
std::vector< Double_t > m_input_HC_PIN_dose_av
list of PIN HC dose
std::vector< Double_t > m_input_HC_CLAWS_rate[12]
list of CLAWS_rate HC
std::vector< Double_t > m_input_HC_TPC_rate_av
list of TPC HC rate
std::vector< Double_t > m_input_LB_DIA_dose_av
list of DIA LB dose
BEAST_v5::BEASTTree_v5 m_beast
BEAST structure.
std::vector< Double_t > m_input_HB_TPC_angular_rate_av
list of TPC_angular HB rate
std::vector< Double_t > m_input_LC_HE3_rate[12]
list of HE3 LC rate
Double_t m_input_Z_scaling[4]
time stamp start and stop
Double_t m_input_PIN_width
PIN width.
std::vector< Double_t > m_input_LB_CSI_dose_av
list of CSI LB dose
std::vector< Double_t > m_input_LT_QCSS_rate
list of QCSS_rate LT
std::vector< Double_t > m_input_HC_TPC_dose_av
list of TPC HC dose
std::vector< Double_t > m_input_HT_TPC_angular_rate
list of TPC_angular HT rate
virtual void beginRun() override
Called when entering a new run.
std::vector< Double_t > m_input_HB_DIA_dose_av
list of DIA HB dose
std::vector< Double_t > m_input_HB_QCSS_rate_av
list of QCSS_rate HB
std::vector< Double_t > m_input_LB_CLAWS_rate[12]
list of CLAWS_rate LB
std::vector< Double_t > m_input_HT_CSI_dose_binE
list of CSI HT dose_binE
std::vector< Double_t > m_input_LC_CSI_dose_binE_av
list of CSI LC dose_binE
std::vector< Double_t > m_input_LC_DOSI[12]
list of PIN LC dose
std::vector< Double_t > m_input_LB_DOSI[12]
list of PIN LB dose
std::vector< Double_t > m_input_HC_BGO_dose_av
list of BGO HC dose
std::vector< Double_t > m_input_LB_CSI_dose[12]
list of CSI LB dose
std::vector< Double_t > m_input_HB_HE3_rate[12]
list of HE3 HB rate
std::vector< Double_t > m_input_LC_TPC_dose_av
list of TPC LC dose
std::vector< std::string > m_inputDoseHistoNames
list of file names
std::vector< Double_t > m_input_HC_TPC_rate[12]
list of TPC HC rate
double m_input_Time_eqv
time stamp eqv
std::vector< Double_t > m_input_HC_TPC_dose[12]
list of TPC HC dose
std::vector< Double_t > m_input_HT_TPC_angular_dose
list of TPC_angular HT dose
Int_t m_input_ToSol
time stamp start and stop
std::vector< Double_t > m_input_LB_TPC_angular_dose_av
list of TPC_angular LB dose
std::vector< Double_t > m_input_HT_BGO_dose
list of BGO HT dose
std::vector< Double_t > m_input_LB_PIN_dose[12]
list of PIN LB dose
std::vector< Double_t > m_input_LT_SAD_RLR
list of SAD_RLR LT dose
std::vector< Double_t > m_input_LC_TPC_angular_dose_av
list of TPC_angular LC dose
std::vector< Double_t > m_input_LB_BGO_dose[12]
list of BGO LB dose
void printModuleParams() const
Prints module parameters.
std::vector< std::string > m_inputRateHistoNames
list of file names
std::vector< Double_t > m_input_HT_TPC_dose
list of TPC HT dose
std::vector< Double_t > m_input_LC_CSI_rate[12]
list of CSI LC rate
std::vector< Double_t > m_input_LC_CSI_dose[12]
list of CSI LC dose
std::vector< Double_t > m_input_HC_QCSS_rate_av
list of QCSS_rate HC
std::vector< Double_t > m_input_LC_CSI_dose_binE[12]
list of CSI LC dose_binE
std::vector< Double_t > m_input_HB_TPC_rate[12]
list of TPC HB rate
std::vector< Double_t > m_input_LC_TPC_rate_av
list of TPC LC rate
std::vector< Double_t > m_input_HC_DIA_dose[12]
list of DIA HC dose
std::vector< Double_t > m_input_HB_CSI_dose_av
list of CSI HB dose
TTree * m_treeTruth
Truth tree pointer.
std::vector< Double_t > m_input_LT_TPC_angular_dose
list of TPC_angular LT dose
std::vector< Double_t > m_input_HC_DOSI_av
list of PIN HC dose
std::vector< Double_t > m_input_P_LER
LER pressure and error.
std::vector< Double_t > m_input_HB_TPC_angular_rate[12]
list of TPC_angular HB rate
NtuplePhase1_v6Module()
Constructor.
std::vector< Double_t > m_input_LB_QCSS_rate_av
list of QCSS_rate LB
std::vector< Double_t > m_input_HT_CSI_rate
list of CSI HT rate
std::vector< Double_t > m_input_HB_TPC_angular_dose_av
list of TPC_angular HB dose
std::vector< Double_t > m_input_LB_CSI_rate_av
list of CSI LB rate
std::vector< Double_t > m_input_LB_TPC_dose[12]
list of TPC LB dose
std::vector< Double_t > m_input_HB_DOSI[12]
list of PIN HB dose
std::vector< Double_t > m_input_HC_CSI_dose[12]
list of CSI HC dose
std::vector< Double_t > m_input_HB_CSI_dose_binE_av
list of CSI HB dose_binE
std::vector< Double_t > m_input_I_LER
LER current and error.
std::vector< Double_t > m_input_LB_DOSI_av
list of PIN LB dose
unsigned m_eventCount
current event (tree entry)
std::vector< Double_t > m_input_sigma_y_LER
LER beam size and errors.
std::vector< Double_t > m_input_LB_QCSS_rate[12]
list of QCSS_rate LB
std::vector< Double_t > m_input_HB_CLAWS_rate[12]
list of CLAWS_rate HB
TTree * m_treeBEAST
BEAST tree pointer.
std::vector< Int_t > m_input_ts
time stamp start and stop
std::vector< Double_t > m_input_LT_CSI_dose_binE
list of CSI LT dose_binE
std::vector< Double_t > m_input_LT_CLAWS_rate
list of CLAWS_rate LT
std::vector< Double_t > m_input_LC_TPC_angular_rate_av
list of TPC_angular LC rate
std::vector< Double_t > m_input_HC_CSI_rate_av
list of CSI HC rate
std::vector< Double_t > m_input_Z
input Z
std::vector< Double_t > m_input_HC_DOSI[12]
list of PIN HC dose
std::vector< Double_t > m_input_LT_PIN_dose
list of PIN LT dose
std::vector< Double_t > m_input_LC_SAD_RLR
list of SAD_RLR LC dose
std::vector< Double_t > m_input_LT_TPC_rate
list of TPC LT rate
std::vector< std::string > m_inputHistoFileNames
list of histo.
unsigned m_numEvents
number of events (tree entries) in the sample
std::vector< Double_t > m_input_LC_DIA_dose[12]
list of DIA LC dose
std::vector< Double_t > m_input_HB_BGO_dose[12]
list of BGO HB dose
std::vector< Double_t > m_input_LC_PIN_dose_av
list of PIN LC dose
std::vector< Double_t > m_input_HB_CSI_dose[12]
list of CSI HB dose
std::vector< Double_t > m_input_bunchNb_LER
LER bunch number and error.
std::vector< Double_t > m_input_LB_TPC_angular_rate[12]
list of TPC_angular LB rate
std::vector< Double_t > m_input_HC_PIN_dose[12]
list of PIN HC dose
std::vector< Double_t > m_input_HC_TPC_angular_dose_av
list of TPC_angular HC dose
std::vector< Double_t > m_input_LB_CSI_rate[12]
list of CSI LB rate
std::vector< Double_t > m_input_LT_BGO_dose
list of BGO LT dose
std::string m_outputFileName
output file name
std::vector< Double_t > m_input_HB_BGO_dose_av
list of BGO HB dose
std::vector< Double_t > m_input_LC_BGO_dose[12]
list of BGO LC dose
std::vector< Double_t > m_input_HT_PIN_dose
list of PIN HT dose
std::vector< Double_t > m_input_HT_DIA_dose
list of DIA HT dose
Abstract base class for different kinds of events.
Structure for the input of the data BEAST (TTree "Data_BEAST")