L1Trigger
DTSectorCollector
src
DTSectCollThSegm.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: DTSectCollThSegm.cpp
4
//
5
// Description: Muon Sector Collector Trigger Theta candidate
6
//
7
//
8
// Author List:
9
// C. Battilana
10
// Modifications:
11
//
12
//
13
//--------------------------------------------------
14
15
//-----------------------
16
// This Class's Header --
17
//-----------------------
18
#include "
L1Trigger/DTSectorCollector/interface/DTSectCollThSegm.h
"
19
20
//-------------------------------
21
// Collaborating Class Headers --
22
//-------------------------------
23
24
//---------------
25
// C++ Headers --
26
//---------------
27
#include <iostream>
28
29
//----------------
30
// Constructors --
31
//----------------
32
DTSectCollThSegm::DTSectCollThSegm
(
DTSectCollId
scid,
int
step
,
const
DTChambThSegm
* tstheta_seg)
33
: m_sectcollid(scid), m_step(
step
), m_tsthetatrig(tstheta_seg) {}
34
35
DTSectCollThSegm::DTSectCollThSegm
(
const
DTSectCollThSegm
& seg)
36
: m_sectcollid(seg.m_sectcollid), m_step(seg.m_step), m_tsthetatrig(seg.m_tsthetatrig) {}
37
38
//--------------
39
// Destructor --
40
//--------------
41
DTSectCollThSegm::~DTSectCollThSegm
() {}
42
43
//--------------
44
// Operations --
45
//--------------
46
47
DTSectCollThSegm
&
DTSectCollThSegm::operator=
(
const
DTSectCollThSegm
& seg) {
48
if
(
this
!= &seg) {
49
m_sectcollid
= seg.
m_sectcollid
;
50
m_step
= seg.
m_step
;
51
m_tsthetatrig
= seg.
m_tsthetatrig
;
52
}
53
return
*
this
;
54
}
55
56
void
DTSectCollThSegm::print
()
const
{
57
std::cout
<<
"TP at step "
<<
step
() <<
", in wheel "
<<
wheel
();
58
std::cout
<<
", station "
<<
station
() <<
", sector "
<<
sector
();
59
std::cout
<<
" : "
<< std::endl;
60
std::cout
<<
" output codes : "
;
61
int
i
= 0;
62
for
(
i
= 0;
i
< 7;
i
++) {
63
std::cout
<< (
int
)(
position
(
i
) +
quality
(
i
)) <<
" "
;
64
}
65
std::cout
<<
"\n"
;
66
}
mps_fire.i
i
Definition:
mps_fire.py:355
step
step
Definition:
StallMonitor.cc:94
DTTrigData::sector
int sector() const
Return sector number.
Definition:
DTTrigData.h:53
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
DTTrigData::station
int station() const
Return station number.
Definition:
DTTrigData.h:50
DTSectCollThSegm
Definition:
DTSectCollThSegm.h:38
DTSectCollThSegm::step
int step() const
Return step number.
Definition:
DTSectCollThSegm.h:56
DTSectCollThSegm::quality
int quality(const int i) const
Return the quality for a given set of 7 BTI.
Definition:
DTSectCollThSegm.h:74
DTChambThSegm
Definition:
DTChambThSegm.h:39
DTSectCollThSegm::m_step
myint8 m_step
step number
Definition:
DTSectCollThSegm.h:81
DTSectCollId
Definition:
DTSectCollId.h:18
DTSectCollThSegm.h
DTSectCollThSegm::m_sectcollid
DTSectCollId m_sectcollid
parent sector collector
Definition:
DTSectCollThSegm.h:74
DTSectCollThSegm::operator=
DTSectCollThSegm & operator=(const DTSectCollThSegm &seg)
Assignment operator.
Definition:
DTSectCollThSegm.cc:47
createfilelist.int
int
Definition:
createfilelist.py:10
DTSectCollThSegm::print
void print() const override
Print.
Definition:
DTSectCollThSegm.cc:56
DTSectCollThSegm::m_tsthetatrig
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
Definition:
DTSectCollThSegm.h:84
DTSectCollThSegm::position
int position(const int i) const
Return the position for a given set of 7 BTI.
Definition:
DTSectCollThSegm.h:71
DTSectCollThSegm::~DTSectCollThSegm
~DTSectCollThSegm() override
Destructor.
Definition:
DTSectCollThSegm.cc:41
DTSectCollThSegm::DTSectCollThSegm
DTSectCollThSegm(DTSectCollId, int, const DTChambThSegm *)
Constructor.
Definition:
DTSectCollThSegm.cc:32
DTTrigData::wheel
int wheel() const
Return wheel number.
Definition:
DTTrigData.h:47
Generated for CMSSW Reference Manual by
1.8.16