CMS 3D CMS Logo

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

#include <TMConfig.h>

Inheritance diagram for TMConfig:

Public Member Functions

float getalpha0 ()
 
double getalpha_ls (int c)
 
double getalpha_run (int, int, int)
 
float getbeta0 ()
 
double getbeta_ls (int c)
 
double getbeta_run (int, int, int)
 
int getfirstPNSample ()
 
int getfirstSample ()
 
int getfirstSM ()
 
int getHighLevelForTRise ()
 
int getlastPNSample ()
 
int getlastSample ()
 
int getLowLevelForTRise ()
 
int getNbOf (int, int)
 
int getNbOfBurstperSignalForSeq (int seqNumb)
 
int getNbOfEventperBurstAndSignalForSeq (int seqNumb)
 
int getNbOfiterations ()
 
int getNbOfMatacqpresamples ()
 
int getNbOfMatacqsamples ()
 
int getNbOfPNpresamples ()
 
int getNbOfPNs (int, int)
 
int getNbOfPNsamples ()
 
int getNbOfsamplesAftMax ()
 
int getNbOfsamplesBefMax ()
 
int getNbOfxtalpresamples ()
 
int getNbOfxtalsamples ()
 
int getNoiseCutForMatacq ()
 
int getPNaddr (int, int, int)
 
int getsampleMax ()
 
int getsampleMin ()
 
int getSignalTypeForSeq (int seqNumb)
 
int getThresForMatacq ()
 
int getTNumb (int, int, int)
 
int getvlastMatacqsample ()
 
int getXNumb (int, int, int)
 
void loadPParams ()
 
 TMConfig ()
 
virtual ~TMConfig ()
 

Private Member Functions

int convert (int)
 
void init ()
 
void initLaserPulseFit ()
 
void initMatacqPulseFit ()
 
void initPNFit ()
 
void initShapeAnalysis ()
 
void initTPFit ()
 
void readlmodNConfig ()
 
void readpnConfig ()
 
void readSequenzaConfig ()
 

Private Attributes

int addrpn [36+1][4+1][10]
 
double alpha [6]
 
double alpha_run [6][36+1][68]
 
double alpha_start
 
int amplhigh_trise
 
int ampllow_trise
 
int arr [36+1][4+1]
 
double beta [6]
 
double beta_run [6][36+1][68]
 
double beta_start
 
int channlist [36+1][9][8+1]
 
int firstpnSample
 
int firstSample
 
int laser_size [6][3+1]
 
int lastpnSample
 
int lastSample
 
int n_pin [36+1][4+1]
 
int nbof [36+1][9+1]
 
int nbofiter
 
int nbofmtqpresamp
 
int nbofmtqsamp1esbeforemax_parab
 
int nbofmtqsamples
 
int nbofmtqsamplesaftermax_parab
 
int nbofmtqsigmas
 
int nbofpnpresamp
 
int nbofpnsamp
 
int nbofpresamp
 
int nbofsamp
 
int numbOfBurstperSignal [3+1]
 
int numbOfEventperBurstAndSignal [3+1]
 
int ped_size [3+1]
 
int samplemax
 
int samplemin
 
int seqTypeOfSignal [3+1]
 
int smin
 
int thres_mtq
 
int towerlist [36+1][9][8+1]
 
int vlastmtqsample
 

Detailed Description

Definition at line 16 of file TMConfig.h.

Constructor & Destructor Documentation

◆ TMConfig()

TMConfig::TMConfig ( )

◆ ~TMConfig()

virtual TMConfig::~TMConfig ( )
virtual

Member Function Documentation

◆ convert()

int TMConfig::convert ( int  )
private

◆ getalpha0()

float TMConfig::getalpha0 ( )
inline

Definition at line 68 of file TMConfig.h.

68 {return alpha_start;}

References alpha_start.

◆ getalpha_ls()

double TMConfig::getalpha_ls ( int  c)
inline

