CMS 3D CMS Logo

Typedefs | Enumerations | Functions
matching Namespace Reference

Typedefs

typedef std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
 
typedef std::vector< DigiDigiContainer
 

Enumerations

enum  DigiType {
  INVALID =0, GEM_STRIP, GEM_PAD, GEM_COPAD,
  CSC_STRIP, CSC_WIRE, CSC_CLCT, CSC_ALCT,
  CSC_LCT
}
 

Functions

int digi_bx (const Digi &d)
 
int digi_channel (const Digi &d)
 
float & digi_dphi (Digi &d)
 
float digi_dphi (const Digi &d)
 
unsigned int digi_id (const Digi &d)
 
int digi_pattern (const Digi &d)
 
int digi_quality (const Digi &d)
 
DigiType digi_type (const Digi &d)
 
int & digi_wg (Digi &d)
 
int digi_wg (const Digi &d)
 
bool is_valid (const Digi &d)
 
Digi make_digi ()
 
Digi make_digi (unsigned int id, int ch, int bx, DigiType t)
 
Digi make_digi (unsigned int id, int ch, int bx, DigiType t, int q)
 
Digi make_digi (unsigned int id, int ch, int bx, DigiType t, int q, int pat)
 
Digi make_digi (unsigned int id, int ch, int bx, DigiType t, int q, int pat, int wg)
 
Digi make_digi (unsigned int id, int ch, int bx, DigiType t, int q, int pat, int wg, float dphi)
 

Typedef Documentation

typedef std::tuple<unsigned int, int, int, DigiType, int, int, int, float> matching::Digi

Definition at line 30 of file GenericDigi.h.

typedef std::vector<Digi> matching::DigiContainer

Definition at line 33 of file GenericDigi.h.

Enumeration Type Documentation

Enumerator
INVALID 
GEM_STRIP 
GEM_PAD 
GEM_COPAD 
CSC_STRIP 
CSC_WIRE 
CSC_CLCT 
CSC_ALCT 
CSC_LCT 

Definition at line 27 of file GenericDigi.h.

Function Documentation

int matching::digi_bx ( const Digi d)
inline

Definition at line 48 of file GenericDigi.h.

References edmIntegrityCheck::d.

48 { return std::get<2>(d); }
int matching::digi_channel ( const Digi d)
inline
float& matching::digi_dphi ( Digi d)
inline

Definition at line 59 of file GenericDigi.h.

References edmIntegrityCheck::d.

59 { return std::get<7>(d); }
float matching::digi_dphi ( const Digi d)
inline

Definition at line 61 of file GenericDigi.h.

References edmIntegrityCheck::d, connectstrParser::o, and operator<<().

61 { return std::get<7>(d); }
unsigned int matching::digi_id ( const Digi d)
inline
int matching::digi_pattern ( const Digi d)
inline

Definition at line 51 of file GenericDigi.h.

References edmIntegrityCheck::d, and digi_wg().

51 { return std::get<5>(d); }
int matching::digi_quality ( const Digi d)
inline

Definition at line 50 of file GenericDigi.h.

References edmIntegrityCheck::d.

50 { return std::get<4>(d); }
DigiType matching::digi_type ( const Digi d)
inline

Definition at line 49 of file GenericDigi.h.

References edmIntegrityCheck::d.

Referenced by GEMRecHitMatcher::recHitPosition().

49 { return std::get<3>(d); }
int& matching::digi_wg ( Digi d)

Referenced by digi_pattern().

int matching::digi_wg ( const Digi d)
bool matching::is_valid ( const Digi d)
inline
Digi matching::make_digi ( )
inline
Digi matching::make_digi ( unsigned int  id,
int  ch,
int  bx,
DigiType  t 
)
inline

Definition at line 37 of file GenericDigi.h.

37 { return std::make_tuple(id, ch, bx, t, 0, 0, 0, 0.); }
Digi matching::make_digi ( unsigned int  id,
int  ch,
int  bx,
DigiType  t,
int  q 
)
inline

Definition at line 38 of file GenericDigi.h.

38 { return std::make_tuple(id, ch, bx, t, q, 0, 0, 0.); }
Digi matching::make_digi ( unsigned int  id,
int  ch,
int  bx,
DigiType  t,
int  q,
int  pat 
)
inline

Definition at line 39 of file GenericDigi.h.

39 { return std::make_tuple(id, ch, bx, t, q, pat, 0, 0.); }
Definition: HeavyIon.h:7
Digi matching::make_digi ( unsigned int  id,
int  ch,
int  bx,
DigiType  t,
int  q,
int  pat,
int  wg 
)
inline

Definition at line 40 of file GenericDigi.h.

40 { return std::make_tuple(id, ch, bx, t, q, pat, wg, 0.); }
Definition: HeavyIon.h:7
Digi matching::make_digi ( unsigned int  id,
int  ch,
int  bx,
DigiType  t,
int  q,
int  pat,
int  wg,
float  dphi 
)
inline

Definition at line 41 of file GenericDigi.h.

41 { return std::make_tuple(id, ch, bx, t, q, pat, wg, dphi); }
Definition: HeavyIon.h:7