test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ( )
virtual TMConfig::~TMConfig ( )
virtual

Member Function Documentation

int TMConfig::convert ( int  )
private
float TMConfig::getalpha0 ( )
inline

Definition at line 68 of file TMConfig.h.

References alpha_start.

68 {return alpha_start;}
double alpha_start
Definition: TMConfig.h:46
double TMConfig::getalpha_ls ( int  c)
inline

Definition at line 77 of file TMConfig.h.

References alpha, and trackerHits::c.

77 { return alpha[c];}
double alpha[6]
Definition: TMConfig.h:30
double TMConfig::getalpha_run ( int  ,
int  ,
int   
)
float TMConfig::getbeta0 ( )
inline

Definition at line 69 of file TMConfig.h.

References beta_start.

69 {return beta_start;}
double beta_start
Definition: TMConfig.h:46
double TMConfig::getbeta_ls ( int  c)
inline

Definition at line 78 of file TMConfig.h.

References beta, and trackerHits::c.

78 { return beta[c];}
double beta[6]
Definition: TMConfig.h:30
double TMConfig::getbeta_run ( int  ,
int  ,
int   
)
int TMConfig::getfirstPNSample ( )
inline

Definition at line 66 of file TMConfig.h.

References firstpnSample.

66 {return firstpnSample;}
int firstpnSample
Definition: TMConfig.h:48
int TMConfig::getfirstSample ( )
inline

Definition at line 64 of file TMConfig.h.

References firstSample.

64 {return firstSample;}
int firstSample
Definition: TMConfig.h:45
int TMConfig::getfirstSM ( )
inline

Definition at line 63 of file TMConfig.h.

References smin.

63 {return smin;}
int smin
Definition: TMConfig.h:20
int TMConfig::getHighLevelForTRise ( )
inline

Definition at line 98 of file TMConfig.h.

References amplhigh_trise.

98 {return amplhigh_trise;}
int amplhigh_trise
Definition: TMConfig.h:54
int TMConfig::getlastPNSample ( )
inline

Definition at line 67 of file TMConfig.h.

References lastpnSample.

67 {return lastpnSample;}
int lastpnSample
Definition: TMConfig.h:48
int TMConfig::getlastSample ( )
inline

Definition at line 65 of file TMConfig.h.

References lastSample.

65 {return lastSample;}
int lastSample
Definition: TMConfig.h:45
int TMConfig::getLowLevelForTRise ( )
inline

Definition at line 97 of file TMConfig.h.

References ampllow_trise.

97 {return ampllow_trise;}
int ampllow_trise
Definition: TMConfig.h:54
int TMConfig::getNbOf ( int  ,
int   
)
int TMConfig::getNbOfBurstperSignalForSeq ( int  seqNumb)
inline

Definition at line 101 of file TMConfig.h.

References numbOfBurstperSignal.

101 { return numbOfBurstperSignal[seqNumb];}
int numbOfBurstperSignal[3+1]
Definition: TMConfig.h:28
int TMConfig::getNbOfEventperBurstAndSignalForSeq ( int  seqNumb)
inline

Definition at line 102 of file TMConfig.h.

References numbOfEventperBurstAndSignal.

102 { return numbOfEventperBurstAndSignal[seqNumb];}
int numbOfEventperBurstAndSignal[3+1]
Definition: TMConfig.h:27
int TMConfig::getNbOfiterations ( )
inline

Definition at line 74 of file TMConfig.h.

References nbofiter.

74 {return nbofiter;}
int nbofiter
Definition: TMConfig.h:49
int TMConfig::getNbOfMatacqpresamples ( )
inline

Definition at line 91 of file TMConfig.h.

References nbofmtqpresamp.

91 {return nbofmtqpresamp;}
int nbofmtqpresamp
Definition: TMConfig.h:52
int TMConfig::getNbOfMatacqsamples ( )
inline

Definition at line 90 of file TMConfig.h.

References nbofmtqsamples.

