CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
DTTtrig Class Reference

#include <DTTtrig.h>

Public Types

typedef std::vector< std::pair
< DTTtrigId, DTTtrigData >
>::const_iterator 
const_iterator
 Access methods to data. More...
 

Public Member Functions

const_iterator begin () const
 
void clear ()
 reset content More...
 
 DTTtrig ()
 
 DTTtrig (const std::string &version)
 
const_iterator end () const
 
int get (int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
 get content More...
 
int get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
 
int get (const DTSuperLayerId &id, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
 
int get (const DetId &id, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
 
int get (int wheelId, int stationId, int sectorId, int slId, float &tTrig, DTTimeUnits::type unit) const
 
int get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &tTrig, DTTimeUnits::type unit) const
 
int get (const DTSuperLayerId &id, float &tTrig, DTTimeUnits::type unit) const
 
int get (const DetId &id, float &tTrig, DTTimeUnits::type unit) const
 
void initialize ()
 
int set (int wheelId, int stationId, int sectorId, int slId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
 
int set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
 
int set (const DTSuperLayerId &id, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
 
int set (const DetId &id, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
 
void setUnit (float unit)
 
float unit () const
 
const std::string & version () const
 access version More...
 
std::string & version ()
 
 ~DTTtrig ()
 

Private Member Functions

 DTTtrig (DTTtrig const &)
 
std::string mapName () const
 
DTTtrigoperator= (DTTtrig const &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< std::pair
< DTTtrigId, DTTtrigData > > 
dataList
 
std::string dataVersion
 
edm::ConstRespectingPtr
< DTBufferTree< int, int > > 
dBuf
 
float nsPerCount
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: Class to hold drift tubes TTrigs ( SL by SL time offsets )

Author
Paolo Ronchese INFN Padova

Definition at line 76 of file DTTtrig.h.

Member Typedef Documentation

typedef std::vector< std::pair<DTTtrigId, DTTtrigData> >::const_iterator DTTtrig::const_iterator

Access methods to data.

Definition at line 183 of file DTTtrig.h.

Constructor & Destructor Documentation

DTTtrig::DTTtrig ( )

Constructor

Definition at line 35 of file DTTtrig.cc.

DTTtrig::DTTtrig ( const std::string &  version)

Definition at line 43 of file DTTtrig.cc.

DTTtrig::~DTTtrig ( )

Destructor

Definition at line 71 of file DTTtrig.cc.

DTTtrig::DTTtrig ( DTTtrig const &  )
private

Member Function Documentation

DTTtrig::const_iterator DTTtrig::begin ( void  ) const

Definition at line 354 of file DTTtrig.cc.

void DTTtrig::clear ( void  )
DTTtrig::const_iterator DTTtrig::end ( void  ) const

Definition at line 359 of file DTTtrig.cc.

int DTTtrig::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float &  tTrig,
float &  tTrms,
float &  kFact,
DTTimeUnits::type  unit 
) const
int DTTtrig::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float &  tTrig,
float &  tTrms,
float &  kFact,
DTTimeUnits::type  unit 
) const

Definition at line 100 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

int DTTtrig::get ( const DTSuperLayerId id,
float &  tTrig,
float &  tTrms,
float &  kFact,
DTTimeUnits::type  unit 
) const

Definition at line 141 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

int DTTtrig::get ( const DetId id,
float &  tTrig,
float &  tTrms,
float &  kFact,
DTTimeUnits::type  unit 
) const

Definition at line 154 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

int DTTtrig::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float &  tTrig,
DTTimeUnits::type  unit 
) const

Definition at line 170 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

int DTTtrig::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float &  tTrig,
DTTimeUnits::type  unit 
) const

Definition at line 181 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

int DTTtrig::get ( const DTSuperLayerId id,
float &  tTrig,
DTTimeUnits::type  unit 
) const

Definition at line 200 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

int DTTtrig::get ( const DetId id,
float &  tTrig,
DTTimeUnits::type  unit 
) const

Definition at line 211 of file DTTtrig.cc.

Referenced by Options.Options::__getitem__().

void DTTtrig::initialize ( )

Definition at line 371 of file DTTtrig.cc.

std::string DTTtrig::mapName ( ) const
private

Definition at line 364 of file DTTtrig.cc.

DTTtrig& DTTtrig::operator= ( DTTtrig const &  )
private
template<class Archive >
void DTTtrig::serialize ( Archive &  ar,
const unsigned int  version 
)
private
int DTTtrig::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float  tTrig,
float  tTrms,
float  kFact,
DTTimeUnits::type  unit 
)

Definition at line 248 of file DTTtrig.cc.

Referenced by DTTTrigCorrection::endJob().

int DTTtrig::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float  tTrig,
float  tTrms,
float  kFact,
DTTimeUnits::type  unit 
)

Definition at line 263 of file DTTtrig.cc.

int DTTtrig::set ( const DTSuperLayerId id,
float  tTrig,
float  tTrms,
float  kFact,
DTTimeUnits::type  unit 
)

Definition at line 320 of file DTTtrig.cc.

int DTTtrig::set ( const DetId id,
float  tTrig,
float  tTrms,
float  kFact,
DTTimeUnits::type  unit 
)

Definition at line 333 of file DTTtrig.cc.

void DTTtrig::setUnit ( float  unit)

Definition at line 349 of file DTTtrig.cc.

float DTTtrig::unit ( ) const

Definition at line 225 of file DTTtrig.cc.

const std::string & DTTtrig::version ( ) const

access version

Definition at line 231 of file DTTtrig.cc.

std::string & DTTtrig::version ( )

Definition at line 236 of file DTTtrig.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 204 of file DTTtrig.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 204 of file DTTtrig.h.

Member Data Documentation

std::vector< std::pair<DTTtrigId,DTTtrigData> > DTTtrig::dataList
private

Definition at line 197 of file DTTtrig.h.

std::string DTTtrig::dataVersion
private

Definition at line 194 of file DTTtrig.h.

edm::ConstRespectingPtr<DTBufferTree<int,int> > DTTtrig::dBuf
private

Definition at line 199 of file DTTtrig.h.

float DTTtrig::nsPerCount
private

Definition at line 195 of file DTTtrig.h.