Definition at line 77 of file TMConfig.h.

77 { return alpha[c];}

References alpha, and HltBtagPostValidation_cff::c.

◆ getalpha_run()

double TMConfig::getalpha_run ( int  ,
int  ,
int   
)

◆ getbeta0()

float TMConfig::getbeta0 ( )
inline

Definition at line 69 of file TMConfig.h.

69 {return beta_start;}

References beta_start.

◆ getbeta_ls()

double TMConfig::getbeta_ls ( int  c)
inline

Definition at line 78 of file TMConfig.h.

78 { return beta[c];}

References beta, and HltBtagPostValidation_cff::c.

◆ getbeta_run()

double TMConfig::getbeta_run ( int  ,
int  ,
int   
)

◆ getfirstPNSample()

int TMConfig::getfirstPNSample ( )
inline

Definition at line 66 of file TMConfig.h.

66 {return firstpnSample;}

References firstpnSample.

◆ getfirstSample()

int TMConfig::getfirstSample ( )
inline

Definition at line 64 of file TMConfig.h.

64 {return firstSample;}

References firstSample.

◆ getfirstSM()

int TMConfig::getfirstSM ( )
inline

Definition at line 63 of file TMConfig.h.

63 {return smin;}

References smin.

◆ getHighLevelForTRise()

int TMConfig::getHighLevelForTRise ( )
inline

Definition at line 98 of file TMConfig.h.

98 {return amplhigh_trise;}

References amplhigh_trise.

◆ getlastPNSample()

int TMConfig::getlastPNSample ( )
inline

Definition at line 67 of file TMConfig.h.

67 {return lastpnSample;}

References lastpnSample.

◆ getlastSample()

int TMConfig::getlastSample ( )
inline

Definition at line 65 of file TMConfig.h.

65 {return lastSample;}

References lastSample.

◆ getLowLevelForTRise()

int TMConfig::getLowLevelForTRise ( )
inline

Definition at line 97 of file TMConfig.h.

97 {return ampllow_trise;}

References ampllow_trise.

◆ getNbOf()

int TMConfig::getNbOf ( int  ,
int   
)

◆ getNbOfBurstperSignalForSeq()

int TMConfig::getNbOfBurstperSignalForSeq ( int  seqNumb)
inline

Definition at line 101 of file TMConfig.h.

101 { return numbOfBurstperSignal[seqNumb];}

References numbOfBurstperSignal.

◆ getNbOfEventperBurstAndSignalForSeq()

int TMConfig::getNbOfEventperBurstAndSignalForSeq ( int  seqNumb)
inline

Definition at line 102 of file TMConfig.h.

102 { return numbOfEventperBurstAndSignal[seqNumb];}

References numbOfEventperBurstAndSignal.

◆ getNbOfiterations()

int TMConfig::getNbOfiterations ( )
inline

Definition at line 74 of file TMConfig.h.

74 {return nbofiter;}

References nbofiter.

◆ getNbOfMatacqpresamples()

int TMConfig::getNbOfMatacqpresamples ( )
inline

Definition at line 91 of file TMConfig.h.

91 {return nbofmtqpresamp;}

References nbofmtqpresamp.

◆ getNbOfMatacqsamples()

int TMConfig::getNbOfMatacqsamples ( )
inline

Definition at line 90 of file TMConfig.h.

90 {return nbofmtqsamples;}

References nbofmtqsamples.

◆ getNbOfPNpresamples()

int TMConfig::getNbOfPNpresamples ( )
inline

Definition at line 73 of file TMConfig.h.

73 {return nbofpnpresamp;}

References nbofpnpresamp.

◆ getNbOfPNs()

int TMConfig::getNbOfPNs ( int  ,
int   
)

◆ getNbOfPNsamples()

int TMConfig::getNbOfPNsamples ( )
inline

Definition at line 75 of file TMConfig.h.

75 { return nbofpnsamp;}

References nbofpnsamp.