90 {return nbofmtqsamples;}
int nbofmtqsamples
Definition: TMConfig.h:52
int TMConfig::getNbOfPNpresamples ( )
inline

Definition at line 73 of file TMConfig.h.

References nbofpnpresamp.

73 {return nbofpnpresamp;}
int nbofpnpresamp
Definition: TMConfig.h:50
int TMConfig::getNbOfPNs ( int  ,
int   
)
int TMConfig::getNbOfPNsamples ( )
inline

Definition at line 75 of file TMConfig.h.

References nbofpnsamp.

75 { return nbofpnsamp;}
int nbofpnsamp
Definition: TMConfig.h:50
int TMConfig::getNbOfsamplesAftMax ( )
inline

Definition at line 95 of file TMConfig.h.

References nbofmtqsamplesaftermax_parab.

int nbofmtqsamplesaftermax_parab
Definition: TMConfig.h:53
int TMConfig::getNbOfsamplesBefMax ( )
inline

Definition at line 94 of file TMConfig.h.

References nbofmtqsamp1esbeforemax_parab.

int nbofmtqsamp1esbeforemax_parab
Definition: TMConfig.h:53
int TMConfig::getNbOfxtalpresamples ( )
inline

Definition at line 72 of file TMConfig.h.

References nbofpresamp.

72 {return nbofpresamp;}
int nbofpresamp
Definition: TMConfig.h:49
int TMConfig::getNbOfxtalsamples ( )
inline

Definition at line 76 of file TMConfig.h.

References nbofsamp.

76 { return nbofsamp;}
int nbofsamp
Definition: TMConfig.h:50
int TMConfig::getNoiseCutForMatacq ( )
inline

Definition at line 93 of file TMConfig.h.

References nbofmtqsigmas.

93 {return nbofmtqsigmas;}
int nbofmtqsigmas
Definition: TMConfig.h:52
int TMConfig::getPNaddr ( int  ,
int  ,
int   
)
int TMConfig::getsampleMax ( )
inline

Definition at line 71 of file TMConfig.h.

References samplemax.

71 {return samplemax;}
int samplemax
Definition: TMConfig.h:49
int TMConfig::getsampleMin ( )
inline

Definition at line 70 of file TMConfig.h.

References samplemin.

70 {return samplemin;}
int samplemin
Definition: TMConfig.h:49
int TMConfig::getSignalTypeForSeq ( int  seqNumb)
inline

Definition at line 100 of file TMConfig.h.

References seqTypeOfSignal.

100 { return seqTypeOfSignal[seqNumb];}
int seqTypeOfSignal[3+1]
Definition: TMConfig.h:27
int TMConfig::getThresForMatacq ( )
inline

Definition at line 96 of file TMConfig.h.

References thres_mtq.

96 {return thres_mtq;}
int thres_mtq
Definition: TMConfig.h:54
int TMConfig::getTNumb ( int  ,
int  ,
int   
)
int TMConfig::getvlastMatacqsample ( )
inline

Definition at line 92 of file TMConfig.h.

References vlastmtqsample.

92 {return vlastmtqsample;}
int vlastmtqsample
Definition: TMConfig.h:52
int TMConfig::getXNumb ( int  ,
int  ,
int   
)
void TMConfig::init ( )
private
void TMConfig::initLaserPulseFit ( )
private
void TMConfig::initMatacqPulseFit ( )
private
void TMConfig::initPNFit ( )
private
void TMConfig::initShapeAnalysis ( )
private
void TMConfig::initTPFit ( )
private
void TMConfig::loadPParams ( )
void TMConfig::readlmodNConfig ( )
private
void TMConfig::readpnConfig ( )
private
void TMConfig::readSequenzaConfig ( )
private

Member Data Documentation

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

Definition at line 25 of file TMConfig.h.

double TMConfig::alpha[6]
private

Definition at line 30 of file TMConfig.h.

Referenced by getalpha_ls().

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

Definition at line 31 of file TMConfig.h.

double TMConfig::alpha_start
private

Definition at line 46 of file TMConfig.h.

Referenced by getalpha0().

