CMS 3D CMS Logo

DTTrigData.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
9 //
10 //--------------------------------------------------
11 #ifndef DT_TRIG_DATA_H_
12 #define DT_TRIG_DATA_H_
13 
14 //------------------------------------
15 // Collaborating Class Declarations --
16 //------------------------------------
17 
18 //----------------------
19 // Base Class Headers --
20 //----------------------
21 //#include "Profound/MuNumbering/interface/MuBarIdInclude.h"
22 // Should become
27 //---------------
28 // C++ Headers --
29 //---------------
30 
31 // ---------------------
32 // -- Class Interface --
33 // ---------------------
34 
35 class DTTrigData {
36 public:
39 
41  virtual ~DTTrigData() {}
42 
44  virtual DTChamberId ChamberId() const = 0;
45 
47  inline int wheel() const { return ChamberId().wheel(); }
48 
50  inline int station() const { return ChamberId().station(); }
51 
53  inline int sector() const { return ChamberId().sector(); }
54 
56  virtual void print() const = 0;
57 };
58 #endif
DTTrigData::DTTrigData
DTTrigData()
Constructor.
Definition: DTTrigData.h:38
DTLayerId.h
DTTrigData::sector
int sector() const
Return sector number.
Definition: DTTrigData.h:53
DTTrigData::station
int station() const
Return station number.
Definition: DTTrigData.h:50
DTTrigData::ChamberId
virtual DTChamberId ChamberId() const =0
Identifier of the associated chamber.
DTChamberId.h
DTTrigData
Definition: DTTrigData.h:35
DTChamberId::sector
int sector() const
Definition: DTChamberId.h:49
DTWireId.h
DTTrigData::~DTTrigData
virtual ~DTTrigData()
Destructor.
Definition: DTTrigData.h:41
DTChamberId
Definition: DTChamberId.h:14
DTSuperLayerId.h
DTChamberId::wheel
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:39
DTChamberId::station
int station() const
Return the station number.
Definition: DTChamberId.h:42
DTTrigData::wheel
int wheel() const
Return wheel number.
Definition: DTTrigData.h:47
DTTrigData::print
virtual void print() const =0
Print a trigger-data object with also local and global position/direction.