CMS 3D CMS Logo

TPEDestalAnalysis.h
Go to the documentation of this file.
1 #ifndef TPEDestalAnalysis_H
2 #define TPEDestalAnalysis_H
3 
4 #include "TObject.h"
5 
6 class TPEDestalAnalysis : public TObject {
7 public:
8  static constexpr unsigned int fNpns = 2;
9  static constexpr unsigned int fNchans = 400;
10  static constexpr unsigned int ngains = 3;
11 
12 private:
13  int nevt;
19 
22 
23  void init();
24 
25 public:
26  // Default Constructor, mainly for Root
28 
29  // Destructor: Does nothing
30  virtual ~TPEDestalAnalysis();
31 
32  void reinit();
33  void reinit(int);
34  void putDateStart(int, long int);
35  void putDateStop(int, long int);
36  void putpnDateStart(int, long int);
37  void putpnDateStop(int, long int);
38  void getDateStart(int);
39  void getDateStop(int);
40  double getCuthflow(int g, int i) { return cuthflow[g][i]; }
41  double getCutbfhig(int g, int i) { return cutbfhig[g][i]; }
42  void putValues(int, int, double, double, double);
43  void putValuesWithCuts(int, int, double, double, double);
44  void computepedestalcuts(int, int, int, int);
45  void printpedestalData(int, int, int, int, int, int);
46 
47  // ClassDef(TPEDestalAnalysis,1)
48 };
49 
50 #endif
mps_fire.i
i
Definition: mps_fire.py:428
TPEDestalAnalysis::valbf
double valbf[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:17
TPEDestalAnalysis::getCutbfhig
double getCutbfhig(int g, int i)
Definition: TPEDestalAnalysis.h:41
TPEDestalAnalysis::sighf
double sighf[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:16
TPEDestalAnalysis::timestart
long int timestart[ngains]
Definition: TPEDestalAnalysis.h:14
TPEDestalAnalysis::pntimestart
long int pntimestart[ngains]
Definition: TPEDestalAnalysis.h:15
TPEDestalAnalysis::putpnDateStart
void putpnDateStart(int, long int)
TPEDestalAnalysis
Definition: TPEDestalAnalysis.h:6
TPEDestalAnalysis::cuthflow
double cuthflow[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:20
TPEDestalAnalysis::cutbfhig
double cutbfhig[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:21
TPEDestalAnalysis::TPEDestalAnalysis
TPEDestalAnalysis()
TPEDestalAnalysis::putValues
void putValues(int, int, double, double, double)
TPEDestalAnalysis::evtn
double evtn[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:18
TPEDestalAnalysis::cuthfhig
double cuthfhig[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:20
TPEDestalAnalysis::putpnDateStop
void putpnDateStop(int, long int)
TPEDestalAnalysis::pntimestop
long int pntimestop[ngains]
Definition: TPEDestalAnalysis.h:15
TPEDestalAnalysis::fNpns
static constexpr unsigned int fNpns
Definition: TPEDestalAnalysis.h:8
TPEDestalAnalysis::cutbflow
double cutbflow[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:21
TPEDestalAnalysis::reinit
void reinit()
TPEDestalAnalysis::init
void init()
TPEDestalAnalysis::getCuthflow
double getCuthflow(int g, int i)
Definition: TPEDestalAnalysis.h:40
TPEDestalAnalysis::putDateStop
void putDateStop(int, long int)
TPEDestalAnalysis::valhf
double valhf[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:16
TPEDestalAnalysis::putDateStart
void putDateStart(int, long int)
TPEDestalAnalysis::computepedestalcuts
void computepedestalcuts(int, int, int, int)
TPEDestalAnalysis::evts
double evts[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:18
TPEDestalAnalysis::putValuesWithCuts
void putValuesWithCuts(int, int, double, double, double)
TPEDestalAnalysis::sigbf
double sigbf[ngains][fNchans+fNpns]
Definition: TPEDestalAnalysis.h:17
TPEDestalAnalysis::getDateStop
void getDateStop(int)
TPEDestalAnalysis::~TPEDestalAnalysis
virtual ~TPEDestalAnalysis()
TPEDestalAnalysis::timestop
long int timestop[ngains]
Definition: TPEDestalAnalysis.h:14
TPEDestalAnalysis::getDateStart
void getDateStart(int)
TPEDestalAnalysis::ngains
static constexpr unsigned int ngains
Definition: TPEDestalAnalysis.h:10
TPEDestalAnalysis::fNchans
static constexpr unsigned int fNchans
Definition: TPEDestalAnalysis.h:9
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
TPEDestalAnalysis::printpedestalData
void printpedestalData(int, int, int, int, int, int)
TPEDestalAnalysis::nevt
int nevt
Definition: TPEDestalAnalysis.h:13