Main Page
Namespaces
Classes
Package Documentation
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
}
34
35
L1HFRings::L1HFRings
(
36
const
double
* hfEtSums,
// array of etSums
37
const
int
* hfBitCounts,
// array of bitCounts
38
const
edm::Ref< L1GctHFRingEtSumsCollection >
& aHFEtSumsRef,
39
const
edm::Ref< L1GctHFBitCountsCollection >
& aHFBitCountsRef,
40
int
bx
)
41
:
m_etSumsRef
( aHFEtSumsRef ),
42
m_bitCountsRef
( aHFBitCountsRef ),
43
m_bx
( bx )
44
{
45
for
(
int
i
= 0 ;
i
<
kNumRings
; ++
i
)
46
{
47
m_ringEtSums
[
i
] = hfEtSums[
i
] ;
48
m_ringBitCounts
[
i
] = hfBitCounts[
i
] ;
49
}
50
}
51
52
// L1HFRings::L1HFRings(const L1HFRings& rhs)
53
// {
54
// // do actual copying here;
55
// }
56
57
L1HFRings::~L1HFRings
()
58
{
59
}
60
61
//
62
// assignment operators
63
//
64
// const L1HFRings& L1HFRings::operator=(const L1HFRings& rhs)
65
// {
66
// //An exception safe implementation is
67
// L1HFRings temp(rhs);
68
// swap(rhs);
69
//
70
// return *this;
71
// }
72
73
//
74
// member functions
75
//
76
77
//
78
// const member functions
79
//
80
81
//
82
// static member functions
83
//
mps_fire.i
i
Definition:
mps_fire.py:269
l1extra
Definition:
L1EmParticle.h:26
edm::Ref< L1GctHFRingEtSumsCollection >
l1extra::L1HFRings::m_ringEtSums
double m_ringEtSums[kNumRings]
Definition:
L1HFRings.h:79
l1extra::L1HFRings::~L1HFRings
virtual ~L1HFRings()
Definition:
L1HFRings.cc:57
l1extra::L1HFRings::m_ringBitCounts
int m_ringBitCounts[kNumRings]
Definition:
L1HFRings.h:80
L1HFRings.h
l1extra::L1HFRings::m_bitCountsRef
edm::Ref< L1GctHFBitCountsCollection > m_bitCountsRef
Definition:
L1HFRings.h:83
l1extra::L1HFRings::bx
int bx() const
Definition:
L1HFRings.h:67
l1extra::L1HFRings::L1HFRings
L1HFRings()
Definition:
L1HFRings.cc:31
l1extra::L1HFRings::kNumRings
Definition:
L1HFRings.h:36
l1extra::L1HFRings::m_bx
int m_bx
Definition:
L1HFRings.h:85
l1extra::L1HFRings::m_etSumsRef
edm::Ref< L1GctHFRingEtSumsCollection > m_etSumsRef
Definition:
L1HFRings.h:82
Generated for CMSSW Reference Manual by
1.8.11