CMS 3D CMS Logo

TMCReader.h
Go to the documentation of this file.
1 #ifndef TMCReader_H
2 #define TMCReader_H
3 
4 #include "TObject.h"
5 
6 #define FNPNMAX 10
7 #define FNLMODNMAX 9
8 #define FNCHANMAX 200
9 
10 #define fNpns 2
11 #define fNchans 400
12 #define fNbins 102
13 
14 class TMCReader: public TObject
15 {
16 
17  private:
18 
20  long int timestart,timestop;
25  float sumprob;
26 
28 
29  void init();
30 
31  public:
32  // Default Constructor, mainly for Root
33  TMCReader();
34 
35  // Destructor: Does nothing
36  virtual ~TMCReader();
37 
38  void validMCLaser(int,int);
39  void getMCLaserData(int,int);
40  void validMCPulse(int);
41  void getMCPulseData(int);
42 
43  int getSMNumb() {return smN;}
44  int getNbOflmodN() {return nlmodN;}
45  int getlmodN(int indx) {return arr[indx];}
46  int getstartime() {return timestart;}
47  int getstoptime() {return timestop;}
48  int getnevts(int norm) {return (int) evts[norm][0];}
49 
50  void setsmlocal(int sm) {smlocal=sm;}
51  void setcolor(int c) {color=c;}
52  void setdirlmodN(int lmp) {lmdir=lmp;}
53  void setpartition(int p) {part=p;}
54 
55  void changedatatoraw(int,int,int);
56  void changedatatopeak(int,int,int);
57 
58  void printeinjData(int,int,int);
59  void printlaserData(int,int,int,int);
60  void printlaserpeak(int,int,int);
61  void printnormlaserData(int,int,int,int,int);
62  void printnormlaserpeak(int,int,int,int);
63 
64 
65  // ClassDef(TMCReader,1)
66 };
67 
68 #endif
69 
70 
71 
TMCReader::init
void init()
TMCReader::nlmodN
int nlmodN
Definition: TMCReader.h:19
TMCReader::getstoptime
int getstoptime()
Definition: TMCReader.h:47
TMCReader::validMCLaser
void validMCLaser(int, int)
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TMCReader::getNbOflmodN
int getNbOflmodN()
Definition: TMCReader.h:44
TMCReader::setdirlmodN
void setdirlmodN(int lmp)
Definition: TMCReader.h:52
TMCReader::min
double min[2+1][200+10]
Definition: TMCReader.h:22
TMCReader::setpartition
void setpartition(int p)
Definition: TMCReader.h:53
TMCReader::~TMCReader
virtual ~TMCReader()
TMCReader::sig
double sig[2+1][200+10]
Definition: TMCReader.h:23
TMCReader::setsmlocal
void setsmlocal(int sm)
Definition: TMCReader.h:50
TMCReader::changedatatopeak
void changedatatopeak(int, int, int)
TMCReader::lmdir
int lmdir
Definition: TMCReader.h:27
FNPNMAX
#define FNPNMAX
Definition: TMCReader.h:6
TMCReader::printnormlaserData
void printnormlaserData(int, int, int, int, int)
part
part
Definition: HCALResponse.h:20
TMCReader::printlaserData
void printlaserData(int, int, int, int)
TMCReader::printeinjData
void printeinjData(int, int, int)
TMCReader
Definition: TMCReader.h:14
TMCReader::max
double max[2+1][200+10]
Definition: TMCReader.h:22
TMCReader::changedatatoraw
void changedatatoraw(int, int, int)
TMCReader::getlmodN
int getlmodN(int indx)
Definition: TMCReader.h:45
TMCReader::sumprob
float sumprob
Definition: TMCReader.h:25
TMCReader::getstartime
int getstartime()
Definition: TMCReader.h:46
TMCReader::setcolor
void setcolor(int c)
Definition: TMCReader.h:51
TMCReader::timestart
long int timestart
Definition: TMCReader.h:20
TMCReader::TMCReader
TMCReader()
FNCHANMAX
#define FNCHANMAX
Definition: TMCReader.h:8
FNLMODNMAX
#define FNLMODNMAX
Definition: TMCReader.h:7
TMCReader::smN
int smN
Definition: TMCReader.h:19
TMCReader::getMCPulseData
void getMCPulseData(int)
TMCReader::getMCLaserData
void getMCLaserData(int, int)
TMCReader::color
int color
Definition: TMCReader.h:27
TMCReader::printlaserpeak
void printlaserpeak(int, int, int)
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
TMCReader::getSMNumb
int getSMNumb()
Definition: TMCReader.h:43
TMCReader::validMCPulse
void validMCPulse(int)
TMCReader::smlocal
int smlocal
Definition: TMCReader.h:27
TMCReader::getnevts
int getnevts(int norm)
Definition: TMCReader.h:48
fNpns
#define fNpns
Definition: TMCReader.h:10
TMCReader::printnormlaserpeak
void printnormlaserpeak(int, int, int, int)
TMCReader::wbin
double wbin[2+1][200+10]
Definition: TMCReader.h:24
TMCReader::arr
int arr[9]
Definition: TMCReader.h:19
TMCReader::part
int part
Definition: TMCReader.h:27
TMCReader::evts
float evts[2+1][200+10]
Definition: TMCReader.h:21
TMCReader::val
double val[2+1][200+10]
Definition: TMCReader.h:23
TMCReader::timestop
long int timestop
Definition: TMCReader.h:20