CMS 3D CMS Logo

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 }
34 
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 
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 //
double m_ringEtSums[kNumRings]
Definition: L1HFRings.h:79
virtual ~L1HFRings()
Definition: L1HFRings.cc:57
int m_ringBitCounts[kNumRings]
Definition: L1HFRings.h:80
edm::Ref< L1GctHFBitCountsCollection > m_bitCountsRef
Definition: L1HFRings.h:83
int bx() const
Definition: L1HFRings.h:67
edm::Ref< L1GctHFRingEtSumsCollection > m_etSumsRef
Definition: L1HFRings.h:82