CondFormats
L1TObjects
src
L1GtPrescaleFactors.cc
Go to the documentation of this file.
1
17
// this class header
18
#include "
CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h
"
19
20
// system include files
21
22
// user include files
23
// base class
24
25
// forward declarations
26
27
// constructor
28
L1GtPrescaleFactors::L1GtPrescaleFactors
() {
29
// empty
30
}
31
32
L1GtPrescaleFactors::L1GtPrescaleFactors
(
const
std::vector
<std::vector<int> >& factorValue) {
33
m_prescaleFactors
= factorValue;
34
}
35
36
// destructor
37
L1GtPrescaleFactors::~L1GtPrescaleFactors
() {
38
// empty
39
}
40
41
// set the prescale factors
42
void
L1GtPrescaleFactors::setGtPrescaleFactors
(
const
std::vector
<std::vector<int> >& factorValue) {
43
m_prescaleFactors
= factorValue;
44
}
45
46
// print the prescale factors
47
void
L1GtPrescaleFactors::print
(std::ostream& myOstream)
const
{
48
myOstream <<
"\nL1 GT Trigger prescale factors"
<< std::endl;
49
50
for
(
unsigned
iSet = 0; iSet <
m_prescaleFactors
.size(); iSet++) {
51
myOstream <<
"\n\n Set index "
<< iSet <<
"\n "
<< std::endl;
52
for
(
unsigned
i
= 0;
i
< (
m_prescaleFactors
[iSet]).
size
();
i
++) {
53
myOstream <<
" Bit number \t"
<<
i
<<
":\t prescale factor: "
<< (
m_prescaleFactors
[iSet])[
i
] << std::endl;
54
}
55
}
56
}
mps_fire.i
i
Definition:
mps_fire.py:428
L1GtPrescaleFactors::L1GtPrescaleFactors
L1GtPrescaleFactors()
Definition:
L1GtPrescaleFactors.cc:28
L1GtPrescaleFactors::~L1GtPrescaleFactors
virtual ~L1GtPrescaleFactors()
Definition:
L1GtPrescaleFactors.cc:37
L1GtPrescaleFactors::print
void print(std::ostream &) const
print the prescale factors
Definition:
L1GtPrescaleFactors.cc:47
L1GtPrescaleFactors::setGtPrescaleFactors
void setGtPrescaleFactors(const std::vector< std::vector< int > > &)
set the prescale factors
Definition:
L1GtPrescaleFactors.cc:42
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
L1GtPrescaleFactors::m_prescaleFactors
std::vector< std::vector< int > > m_prescaleFactors
prescale factors
Definition:
L1GtPrescaleFactors.h:55
L1GtPrescaleFactors.h
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
Generated for CMSSW Reference Manual by
1.8.16