CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
TMCReader Class Reference

#include <TMCReader.h>

Inheritance diagram for TMCReader:

Public Member Functions

void changedatatopeak (int, int, int)
 
void changedatatoraw (int, int, int)
 
int getlmodN (int indx)
 
void getMCLaserData (int, int)
 
void getMCPulseData (int)
 
int getNbOflmodN ()
 
int getnevts (int norm)
 
int getSMNumb ()
 
int getstartime ()
 
int getstoptime ()
 
void printeinjData (int, int, int)
 
void printlaserData (int, int, int, int)
 
void printlaserpeak (int, int, int)
 
void printnormlaserData (int, int, int, int, int)
 
void printnormlaserpeak (int, int, int, int)
 
void setcolor (int c)
 
void setdirlmodN (int lmp)
 
void setpartition (int p)
 
void setsmlocal (int sm)
 
 TMCReader ()
 
void validMCLaser (int, int)
 
void validMCPulse (int)
 
virtual ~TMCReader ()
 

Static Public Attributes

static constexpr unsigned int fNbins = 102
 
static constexpr unsigned int FNCHANMAX = 200
 
static constexpr unsigned int fNchans = 400
 
static constexpr unsigned int FNLMODNMAX = 9
 
static constexpr unsigned int FNPNMAX = 10
 
static constexpr unsigned int fNpns = 2
 

Private Member Functions

void init ()
 

Private Attributes

int arr [FNLMODNMAX]
 
int color
 
float evts [fNpns+1][FNCHANMAX+FNPNMAX]
 
int lmdir
 
double max [fNpns+1][FNCHANMAX+FNPNMAX]
 
double min [fNpns+1][FNCHANMAX+FNPNMAX]
 
int nlmodN
 
int part
 
double sig [fNpns+1][FNCHANMAX+FNPNMAX]
 
int smlocal
 
int smN
 
float sumprob
 
long int timestart
 
long int timestop
 
double val [fNpns+1][FNCHANMAX+FNPNMAX]
 
double wbin [fNpns+1][FNCHANMAX+FNPNMAX]
 

Detailed Description

Definition at line 6 of file TMCReader.h.

Constructor & Destructor Documentation

◆ TMCReader()

TMCReader::TMCReader ( )

◆ ~TMCReader()

virtual TMCReader::~TMCReader ( )
virtual

Member Function Documentation

◆ changedatatopeak()

void TMCReader::changedatatopeak ( int  ,
int  ,
int   
)

◆ changedatatoraw()

void TMCReader::changedatatoraw ( int  ,
int  ,
int   
)

◆ getlmodN()

int TMCReader::getlmodN ( int  indx)
inline

Definition at line 42 of file TMCReader.h.

42 { return arr[indx]; }

References arr.

◆ getMCLaserData()

void TMCReader::getMCLaserData ( int  ,
int   
)

◆ getMCPulseData()

void TMCReader::getMCPulseData ( int  )

◆ getNbOflmodN()

int TMCReader::getNbOflmodN ( )
inline

Definition at line 41 of file TMCReader.h.

41 { return nlmodN; }

References nlmodN.

◆ getnevts()

int TMCReader::getnevts ( int  norm)
inline

Definition at line 45 of file TMCReader.h.

45 { return (int)evts[norm][0]; }

References evts.

◆ getSMNumb()

int TMCReader::getSMNumb ( )
inline

Definition at line 40 of file TMCReader.h.

40 { return smN; }

References smN.

◆ getstartime()

int TMCReader::getstartime ( )
inline

Definition at line 43 of file TMCReader.h.

43 { return timestart; }

References timestart.

◆ getstoptime()

int TMCReader::getstoptime ( )
inline

Definition at line 44 of file TMCReader.h.

44 { return timestop; }

References timestop.

◆ init()

void TMCReader::init ( )
private

◆ printeinjData()

void TMCReader::printeinjData ( int  ,
int  ,
int   
)

◆ printlaserData()

void TMCReader::printlaserData ( int  ,
int  ,
int  ,
int   
)

◆ printlaserpeak()

void TMCReader::printlaserpeak ( int  ,
int  ,
int   
)

◆ printnormlaserData()

void TMCReader::printnormlaserData ( int  ,
int  ,
int  ,
int  ,
int   
)

◆ printnormlaserpeak()

void TMCReader::printnormlaserpeak ( int  ,
int  ,
int  ,
int   
)

◆ setcolor()

void TMCReader::setcolor ( int  c)
inline

Definition at line 48 of file TMCReader.h.

48 { color = c; }

References c, and color.

◆ setdirlmodN()

void TMCReader::setdirlmodN ( int  lmp)
inline

