CondFormats
L1TObjects
interface
L1GtPrescaleFactors.h
Go to the documentation of this file.
1
#ifndef CondFormats_L1TObjects_L1GtPrescaleFactors_h
2
#define CondFormats_L1TObjects_L1GtPrescaleFactors_h
3
20
// system include files
21
#include "
CondFormats/Serialization/interface/Serializable.h
"
22
23
#include <vector>
24
#include <ostream>
25
26
// user include files
27
// base class
28
29
// forward declarations
30
31
// class declaration
32
class
L1GtPrescaleFactors
{
33
public
:
34
// constructor
35
L1GtPrescaleFactors
();
36
37
// from a vector of prescale-factor set
38
L1GtPrescaleFactors
(
const
std::vector
<std::vector<int> >&);
39
40
// destructor
41
virtual
~L1GtPrescaleFactors
();
42
43
public
:
45
inline
const
std::vector<std::vector<int> >&
gtPrescaleFactors
()
const
{
return
m_prescaleFactors
; }
46
48
void
setGtPrescaleFactors
(
const
std::vector
<std::vector<int> >&);
49
51
void
print
(std::ostream&)
const
;
52
53
private
:
55
std::vector<std::vector<int> >
m_prescaleFactors
;
56
57
COND_SERIALIZABLE
;
58
};
59
60
#endif
/*CondFormats_L1TObjects_L1GtPrescaleFactors_h*/
L1GtPrescaleFactors
Definition:
L1GtPrescaleFactors.h:32
L1GtPrescaleFactors::L1GtPrescaleFactors
L1GtPrescaleFactors()
Definition:
L1GtPrescaleFactors.cc:28
L1GtPrescaleFactors::~L1GtPrescaleFactors
virtual ~L1GtPrescaleFactors()
Definition:
L1GtPrescaleFactors.cc:37
L1GtPrescaleFactors::gtPrescaleFactors
const std::vector< std::vector< int > > & gtPrescaleFactors() const
get the prescale factors by reference
Definition:
L1GtPrescaleFactors.h:45
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
L1GtPrescaleFactors::print
void print(std::ostream &) const
print the prescale factors
Definition:
L1GtPrescaleFactors.cc:47
Serializable.h
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
Generated for CMSSW Reference Manual by
1.8.16