◆ getNbOfsamplesAftMax()

int TMConfig::getNbOfsamplesAftMax ( )
inline

Definition at line 95 of file TMConfig.h.

References nbofmtqsamplesaftermax_parab.

◆ getNbOfsamplesBefMax()

int TMConfig::getNbOfsamplesBefMax ( )
inline

Definition at line 94 of file TMConfig.h.

References nbofmtqsamp1esbeforemax_parab.

◆ getNbOfxtalpresamples()

int TMConfig::getNbOfxtalpresamples ( )
inline

Definition at line 72 of file TMConfig.h.

72 {return nbofpresamp;}

References nbofpresamp.

◆ getNbOfxtalsamples()

int TMConfig::getNbOfxtalsamples ( )
inline

Definition at line 76 of file TMConfig.h.

76 { return nbofsamp;}

References nbofsamp.

◆ getNoiseCutForMatacq()

int TMConfig::getNoiseCutForMatacq ( )
inline

Definition at line 93 of file TMConfig.h.

93 {return nbofmtqsigmas;}

References nbofmtqsigmas.

◆ getPNaddr()

int TMConfig::getPNaddr ( int  ,
int  ,
int   
)

◆ getsampleMax()

int TMConfig::getsampleMax ( )
inline

Definition at line 71 of file TMConfig.h.

71 {return samplemax;}

References samplemax.

◆ getsampleMin()

int TMConfig::getsampleMin ( )
inline

Definition at line 70 of file TMConfig.h.

70 {return samplemin;}

References samplemin.

◆ getSignalTypeForSeq()

int TMConfig::getSignalTypeForSeq ( int  seqNumb)
inline

Definition at line 100 of file TMConfig.h.

100 { return seqTypeOfSignal[seqNumb];}

References seqTypeOfSignal.

◆ getThresForMatacq()

int TMConfig::getThresForMatacq ( )
inline

Definition at line 96 of file TMConfig.h.

96 {return thres_mtq;}

References thres_mtq.

◆ getTNumb()

int TMConfig::getTNumb ( int  ,
int  ,
int   
)

◆ getvlastMatacqsample()

int TMConfig::getvlastMatacqsample ( )
inline

Definition at line 92 of file TMConfig.h.

92 {return vlastmtqsample;}

References vlastmtqsample.

◆ getXNumb()

int TMConfig::getXNumb ( int  ,
int  ,
int   
)

◆ init()

void TMConfig::init ( )
private

◆ initLaserPulseFit()

void TMConfig::initLaserPulseFit ( )
private

◆ initMatacqPulseFit()

void TMConfig::initMatacqPulseFit ( )
private

◆ initPNFit()

void TMConfig::initPNFit ( )
private

◆ initShapeAnalysis()

void TMConfig::initShapeAnalysis ( )
private

◆ initTPFit()

void TMConfig::initTPFit ( )
private

◆ loadPParams()

void TMConfig::loadPParams ( )

◆ readlmodNConfig()

void TMConfig::readlmodNConfig ( )
private

◆ readpnConfig()

void TMConfig::readpnConfig ( )
private

◆ readSequenzaConfig()

void TMConfig::readSequenzaConfig ( )
private

Member Data Documentation

◆ addrpn

int TMConfig::addrpn[36+1][4+1][10]
private

Definition at line 25 of file TMConfig.h.

◆ alpha

double TMConfig::alpha[6]
private

Definition at line 30 of file TMConfig.h.

Referenced by getalpha_ls().

◆ alpha_run

double TMConfig::alpha_run[6][36+1][68]
private

Definition at line 31 of file TMConfig.h.

◆ alpha_start

double TMConfig::alpha_start
private

Definition at line 46 of file TMConfig.h.

Referenced by getalpha0().

◆ amplhigh_trise

int TMConfig::amplhigh_trise
private

Definition at line 54 of file TMConfig.h.

Referenced by getHighLevelForTRise().

◆ ampllow_trise

