 |
Belle II Software
release-05-02-19
|
11 #ifndef TOPBACKGROUND_H
12 #define TOPBACKGROUND_H
14 #include <framework/core/Module.h>
34 class TOPBackgroundModule :
public Module {
64 virtual void event()
override;
71 virtual void endRun()
override;
88 void myprint(TH1F* histo,
const char* path,
const char* xtit,
const char* ytit,
double tresh);
149 #endif // TOPBACKGROUND_H
TH1F * zdistg
z distribution of the photoelectron flux
TTree * originpe
tree for saving originpe points
TGraph * module_occupancy
graph zy
TH1F * genergy
energy of gamma that hits the bar
TH1F * zdist
z distribution of primaries
TH2F * nflux_bar
neutron flux on bar
TH1F * cprim
charged primary
TGraph * origin_zx
grapch zx
virtual void event() override
Event processor.
virtual void terminate() override
Termination action.
void myprint(TH1F *histo, const char *path, const char *xtit, const char *ytit, double tresh)
Print histogram 1D, helper function.
TH1F * nprim
neutron primery
double origingamma_y
points from origin_zx and _zy graphs: y
virtual void beginRun() override
Called when entering a new run.
double origingamma_z
points from origin_zx and _zy graphs: z
TH1F * gorigin
gamma origin
TH1F * corigin
charged origin
TFile * m_rootFile
root file for saving histograms
void printModuleParams() const
Prints module parameters.
TGraph * origin_zy
graph zy
double originpe_z
points for origin of mother of photoelectrons: z (=zdist)
std::string m_OutputFileName
Output filename.
TGraph * prim_zx
grapch zx
virtual void endRun() override
End-of-run action.
TH2F * gflux_bar
gamma flux on bar
Abstract base class for different kinds of events.
TH1F * genergy2
energy of gamma that hits the bar
double m_TimeOfSimulation
Time of the simulation of the input file.
double originpe_y
points for origin of mother of photoelectrons: y
TH1F * gprim
gamma primery
TTree * origingamma
tree for saving origingamma points
TH1F * originpt
pt of electrons
TH2F * cflux_bar
charged flux on bar
virtual void initialize() override
Initialize the Module.
TH1F * rdose
radiation dose
TH1F * norigin
nutron origin
virtual ~TOPBackgroundModule()
Destructor.
TOPBackgroundModule()
Constructor.
double origingamma_x
points from origin_zx and _zy graphs: x
double originpe_x
points for origin of mother of photoelectrons: x
std::string m_BkgType
Type of background.