Definition at line 49 of file TMCReader.h.

49 { lmdir = lmp; }

References lmdir.

◆ setpartition()

void TMCReader::setpartition ( int  p)
inline

Definition at line 50 of file TMCReader.h.

50 { part = p; }

References AlCaHLTBitMon_ParallelJobs::p.

◆ setsmlocal()

void TMCReader::setsmlocal ( int  sm)
inline

Definition at line 47 of file TMCReader.h.

47 { smlocal = sm; }

References smlocal.

◆ validMCLaser()

void TMCReader::validMCLaser ( int  ,
int   
)

◆ validMCPulse()

void TMCReader::validMCPulse ( int  )

Member Data Documentation

◆ arr

int TMCReader::arr[FNLMODNMAX]
private

Definition at line 16 of file TMCReader.h.

Referenced by getlmodN().

◆ color

int TMCReader::color
private

Definition at line 24 of file TMCReader.h.

Referenced by setcolor(), and edmStreamStallGrapher.StreamInfoElement::unpack().

◆ evts

float TMCReader::evts[fNpns+1][FNCHANMAX+FNPNMAX]
private

Definition at line 18 of file TMCReader.h.

Referenced by getnevts().

◆ fNbins

constexpr unsigned int TMCReader::fNbins = 102
staticconstexpr

Definition at line 13 of file TMCReader.h.

◆ FNCHANMAX

constexpr unsigned int TMCReader::FNCHANMAX = 200
staticconstexpr

Definition at line 10 of file TMCReader.h.

◆ fNchans

constexpr unsigned int TMCReader::fNchans = 400
staticconstexpr

Definition at line 12 of file TMCReader.h.

◆ FNLMODNMAX

constexpr unsigned int TMCReader::FNLMODNMAX = 9
staticconstexpr

Definition at line 9 of file TMCReader.h.

◆ FNPNMAX

constexpr unsigned int TMCReader::FNPNMAX = 10
staticconstexpr

Definition at line 8 of file TMCReader.h.

◆ fNpns

constexpr unsigned int TMCReader::fNpns = 2
staticconstexpr

Definition at line 11 of file TMCReader.h.

◆ lmdir

int TMCReader::lmdir
private

Definition at line 24 of file TMCReader.h.

Referenced by setdirlmodN().

◆ max

double TMCReader::max[fNpns+1][FNCHANMAX+FNPNMAX]
private

Definition at line 19 of file TMCReader.h.

◆ min

double TMCReader::min[fNpns+1][FNCHANMAX+FNPNMAX]
private

Definition at line 19 of file TMCReader.h.

◆ nlmodN

int TMCReader::nlmodN
private

Definition at line 16 of file TMCReader.h.

Referenced by getNbOflmodN().

◆ part

int TMCReader::part
private

◆ sig

double TMCReader::sig[fNpns+1][FNCHANMAX+FNPNMAX]
private

Definition at line 20 of file TMCReader.h.

◆ smlocal

int TMCReader::smlocal
private

Definition at line 24 of file TMCReader.h.

Referenced by setsmlocal().

◆ smN

int TMCReader::smN
private

Definition at line 16 of file TMCReader.h.

Referenced by getSMNumb().

◆ sumprob

float TMCReader::sumprob
private

Definition at line 22 of file TMCReader.h.

◆ timestart

long int TMCReader::timestart
private

Definition at line 17 of file TMCReader.h.

Referenced by getstartime().

◆ timestop

long int TMCReader::timestop
private

Definition at line 17 of file TMCReader.h.

Referenced by getstoptime().

◆ val

double TMCReader::val[fNpns+1][FNCHANMAX+FNPNMAX]
private

◆ wbin

double TMCReader::wbin[fNpns+1][FNCHANMAX+FNPNMAX]
private

Definition at line 21 of file TMCReader.h.

TMCReader::nlmodN
int nlmodN
Definition: TMCReader.h:16
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TMCReader::evts
float evts[fNpns+1][FNCHANMAX+FNPNMAX]
Definition: TMCReader.h:18
TMCReader::lmdir
int lmdir
Definition: TMCReader.h:24
part
part
Definition: HCALResponse.h:20
TMCReader::timestart
long int timestart
Definition: TMCReader.h:17
TMCReader::smN
int smN
Definition: TMCReader.h:16
TMCReader::color
int color
Definition: TMCReader.h:24
TMCReader::arr
int arr[FNLMODNMAX]
Definition: TMCReader.h:16
TMCReader::smlocal
int smlocal
Definition: TMCReader.h:24
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
TMCReader::timestop
long int timestop
Definition: TMCReader.h:17