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 | 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 ( int  ident,
int  crate 
)

Definition at line 5 of file TmApvPair.cc.

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

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

Definition at line 13 of file TmApvPair.cc.

13  {
14 }

Member Function Documentation

int TmApvPair::getFedCh ( )
inline

Definition at line 18 of file TmApvPair.h.

References idex.

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

18 {int res = (int) (idex/1000); return idex - res*1000;}
int idex
Definition: TmApvPair.h:14
int TmApvPair::getFedId ( )
inline

Definition at line 19 of file TmApvPair.h.

References idex.

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

19 {int res = (int) (idex/1000); return res;}
int idex
Definition: TmApvPair.h:14

Member Data Documentation

int TmApvPair::blue

Definition at line 10 of file TmApvPair.h.

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

int TmApvPair::count
int TmApvPair::crate

Definition at line 15 of file TmApvPair.h.

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

int TmApvPair::green

Definition at line 10 of file TmApvPair.h.

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

int TmApvPair::idex
TmModule* TmApvPair::mod
int TmApvPair::mpos

Definition at line 17 of file TmApvPair.h.

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

int TmApvPair::red
std::string TmApvPair::text
float TmApvPair::value