CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
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 //
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 
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 //
double m_ringEtSums[kNumRings]
Definition: L1HFRings.h:71
virtual ~L1HFRings()
Definition: L1HFRings.cc:50
int m_ringBitCounts[kNumRings]
Definition: L1HFRings.h:72