int TMConfig::ampllow_trise
private

Definition at line 54 of file TMConfig.h.

Referenced by getLowLevelForTRise().

◆ arr

int TMConfig::arr[36+1][4+1]
private

Definition at line 21 of file TMConfig.h.

◆ beta

double TMConfig::beta[6]
private

Definition at line 30 of file TMConfig.h.

Referenced by getbeta_ls().

◆ beta_run

double TMConfig::beta_run[6][36+1][68]
private

Definition at line 31 of file TMConfig.h.

◆ beta_start

double TMConfig::beta_start
private

Definition at line 46 of file TMConfig.h.

Referenced by getbeta0().

◆ channlist

int TMConfig::channlist[36+1][9][8+1]
private

Definition at line 24 of file TMConfig.h.

◆ firstpnSample

int TMConfig::firstpnSample
private

Definition at line 48 of file TMConfig.h.

Referenced by getfirstPNSample().

◆ firstSample

int TMConfig::firstSample
private

Definition at line 45 of file TMConfig.h.

Referenced by getfirstSample().

◆ laser_size

int TMConfig::laser_size[6][3+1]
private

Definition at line 29 of file TMConfig.h.

◆ lastpnSample

int TMConfig::lastpnSample
private

Definition at line 48 of file TMConfig.h.

Referenced by getlastPNSample().

◆ lastSample

int TMConfig::lastSample
private

Definition at line 45 of file TMConfig.h.

Referenced by getlastSample().

◆ n_pin

int TMConfig::n_pin[36+1][4+1]
private

Definition at line 26 of file TMConfig.h.

◆ nbof

int TMConfig::nbof[36+1][9+1]
private

Definition at line 22 of file TMConfig.h.

◆ nbofiter

int TMConfig::nbofiter
private

Definition at line 49 of file TMConfig.h.

Referenced by getNbOfiterations().

◆ nbofmtqpresamp

int TMConfig::nbofmtqpresamp
private

Definition at line 52 of file TMConfig.h.

Referenced by getNbOfMatacqpresamples().

◆ nbofmtqsamp1esbeforemax_parab

int TMConfig::nbofmtqsamp1esbeforemax_parab
private

Definition at line 53 of file TMConfig.h.

Referenced by getNbOfsamplesBefMax().

◆ nbofmtqsamples

int TMConfig::nbofmtqsamples
private

Definition at line 52 of file TMConfig.h.

Referenced by getNbOfMatacqsamples().

◆ nbofmtqsamplesaftermax_parab

int TMConfig::nbofmtqsamplesaftermax_parab
private

Definition at line 53 of file TMConfig.h.

Referenced by getNbOfsamplesAftMax().

◆ nbofmtqsigmas

int TMConfig::nbofmtqsigmas
private

Definition at line 52 of file TMConfig.h.

Referenced by getNoiseCutForMatacq().

◆ nbofpnpresamp

int TMConfig::nbofpnpresamp
private

Definition at line 50 of file TMConfig.h.

Referenced by getNbOfPNpresamples().

◆ nbofpnsamp

int TMConfig::nbofpnsamp
private

Definition at line 50 of file TMConfig.h.

Referenced by getNbOfPNsamples().

◆ nbofpresamp

int TMConfig::nbofpresamp
private

Definition at line 49 of file TMConfig.h.

Referenced by getNbOfxtalpresamples().

◆ nbofsamp

int TMConfig::nbofsamp
private

Definition at line 50 of file TMConfig.h.

Referenced by getNbOfxtalsamples().

◆ numbOfBurstperSignal

int TMConfig::numbOfBurstperSignal[3+1]
private

Definition at line 28 of file TMConfig.h.

Referenced by getNbOfBurstperSignalForSeq().

◆ numbOfEventperBurstAndSignal

int TMConfig::numbOfEventperBurstAndSignal[3+1]
private

Definition at line 27 of file TMConfig.h.

