src
DataFormats
L1Trigger
src
L1HFRings.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: L1Trigger
4
// Class : L1HFRings
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author:
10
// Created: Fri Mar 20 12:16:54 CET 2009
11
//
12
13
// system include files
14
15
// user include files
16
#include "
DataFormats/L1Trigger/interface/L1HFRings.h
"
17
18
using namespace
l1extra
;
19
20
//
21
// constants, enums and typedefs
22
//
23
24
//
25
// static data member definitions
26
//
27
28
//
29
// constructors and destructor
30
//
31
L1HFRings::L1HFRings
() {}
32
33
L1HFRings::L1HFRings
(
const
double
* hfEtSums,
// array of etSums
34
const
int
* hfBitCounts,
// array of bitCounts
35
const
edm::Ref<L1GctHFRingEtSumsCollection>
& aHFEtSumsRef,
36
const
edm::Ref<L1GctHFBitCountsCollection>
& aHFBitCountsRef,
37
int
bx
)
38
: m_etSumsRef(aHFEtSumsRef), m_bitCountsRef(aHFBitCountsRef), m_bx(
bx
) {
39
for
(
int
i
= 0;
i
<
kNumRings
; ++
i
) {
40
m_ringEtSums
[
i
] = hfEtSums[
i
];
41
m_ringBitCounts
[
i
] = hfBitCounts[
i
];
42
}
43
}
44
45
// L1HFRings::L1HFRings(const L1HFRings& rhs)
46
// {
47
// // do actual copying here;
48
// }
49
50
L1HFRings::~L1HFRings
() {}
51
52
//
53
// assignment operators
54
//
55
// const L1HFRings& L1HFRings::operator=(const L1HFRings& rhs)
56
// {
57
// //An exception safe implementation is
58
// L1HFRings temp(rhs);
59
// swap(rhs);
60
//
61
// return *this;
62
// }
63
64
//
65
// member functions
66
//
67
68
//
69
// const member functions
70
//
71
72
//
73
// static member functions
74
//
mps_fire.i
i
Definition:
mps_fire.py:428
l1extra
Definition:
L1EmParticle.h:26
edm::Ref< L1GctHFRingEtSumsCollection >
l1extra::L1HFRings::m_ringEtSums
double m_ringEtSums[kNumRings]
Definition:
L1HFRings.h:71
simKBmtfDigis_cfi.bx
bx
Definition:
simKBmtfDigis_cfi.py:55
l1extra::L1HFRings::~L1HFRings
virtual ~L1HFRings()
Definition:
L1HFRings.cc:50
l1extra::L1HFRings::m_ringBitCounts
int m_ringBitCounts[kNumRings]
Definition:
L1HFRings.h:72
L1HFRings.h
l1extra::L1HFRings::L1HFRings
L1HFRings()
Definition:
L1HFRings.cc:31
l1extra::L1HFRings::kNumRings
Definition:
L1HFRings.h:33
Generated for CMSSW Reference Manual by
1.8.14