CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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.

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

5  {
6  idex = connId;
7  this->crate = crate;
8  value = 0;
9  count = 0;
10  red = -1;
11  text = "";
12 }
std::string text
Definition: TmApvPair.h:12
int red
Definition: TmApvPair.h:10
Definition: value.py:1
int count
Definition: TmApvPair.h:13
int crate
Definition: TmApvPair.h:15
int idex
Definition: TmApvPair.h:14

◆ ~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.

References idex, and createfilelist::int.

Referenced by TrackerMap::drawApvPair(), TrackerMap::printall(), TrackerMap::printonline(), and TrackerMap::TrackerMap().

18  {
19  int res = (int)(idex / 1000);
20  return idex - res * 1000;
21  }
Definition: Electron.h:6
int idex
Definition: TmApvPair.h:14

◆ getFedId()

int TmApvPair::getFedId ( )
inline

Definition at line 22 of file TmApvPair.h.

References idex, and createfilelist::int.

Referenced by TrackerMap::drawApvPair(), TrackerMap::printall(), TrackerMap::printonline(), and TrackerMap::TrackerMap().

22  {
23  int res = (int)(idex / 1000);
24  return res;
25  }
Definition: Electron.h:6
int idex
Definition: TmApvPair.h:14

Member Data Documentation

◆ blue

int TmApvPair::blue

Definition at line 10 of file TmApvPair.h.

Referenced by TrackerMap::drawApvPair(), and TrackerMap::fillc_fed_channel().

◆ 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.

Referenced by TrackerMap::drawApvPair(), and TrackerMap::fillc_fed_channel().

◆ idex

int TmApvPair::idex

◆ 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