Referenced by getNbOfEventperBurstAndSignalForSeq().

◆ ped_size

int TMConfig::ped_size[3+1]
private

Definition at line 29 of file TMConfig.h.

◆ samplemax

int TMConfig::samplemax
private

Definition at line 49 of file TMConfig.h.

Referenced by getsampleMax().

◆ samplemin

int TMConfig::samplemin
private

Definition at line 49 of file TMConfig.h.

Referenced by getsampleMin().

◆ seqTypeOfSignal

int TMConfig::seqTypeOfSignal[3+1]
private

Definition at line 27 of file TMConfig.h.

Referenced by getSignalTypeForSeq().

◆ smin

int TMConfig::smin
private

Definition at line 20 of file TMConfig.h.

Referenced by getfirstSM().

◆ thres_mtq

int TMConfig::thres_mtq
private

Definition at line 54 of file TMConfig.h.

Referenced by getThresForMatacq().

◆ towerlist

int TMConfig::towerlist[36+1][9][8+1]
private

Definition at line 23 of file TMConfig.h.

◆ vlastmtqsample

int TMConfig::vlastmtqsample
private

Definition at line 52 of file TMConfig.h.

Referenced by getvlastMatacqsample().

TMConfig::nbofmtqsamples
int nbofmtqsamples
Definition: TMConfig.h:52
TMConfig::seqTypeOfSignal
int seqTypeOfSignal[3+1]
Definition: TMConfig.h:27
TMConfig::nbofiter
int nbofiter
Definition: TMConfig.h:49
TMConfig::nbofpnsamp
int nbofpnsamp
Definition: TMConfig.h:50
TMConfig::nbofmtqsigmas
int nbofmtqsigmas
Definition: TMConfig.h:52
TMConfig::firstSample
int firstSample
Definition: TMConfig.h:45
TMConfig::smin
int smin
Definition: TMConfig.h:20
TMConfig::nbofmtqsamplesaftermax_parab
int nbofmtqsamplesaftermax_parab
Definition: TMConfig.h:53
TMConfig::nbofsamp
int nbofsamp
Definition: TMConfig.h:50
TMConfig::alpha_start
double alpha_start
Definition: TMConfig.h:46
TMConfig::nbofmtqpresamp
int nbofmtqpresamp
Definition: TMConfig.h:52
TMConfig::vlastmtqsample
int vlastmtqsample
Definition: TMConfig.h:52
TMConfig::nbofpnpresamp
int nbofpnpresamp
Definition: TMConfig.h:50
TMConfig::lastpnSample
int lastpnSample
Definition: TMConfig.h:48
TMConfig::lastSample
int lastSample
Definition: TMConfig.h:45
TMConfig::beta
double beta[6]
Definition: TMConfig.h:30
TMConfig::samplemax
int samplemax
Definition: TMConfig.h:49
TMConfig::nbofmtqsamp1esbeforemax_parab
int nbofmtqsamp1esbeforemax_parab
Definition: TMConfig.h:53
TMConfig::beta_start
double beta_start
Definition: TMConfig.h:46
TMConfig::ampllow_trise
int ampllow_trise
Definition: TMConfig.h:54
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
TMConfig::alpha
double alpha[6]
Definition: TMConfig.h:30
TMConfig::numbOfEventperBurstAndSignal
int numbOfEventperBurstAndSignal[3+1]
Definition: TMConfig.h:27
TMConfig::numbOfBurstperSignal
int numbOfBurstperSignal[3+1]
Definition: TMConfig.h:28
TMConfig::thres_mtq
int thres_mtq
Definition: TMConfig.h:54
TMConfig::nbofpresamp
int nbofpresamp
Definition: TMConfig.h:49
TMConfig::firstpnSample
int firstpnSample
Definition: TMConfig.h:48
TMConfig::amplhigh_trise
int amplhigh_trise
Definition: TMConfig.h:54
TMConfig::samplemin
int samplemin
Definition: TMConfig.h:49