CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TmApvPair Class Reference

#include <TmApvPair.h>

Public Member Functions

int getFedCh ()
 
int getFedId ()
 
 TmApvPair (int ident, int crate)
 
 ~TmApvPair ()
 

Public Attributes

int blue
 
int count
 
int crate
 
int green
 
int idex
 
TmModulemod
 
int mpos
 
int red
 
std::string text
 
float value
 

Detailed Description

Definition at line 6 of file TmApvPair.h.

Constructor & Destructor Documentation

◆ TmApvPair()

TmApvPair::TmApvPair ( int  ident,
int  crate 
)

Definition at line 5 of file TmApvPair.cc.

5  {
6  idex = connId;
7  this->crate = crate;
8  value = 0;
9  count = 0;
10  red = -1;
11  text = "";
12 }

References count, crate, idex, red, and text.

◆ ~TmApvPair()

TmApvPair::~TmApvPair ( )

Definition at line 14 of file TmApvPair.cc.

14 {}

Member Function Documentation

◆ getFedCh()

int TmApvPair::getFedCh ( )
inline

Definition at line 18 of file TmApvPair.h.

18  {
19  int res = (int)(idex / 1000);
20  return idex - res * 1000;
21  }

References idex, and createfilelist::int.

Referenced by TrackerMap::TrackerMap().

◆ getFedId()

int TmApvPair::getFedId ( )
inline

Definition at line 22 of file TmApvPair.h.

22  {
23  int res = (int)(idex / 1000);
24  return res;
25  }

References idex, and createfilelist::int.

Referenced by TrackerMap::TrackerMap().

Member Data Documentation

◆ blue

int TmApvPair::blue

Definition at line 10 of file TmApvPair.h.

◆ count

int TmApvPair::count

◆ crate

int TmApvPair::crate

Definition at line 15 of file TmApvPair.h.

Referenced by TmApvPair(), and TrackerMap::TrackerMap().

◆ green

int TmApvPair::green

Definition at line 10 of file TmApvPair.h.

◆ idex

int TmApvPair::idex

Definition at line 14 of file TmApvPair.h.

Referenced by getFedCh(), getFedId(), TmApvPair(), and TrackerMap::TrackerMap().

◆ mod

TmModule* TmApvPair::mod

◆ mpos

int TmApvPair::mpos

Definition at line 17 of file TmApvPair.h.

Referenced by TrackerMap::save_as_fedtrackermap(), and TrackerMap::TrackerMap().

◆ red

int TmApvPair::red

◆ text

std::string TmApvPair::text

◆ value

float TmApvPair::value
TmApvPair::count
int count
Definition: TmApvPair.h:13
TmApvPair::crate
int crate
Definition: TmApvPair.h:15
createfilelist.int
int
Definition: createfilelist.py:10
value
Definition: value.py:1
TmApvPair::text
std::string text
Definition: TmApvPair.h:12
res
Definition: Electron.h:6
TmApvPair::red
int red
Definition: TmApvPair.h:10
TmApvPair::idex
int idex
Definition: TmApvPair.h:14