Main Page
Namespaces
Classes
Package Documentation
L1Trigger
DTUtilities
interface
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
23
#include "
DataFormats/MuonDetId/interface/DTChamberId.h
"
24
#include "
DataFormats/MuonDetId/interface/DTLayerId.h
"
25
#include "
DataFormats/MuonDetId/interface/DTSuperLayerId.h
"
26
#include "
DataFormats/MuonDetId/interface/DTWireId.h
"
27
//---------------
28
// C++ Headers --
29
//---------------
30
31
// ---------------------
32
// -- Class Interface --
33
// ---------------------
34
35
class
DTTrigData
{
36
37
public
:
39
DTTrigData
() {}
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
#endif
DTSuperLayerId.h
DTTrigData::wheel
int wheel() const
Return wheel number.
Definition:
DTTrigData.h:48
DTChamberId
Definition:
DTChamberId.h:14
DTTrigData::sector
int sector() const
Return sector number.
Definition:
DTTrigData.h:54
DTTrigData::station
int station() const
Return station number.
Definition:
DTTrigData.h:51
DTChamberId.h
DTLayerId.h
DTTrigData::~DTTrigData
virtual ~DTTrigData()
Destructor.
Definition:
DTTrigData.h:42
DTTrigData::ChamberId
virtual DTChamberId ChamberId() const =0
Identifier of the associated chamber.
DTTrigData
Definition:
DTTrigData.h:35
DTWireId.h
DTChamberId::sector
int sector() const
Definition:
DTChamberId.h:61
DTTrigData::print
virtual void print() const =0
Print a trigger-data object with also local and global position/direction.
DTTrigData::DTTrigData
DTTrigData()
Constructor.
Definition:
DTTrigData.h:39
DTChamberId::station
int station() const
Return the station number.
Definition:
DTChamberId.h:51
DTChamberId::wheel
int wheel() const
Return the wheel number.
Definition:
DTChamberId.h:45
Generated for CMSSW Reference Manual by
1.8.11