CMS 3D CMS Logo

Enumerations | Functions
omtf::DataWord64 Namespace Reference

Enumerations

enum  Type { csc =0xC, dt = 0xD, rpc =0xE, omtf =0xF }
 

Functions

std::ostream & operator<< (std::ostream &out, const Type &o)
 
template<typename T >
Type type (const T &)
 
template<>
Type type< unsigned int > (const unsigned int &intType)
 
template<>
Type type< Word64 > (const Word64 &data)
 

Enumeration Type Documentation

Enumerator
csc 
dt 
rpc 
omtf 

Definition at line 16 of file OmtfDataWord64.h.

16 { csc=0xC, dt= 0xD, rpc=0xE, omtf=0xF };
float dt
Definition: AMPTWrapper.h:126
Definition: L1Track.h:19

Function Documentation

std::ostream & omtf::DataWord64::operator<< ( std::ostream &  out,
const Type o 
)

Definition at line 4 of file OmtfDataWord64.cc.

References TauDecayModes::dec, dt, connectstrParser::o, MillePedeFileConverter_cfg::out, and rpc.

Referenced by type< unsigned int >().

4  {
5  switch(o) {
6  case(csc) : out <<"csc "; break;
7  case(rpc) : out <<"rpc "; break;
8  case(dt) : out <<"dt "; break;
9  case(omtf) : out <<"omtf"; break;
10  default : out <<"unkn"; break;
11  }
12  out<<"(0x"<<std::hex<<static_cast<int>(o)<<std::dec<<")";
13  return out;
14 }
float dt
Definition: AMPTWrapper.h:126
Definition: L1Track.h:19
template<typename T >
Type omtf::DataWord64::type ( const T )
template<>
Type omtf::DataWord64::type< unsigned int > ( const unsigned int &  intType)
inline
template<>
Type omtf::DataWord64::type< Word64 > ( const Word64 data)
inline

Definition at line 18 of file OmtfDataWord64.h.

References data.

18 { return static_cast<Type> (data>>60); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82