Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
// $Id: L1HFRings.cc,v 1.2 2009/03/22 16:11:30 wsun Exp $
12
//
13
14
// system include files
15
16
// user include files
17
#include "
DataFormats/L1Trigger/interface/L1HFRings.h
"
18
19
using namespace
l1extra ;
20
21
//
22
// constants, enums and typedefs
23
//
24
25
//
26
// static data member definitions
27
//
28
29
//
30
// constructors and destructor
31
//
32
L1HFRings::L1HFRings
()
33
{
34
}
35
36
L1HFRings::L1HFRings
(
37
const
double
* hfEtSums,
// array of etSums
38
const
int
* hfBitCounts,
// array of bitCounts
39
const
edm::Ref< L1GctHFRingEtSumsCollection >
& aHFEtSumsRef,
40
const
edm::Ref< L1GctHFBitCountsCollection >
& aHFBitCountsRef,
41
int
bx )
42
: m_etSumsRef( aHFEtSumsRef ),
43
m_bitCountsRef( aHFBitCountsRef ),
44
m_bx( bx )
45
{
46
for
(
int
i
= 0 ;
i
<
kNumRings
; ++
i
)
47
{
48
m_ringEtSums
[
i
] = hfEtSums[
i
] ;
49
m_ringBitCounts
[
i
] = hfBitCounts[
i
] ;
50
}
51
}
52
53
// L1HFRings::L1HFRings(const L1HFRings& rhs)
54
// {
55
// // do actual copying here;
56
// }
57
58
L1HFRings::~L1HFRings
()
59
{
60
}
61
62
//
63
// assignment operators
64
//
65
// const L1HFRings& L1HFRings::operator=(const L1HFRings& rhs)
66
// {
67
// //An exception safe implementation is
68
// L1HFRings temp(rhs);
69
// swap(rhs);
70
//
71
// return *this;
72
// }
73
74
//
75
// member functions
76
//
77
78
//
79
// const member functions
80
//
81
82
//
83
// static member functions
84
//
i
int i
Definition:
DBlmapReader.cc:9
l1extra::L1HFRings::m_ringEtSums
double m_ringEtSums[kNumRings]
Definition:
L1HFRings.h:80
l1extra::L1HFRings::~L1HFRings
virtual ~L1HFRings()
Definition:
L1HFRings.cc:58
l1extra::L1HFRings::m_ringBitCounts
int m_ringBitCounts[kNumRings]
Definition:
L1HFRings.h:81
L1HFRings.h
l1extra::L1HFRings::L1HFRings
L1HFRings()
Definition:
L1HFRings.cc:32
l1extra::L1HFRings::kNumRings
Definition:
L1HFRings.h:37
edm::Ref< L1GctHFRingEtSumsCollection >
Generated for CMSSW Reference Manual by
1.8.5