int TMConfig::amplhigh_trise
private

Definition at line 54 of file TMConfig.h.

Referenced by getHighLevelForTRise().

int TMConfig::ampllow_trise
private

Definition at line 54 of file TMConfig.h.

Referenced by getLowLevelForTRise().

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

Definition at line 21 of file TMConfig.h.

double TMConfig::beta[6]
private

Definition at line 30 of file TMConfig.h.

Referenced by getbeta_ls().

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

Definition at line 31 of file TMConfig.h.

double TMConfig::beta_start
private

Definition at line 46 of file TMConfig.h.

Referenced by getbeta0().

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

Definition at line 24 of file TMConfig.h.

int TMConfig::firstpnSample
private

Definition at line 48 of file TMConfig.h.

Referenced by getfirstPNSample().

int TMConfig::firstSample
private

Definition at line 45 of file TMConfig.h.

Referenced by getfirstSample().

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

Definition at line 29 of file TMConfig.h.

int TMConfig::lastpnSample
private

Definition at line 48 of file TMConfig.h.

Referenced by getlastPNSample().

int TMConfig::lastSample
private

Definition at line 45 of file TMConfig.h.

Referenced by getlastSample().

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

Definition at line 26 of file TMConfig.h.

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

Definition at line 22 of file TMConfig.h.

int TMConfig::nbofiter
private

Definition at line 49 of file TMConfig.h.

Referenced by getNbOfiterations().

int TMConfig::nbofmtqpresamp
private

Definition at line 52 of file TMConfig.h.

Referenced by getNbOfMatacqpresamples().

int TMConfig::nbofmtqsamp1esbeforemax_parab
private

Definition at line 53 of file TMConfig.h.

Referenced by getNbOfsamplesBefMax().

int TMConfig::nbofmtqsamples
private

Definition at line 52 of file TMConfig.h.

Referenced by getNbOfMatacqsamples().

int TMConfig::nbofmtqsamplesaftermax_parab
private

Definition at line 53 of file TMConfig.h.

Referenced by getNbOfsamplesAftMax().

int TMConfig::nbofmtqsigmas
private

Definition at line 52 of file TMConfig.h.

Referenced by getNoiseCutForMatacq().

int TMConfig::nbofpnpresamp
private

Definition at line 50 of file TMConfig.h.

Referenced by getNbOfPNpresamples().

int TMConfig::nbofpnsamp
private

Definition at line 50 of file TMConfig.h.

Referenced by getNbOfPNsamples().

int TMConfig::nbofpresamp
private

Definition at line 49 of file TMConfig.h.

Referenced by getNbOfxtalpresamples().

int TMConfig::nbofsamp
private

Definition at line 50 of file TMConfig.h.

Referenced by getNbOfxtalsamples().

int TMConfig::numbOfBurstperSignal[3+1]
private

Definition at line 28 of file TMConfig.h.

Referenced by getNbOfBurstperSignalForSeq().

int TMConfig::numbOfEventperBurstAndSignal[3+1]
private

Definition at line 27 of file TMConfig.h.

Referenced by getNbOfEventperBurstAndSignalForSeq().

int TMConfig::ped_size[3+1]
private

Definition at line 29 of file TMConfig.h.

int TMConfig::samplemax
private

Definition at line 49 of file TMConfig.h.

Referenced by getsampleMax().

int TMConfig::samplemin
private

Definition at line 49 of file TMConfig.h.

Referenced by getsampleMin().

int TMConfig::seqTypeOfSignal[3+1]
private

Definition at line 27 of file TMConfig.h.

Referenced by getSignalTypeForSeq().

int TMConfig::smin
private

Definition at line 20 of file TMConfig.h.

Referenced by getfirstSM().

int TMConfig::thres_mtq
private

Definition at line 54 of file TMConfig.h.

Referenced by getThresForMatacq().

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

Definition at line 23 of file TMConfig.h.

int TMConfig::vlastmtqsample
private

Definition at line 52 of file TMConfig.h.

Referenced by getvlastMatacqsample().