CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
omtf::MuonDataWord64 Class Reference

#include <OmtfMuonDataWord64.h>

Public Member Functions

unsigned int bxNum () const
 
unsigned int ch () const
 
int eta () const
 
unsigned int layers () const
 
 MuonDataWord64 (Word64 data=0)
 
int phi () const
 
unsigned int pT () const
 
unsigned int quality () const
 
unsigned int type () const
 
unsigned int vch () const
 
unsigned int weight_lowBits () const
 

Private Attributes

union {
   struct {
      uint64_t   bc0_: 1
 
      uint64_t   bxNum_: 3
 
      uint64_t   ch_: 1
 
      uint64_t   empty_: 1
 
      int64_t   eta_: 9
 
      uint64_t   layers_: 18
 
      int64_t   phi_: 8
 
      uint64_t   pT_: 9
 
      uint64_t   quality_: 4
 
      uint64_t   type_: 4
 
      uint64_t   vch_: 1
 
      uint64_t   weight_: 5
 
   } 
 
   uint64_t   rawData
 
}; 
 

Friends

std::ostream & operator<< (std::ostream &out, const MuonDataWord64 &o)
 

Detailed Description

Definition at line 8 of file OmtfMuonDataWord64.h.

Constructor & Destructor Documentation

◆ MuonDataWord64()

omtf::MuonDataWord64::MuonDataWord64 ( Word64  data = 0)
inline

Definition at line 10 of file OmtfMuonDataWord64.h.

10 : rawData(data) {}

Member Function Documentation

◆ bxNum()

unsigned int omtf::MuonDataWord64::bxNum ( ) const
inline

Definition at line 19 of file OmtfMuonDataWord64.h.

19 { return bxNum_; }

References bxNum_.

◆ ch()

unsigned int omtf::MuonDataWord64::ch ( ) const
inline

Definition at line 13 of file OmtfMuonDataWord64.h.

13 { return ch_; }

References ch_.

◆ eta()

int omtf::MuonDataWord64::eta ( void  ) const
inline

Definition at line 16 of file OmtfMuonDataWord64.h.

16 { return eta_; }

References eta_.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ layers()

unsigned int omtf::MuonDataWord64::layers ( ) const
inline

Definition at line 12 of file OmtfMuonDataWord64.h.

12 { return layers_; }

References layers_.

◆ phi()

int omtf::MuonDataWord64::phi ( void  ) const
inline

Definition at line 15 of file OmtfMuonDataWord64.h.

15 { return phi_; }

References phi_.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

◆ pT()

unsigned int omtf::MuonDataWord64::pT ( ) const
inline

Definition at line 17 of file OmtfMuonDataWord64.h.

17 { return pT_; }

References pT_.

◆ quality()

unsigned int omtf::MuonDataWord64::quality ( void  ) const
inline

Definition at line 18 of file OmtfMuonDataWord64.h.

18 { return quality_; }

References quality_.

◆ type()

unsigned int omtf::MuonDataWord64::type ( ) const
inline

Definition at line 20 of file OmtfMuonDataWord64.h.

20 { return type_; }

References type_.

◆ vch()

unsigned int omtf::MuonDataWord64::vch ( ) const
inline

Definition at line 14 of file OmtfMuonDataWord64.h.

14 { return vch_; }

References vch_.

◆ weight_lowBits()

unsigned int omtf::MuonDataWord64::weight_lowBits ( ) const
inline

Definition at line 11 of file OmtfMuonDataWord64.h.

11 { return weight_; }

References weight_.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const MuonDataWord64 o 
)
friend

Definition at line 6 of file OmtfMuonDataWord64.cc.

6  {
7  out << "MuonDataWord64: "
8  << " type: " << DataWord64::type(o.type()) << " bx: " << o.bxNum() << " pT: " << o.pT() << " eta: " << o.eta()
9  << " phi: " << o.phi() << " quality: " << o.quality() << " layers: " << std::bitset<18>(o.layers()) << "";
10  return out;
11  }

Member Data Documentation

◆ @467

union { ... }

◆ bc0_

uint64_t omtf::MuonDataWord64::bc0_

Definition at line 32 of file OmtfMuonDataWord64.h.

◆ bxNum_

uint64_t omtf::MuonDataWord64::bxNum_

Definition at line 37 of file OmtfMuonDataWord64.h.

Referenced by bxNum().

◆ ch_

uint64_t omtf::MuonDataWord64::ch_

Definition at line 33 of file OmtfMuonDataWord64.h.

Referenced by ch().

◆ empty_

uint64_t omtf::MuonDataWord64::empty_

Definition at line 30 of file OmtfMuonDataWord64.h.

◆ eta_

int64_t omtf::MuonDataWord64::eta_

Definition at line 29 of file OmtfMuonDataWord64.h.

Referenced by eta().

◆ layers_

uint64_t omtf::MuonDataWord64::layers_

Definition at line 35 of file OmtfMuonDataWord64.h.

Referenced by layers().

◆ phi_

int64_t omtf::MuonDataWord64::phi_

Definition at line 31 of file OmtfMuonDataWord64.h.

Referenced by phi().

◆ pT_

uint64_t omtf::MuonDataWord64::pT_

Definition at line 27 of file OmtfMuonDataWord64.h.

Referenced by pT().

◆ quality_

uint64_t omtf::MuonDataWord64::quality_

Definition at line 28 of file OmtfMuonDataWord64.h.

Referenced by quality().

◆ rawData

uint64_t omtf::MuonDataWord64::rawData

Definition at line 25 of file OmtfMuonDataWord64.h.

◆ type_

uint64_t omtf::MuonDataWord64::type_

◆ vch_

uint64_t omtf::MuonDataWord64::vch_

Definition at line 34 of file OmtfMuonDataWord64.h.

Referenced by vch().

◆ weight_

uint64_t omtf::MuonDataWord64::weight_

Definition at line 36 of file OmtfMuonDataWord64.h.

Referenced by weight_lowBits().

omtf::MuonDataWord64::quality_
uint64_t quality_
Definition: OmtfMuonDataWord64.h:28
omtf::MuonDataWord64::bxNum_
uint64_t bxNum_
Definition: OmtfMuonDataWord64.h:37
omtf::MuonDataWord64::phi_
int64_t phi_
Definition: OmtfMuonDataWord64.h:31
omtf::MuonDataWord64::ch_
uint64_t ch_
Definition: OmtfMuonDataWord64.h:33
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
omtf::MuonDataWord64::vch_
uint64_t vch_
Definition: OmtfMuonDataWord64.h:34
omtf::MuonDataWord64::layers_
uint64_t layers_
Definition: OmtfMuonDataWord64.h:35
omtf::MuonDataWord64::pT_
uint64_t pT_
Definition: OmtfMuonDataWord64.h:27
omtf::DataWord64::type
Type type(const T &)
omtf::MuonDataWord64::rawData
uint64_t rawData
Definition: OmtfMuonDataWord64.h:25
omtf::MuonDataWord64::type_
uint64_t type_
Definition: OmtfMuonDataWord64.h:38
omtf::MuonDataWord64::eta_
int64_t eta_
Definition: OmtfMuonDataWord64.h:29
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
omtf::MuonDataWord64::weight_
uint64_t weight_
Definition: OmtfMuonDataWord64.h:36