CMS 3D CMS Logo

DTC.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_DTC_h
2 #define L1Trigger_TrackFindingTracklet_interface_DTC_h
3 
6 
7 namespace trklet {
8 
9  class Stub;
10  class L1TStub;
11 
12  class DTC {
13  public:
14  DTC(std::string name = "");
15 
16  ~DTC() = default;
17 
18  void setName(std::string name);
19 
20  void addSec(int sector);
21 
22  void addphi(double phi, unsigned int layerdisk);
23 
24  void addLink(double phimin, double phimax);
25 
26  int addStub(std::pair<Stub*, L1TStub*> stub);
27 
28  unsigned int nLinks() const { return links_.size(); }
29 
30  const DTCLink& link(unsigned int i) const { return links_[i]; }
31 
32  void clean();
33 
34  double min(unsigned int i) const { return phimin_[i]; }
35  double max(unsigned int i) const { return phimax_[i]; }
36 
37  private:
39  std::vector<DTCLink> links_;
40  std::vector<int> sectors_;
41 
42  double phimin_[N_LAYER + N_DISK];
43  double phimax_[N_LAYER + N_DISK];
44  };
45 }; // namespace trklet
46 #endif
trklet::DTC::sectors_
std::vector< int > sectors_
Definition: DTC.h:40
Settings.h
trklet::DTC::clean
void clean()
Definition: DTC.cc:48
mps_fire.i
i
Definition: mps_fire.py:428
trklet::DTC::~DTC
~DTC()=default
phimin
float phimin
Definition: ReggeGribovPartonMCHadronizer.h:107
trklet::DTC::setName
void setName(std::string name)
Definition: DTC.cc:18
trklet::N_DISK
constexpr int N_DISK
Definition: Settings.h:20
trklet::DTC::name_
std::string name_
Definition: DTC.h:38
trklet::DTC::max
double max(unsigned int i) const
Definition: DTC.h:35
trklet::DTC::phimax_
double phimax_[N_LAYER+N_DISK]
Definition: DTC.h:43
trklet::DTC::addStub
int addStub(std::pair< Stub *, L1TStub * > stub)
Definition: DTC.cc:35
trklet::DTC::nLinks
unsigned int nLinks() const
Definition: DTC.h:28
trklet::N_LAYER
constexpr int N_LAYER
Definition: Settings.h:19
trklet::DTC::phimin_
double phimin_[N_LAYER+N_DISK]
Definition: DTC.h:42
trklet::DTC::links_
std::vector< DTCLink > links_
Definition: DTC.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::DTC::min
double min(unsigned int i) const
Definition: DTC.h:34
trklet::DTC::addSec
void addSec(int sector)
Definition: DTC.cc:20
trklet::DTC::addLink
void addLink(double phimin, double phimax)
Definition: DTC.cc:30
trklet::DTC
Definition: DTC.h:12
trklet
Definition: AllProjectionsMemory.h:9
trklet::DTC::link
const DTCLink & link(unsigned int i) const
Definition: DTC.h:30
phimax
float phimax
Definition: ReggeGribovPartonMCHadronizer.h:106
trklet::DTC::DTC
DTC(std::string name="")
trklet::DTC::addphi
void addphi(double phi, unsigned int layerdisk)
Definition: DTC.cc:22
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17