CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTrigData.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
8 //
9 //--------------------------------------------------
10 #ifndef DT_TRIG_DATA_H_
11 #define DT_TRIG_DATA_H_
12 
13 //------------------------------------
14 // Collaborating Class Declarations --
15 //------------------------------------
16 
17 //----------------------
18 // Base Class Headers --
19 //----------------------
20 //#include "Profound/MuNumbering/interface/MuBarIdInclude.h"
21 //Should become
26 //---------------
27 // C++ Headers --
28 //---------------
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
34 class DTTrigData {
35 
36  public:
37 
40 
42  virtual ~DTTrigData() {}
43 
45  virtual DTChamberId ChamberId() const = 0;
46 
48  inline int wheel() const { return ChamberId().wheel(); }
49 
51  inline int station() const { return ChamberId().station(); }
52 
54  inline int sector() const { return ChamberId().sector(); }
55 
57  virtual void print() const = 0;
58 
59 };
60 #endif
61 
62 
63 
64 
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:48
virtual DTChamberId ChamberId() const =0
Identifier of the associated chamber.
int sector() const
Return sector number.
Definition: DTTrigData.h:54
int station() const
Return station number.
Definition: DTTrigData.h:51
virtual ~DTTrigData()
Destructor.
Definition: DTTrigData.h:42
int sector() const
Definition: DTChamberId.h:63
DTTrigData()
Constructor.
Definition: DTTrigData.h:39
int station() const
Return the station number.
Definition: DTChamberId.h:53
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:47