CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
virtual void print() const =0
Print a trigger-data object with also local and global position/direction.
int wheel() const
Return wheel number.
Definition: DTTrigData.h:47
virtual DTChamberId ChamberId() const =0
Identifier of the associated chamber.
int sector() const
Return sector number.
Definition: DTTrigData.h:53
int station() const
Return station number.
Definition: DTTrigData.h:50
virtual ~DTTrigData()
Destructor.
Definition: DTTrigData.h:41
int sector() const
Definition: DTChamberId.h:49
DTTrigData()
Constructor.
Definition: DTTrigData.h:38
int station() const
Return the station number.
Definition: DTChamberId.h:42
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:39