CMS 3D CMS Logo

TmModule Class Reference

#include <CommonTools/TrackerMap/interface/TmModule.h>

List of all members.

Public Member Functions

int getId ()
int getKey ()
int getQPointArray ()
bool notInUse ()
void setQPointArray (int ar)
void setUsed ()
 TmModule (int idc, int iring, int ilayer)
virtual ~TmModule ()

Public Attributes

int blue
std::string capvids
int count
int green
int histNumber
unsigned int idex
int idModule
int layer
float length
std::string name
bool notused
float posx
float posy
float posz
int red
int ring
std::string text
float thickness
float value
float width
float widthAtHalfLength


Detailed Description

Definition at line 5 of file TmModule.h.


Constructor & Destructor Documentation

TmModule::TmModule ( int  idc,
int  iring,
int  ilayer 
)

Definition at line 7 of file TmModule.cc.

References capvids, histNumber, idModule, notused, red, and text.

00007                                               {
00008   idModule = idc;
00009   this->ring=ring;
00010   this->layer = layer;
00011   this->text="";
00012  notused=true;
00013  histNumber=0;
00014  red=-1;
00015  capvids="";
00016 }

TmModule::~TmModule (  )  [virtual]

Definition at line 17 of file TmModule.cc.

00017                    {
00018 }


Member Function Documentation

int TmModule::getId (  )  [inline]

Definition at line 18 of file TmModule.h.

References idModule.

00018 {return idModule; }

int TmModule::getKey (  )  [inline]

Definition at line 19 of file TmModule.h.

References idModule, layer, and ring.

Referenced by VisTrackerMap::VisTrackerMap().

00019 {return layer*100000+ring*1000+idModule; }

int TmModule::getQPointArray (  )  [inline]

Definition at line 29 of file TmModule.h.

References histNumber.

Referenced by VisTrackerMap::mousePressEvent(), and VisTrackerMap::paintEvent().

00029 {return histNumber;};

bool TmModule::notInUse (  )  [inline]

Definition at line 20 of file TmModule.h.

References notused.

Referenced by VisTrackerMap::mousePressEvent(), VisTrackerMap::paintEvent(), TrackerMap::printonline(), TrackerMap::save(), TrackerMap::save_as_fedtrackermap(), and VisTrackerMap::VisTrackerMap().

00020 {return notused;}

void TmModule::setQPointArray ( int  ar  )  [inline]

Definition at line 28 of file TmModule.h.

References histNumber.

Referenced by VisTrackerMap::VisTrackerMap().

00028 {histNumber = ar;};

void TmModule::setUsed (  )  [inline]

Definition at line 21 of file TmModule.h.

References notused.

Referenced by TrackerMap::build().

00021 {notused=false;}


Member Data Documentation

int TmModule::blue

Definition at line 11 of file TmModule.h.

Referenced by VisTrackerMap::computeColor(), and TrackerMap::fillc().

std::string TmModule::capvids

Definition at line 16 of file TmModule.h.

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

int TmModule::count

Definition at line 13 of file TmModule.h.

Referenced by TrackerMap::build(), VisTrackerMap::computeColor(), TrackerMap::fill(), VisTrackerMap::mousePressEvent(), VisTrackerMap::paintEvent(), TrackerMap::save(), and TrackerMap::save_as_fedtrackermap().

int TmModule::green

Definition at line 11 of file TmModule.h.

Referenced by VisTrackerMap::computeColor(), and TrackerMap::fillc().

int TmModule::histNumber

Definition at line 17 of file TmModule.h.

Referenced by getQPointArray(), setQPointArray(), and TmModule().

unsigned int TmModule::idex

Definition at line 25 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), TrackerMap::module(), VisTrackerMap::mousePressEvent(), TrackerMap::printonline(), and TrackerMap::TrackerMap().

int TmModule::idModule

Definition at line 22 of file TmModule.h.

Referenced by SiPixelTrackerMap::drawModule(), getId(), getKey(), TmModule(), and VisTrackerMap::visDrawModule().

int TmModule::layer

Definition at line 24 of file TmModule.h.

Referenced by getKey(), and VisTrackerMap::VisTrackerMap().

float TmModule::length

Definition at line 10 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), and VisTrackerMap::visDrawModule().

std::string TmModule::name

Definition at line 15 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), VisTrackerMap::mousePressEvent(), TrackerMap::printonline(), and TrackerMap::TrackerMap().

bool TmModule::notused

Definition at line 26 of file TmModule.h.

Referenced by notInUse(), setUsed(), and TmModule().

float TmModule::posx

Definition at line 9 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), and VisTrackerMap::visDrawModule().

float TmModule::posy

Definition at line 9 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), and VisTrackerMap::visDrawModule().

float TmModule::posz

Definition at line 9 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), and VisTrackerMap::visDrawModule().

int TmModule::red

Definition at line 11 of file TmModule.h.

Referenced by VisTrackerMap::computeColor(), TrackerMap::fillc(), and TmModule().

int TmModule::ring

Definition at line 23 of file TmModule.h.

Referenced by SiPixelTrackerMap::drawModule(), getKey(), and VisTrackerMap::visDrawModule().

std::string TmModule::text

Definition at line 14 of file TmModule.h.

Referenced by SiPixelTrackerMap::drawModule(), VisTrackerMap::mousePressEvent(), TrackerMap::setText(), and TmModule().

float TmModule::thickness

Definition at line 10 of file TmModule.h.

Referenced by TrackerMap::build().

float TmModule::value

Definition at line 12 of file TmModule.h.

Referenced by TrackerMap::build(), VisTrackerMap::computeColor(), TrackerMap::fill(), TrackerMap::fill_current_val(), VisTrackerMap::mousePressEvent(), VisTrackerMap::paintEvent(), TrackerMap::save(), and TrackerMap::save_as_fedtrackermap().

float TmModule::width

Definition at line 10 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), and VisTrackerMap::visDrawModule().

float TmModule::widthAtHalfLength

Definition at line 10 of file TmModule.h.

Referenced by TrackerMap::build(), SiPixelTrackerMap::drawModule(), and VisTrackerMap::visDrawModule().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:33:40 2009 for CMSSW by  doxygen 1.5.4