 |
Belle II Software
release-05-02-19
|
11 #ifndef NOKICKCUTSEVAL_H
12 #define NOKICKCUTSEVAL_H
14 #include <framework/core/Module.h>
15 #include <tracking/dataobjects/hitXP.h>
16 #include <tracking/trackFindingVXD/sectorMapTools/NoKickCuts.h>
17 #include <tracking/trackFindingVXD/sectorMapTools/NoKickRTSel.h>
43 class NoKickCutsEvalModule :
public Module {
53 void event()
override;
97 const double c_pmin = 0.025;
99 const double c_tmin = 17.*M_PI / 180.;
100 const double c_tmax = 5. / 6.*M_PI;
119 std::vector<std::vector<std::vector<std::vector<std::vector<TH1F*>>>>>
m_histo;
const double c_pmin
alternative cut function (not used, wider cuts)
void endRun() override
This method is called if the current run ends.
const int c_nbin
number of bins of histogram of DeltaX
NoKickRTSel m_trackSel
auxiliary variable to use methods of NoKickRTSel
bool c_fitMethod
flag to activate the fit method to evaluate the cuts
void terminate() override
This method is called at the end of the event processing.
const double c_over
escape flag of some methods
const int c_nbint
number of theta parameters
const double c_multLimit
multiplier of the range limit of the histograms of DeltaX
double deltaParEval(hitXP hit1, hitXP hit2, NoKickCuts::EParameters par, bool is0=false)
enum for the track-parameters
std::vector< double > m_histoLim
limits of DeltaX histograms
EParameters
enum for parameters name
const double c_pmax
maximum momentum evaluated
bool c_validationON
flag to activate some validation plots
double c_twidth
width of theta bin
const int c_nbinlay
present IP too.
void initialize() override
Initialize the Module.
const double c_tmax
150 degrees.
TFile * m_outputFile
output file of cuts
std::vector< TString > m_unitPar
units of tracks parameters
double c_pwidth
width of momentum bin
Abstract base class for different kinds of events.
int m_globCounter
counter of tracks cutted from global cuts
const int c_nbinpar
number of track parameters
double cutFunction(int p, double pwidth)
This is the funcion that select the percentage that has to be cut away from deltaPar distributions (f...
std::vector< std::vector< std::vector< std::vector< std::vector< TH1F * > > > > > m_histo
DeltaX histograms.
This class implement some methods useful for the application of cuts evaluated in NoKickCutsEval modu...
int m_pCounter
conter of hit out of range in momentum
const int c_nbinp
number of momentum bins
std::vector< TString > m_namePar
name of track parameters
const double c_tmin
17 degrees.
void event() override
This method is the core of the module.
int m_tCounter
counter of hit out of range in theta