CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TotemT2Digi Class Reference

#include <TotemT2Digi.h>

Public Member Functions

unsigned short leadingEdge () const
 
void setLeadingEdge (unsigned short le)
 
void setTrailingEdge (unsigned short te)
 
 TotemT2Digi ()=default
 
 TotemT2Digi (unsigned char geo, unsigned char id, unsigned char marker, unsigned short le, unsigned short te)
 
unsigned short trailingEdge () const
 

Private Attributes

unsigned char channel_id_ {0}
 Channel ID. More...
 
unsigned char geo_id_ {0}
 Geo ID. More...
 
unsigned short lead_edge_ {0}
 Leading edge time. More...
 
unsigned char marker_ {0}
 Channel marker. More...
 
unsigned short trail_edge_ {0}
 Trailing edge time. More...
 

Detailed Description

Definition at line 12 of file TotemT2Digi.h.

Constructor & Destructor Documentation

◆ TotemT2Digi() [1/2]

TotemT2Digi::TotemT2Digi ( )
default

◆ TotemT2Digi() [2/2]

TotemT2Digi::TotemT2Digi ( unsigned char  geo,
unsigned char  id,
unsigned char  marker,
unsigned short  le,
unsigned short  te 
)

Definition at line 3 of file TotemT2Digi.cc.

4  : geo_id_(geo), channel_id_(id), marker_(marker), lead_edge_(le), trail_edge_(te) {}
unsigned short trail_edge_
Trailing edge time.
Definition: TotemT2Digi.h:32
unsigned char channel_id_
Channel ID.
Definition: TotemT2Digi.h:26
unsigned short lead_edge_
Leading edge time.
Definition: TotemT2Digi.h:30
unsigned char geo_id_
Geo ID.
Definition: TotemT2Digi.h:24
unsigned char marker_
Channel marker.
Definition: TotemT2Digi.h:28

Member Function Documentation

◆ leadingEdge()

unsigned short TotemT2Digi::leadingEdge ( ) const
inline

Definition at line 18 of file TotemT2Digi.h.

References lead_edge_.

Referenced by TotemT2DQMSource::fillEdges(), and operator<().

18 { return lead_edge_; }
unsigned short lead_edge_
Leading edge time.
Definition: TotemT2Digi.h:30

◆ setLeadingEdge()

void TotemT2Digi::setLeadingEdge ( unsigned short  le)
inline

Definition at line 17 of file TotemT2Digi.h.

References lead_edge_.

17 { lead_edge_ = le; }
unsigned short lead_edge_
Leading edge time.
Definition: TotemT2Digi.h:30

◆ setTrailingEdge()

void TotemT2Digi::setTrailingEdge ( unsigned short  te)
inline

Definition at line 19 of file TotemT2Digi.h.

References trail_edge_.

19 { trail_edge_ = te; }
unsigned short trail_edge_
Trailing edge time.
Definition: TotemT2Digi.h:32

◆ trailingEdge()

unsigned short TotemT2Digi::trailingEdge ( ) const
inline

Definition at line 20 of file TotemT2Digi.h.

References trail_edge_.

Referenced by TotemT2DQMSource::fillEdges(), and operator<().

20 { return trail_edge_; }
unsigned short trail_edge_
Trailing edge time.
Definition: TotemT2Digi.h:32

Member Data Documentation

◆ channel_id_

unsigned char TotemT2Digi::channel_id_ {0}
private

Channel ID.

Definition at line 26 of file TotemT2Digi.h.

◆ geo_id_

unsigned char TotemT2Digi::geo_id_ {0}
private

Geo ID.

Definition at line 24 of file TotemT2Digi.h.

◆ lead_edge_

unsigned short TotemT2Digi::lead_edge_ {0}
private

Leading edge time.

Definition at line 30 of file TotemT2Digi.h.

Referenced by leadingEdge(), and setLeadingEdge().

◆ marker_

unsigned char TotemT2Digi::marker_ {0}
private

Channel marker.

Definition at line 28 of file TotemT2Digi.h.

◆ trail_edge_

unsigned short TotemT2Digi::trail_edge_ {0}
private

Trailing edge time.

Definition at line 32 of file TotemT2Digi.h.

Referenced by setTrailingEdge(), and trailingEdge().