CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHaloData.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_METRECO_HCALHALODATA_H
2 #define DATAFORMATS_METRECO_HCALHALODATA_H
3 /*
4  [class]: HcalHaloData
5  [authors]: R. Remington, The University of Florida
6  [description]: Container class to store beam halo data specific to the Hcal subdetector
7  [date]: October 15, 2009
8 */
9 #include <vector>
13 
15  std::vector<std::pair<uint8_t, CaloTowerDetId> > cellTowerIds;
16  float hadEt;
18  hadEt = 0.0;
19  cellTowerIds.clear();
20  }
22  cellTowerIds = strip.cellTowerIds;
23  hadEt = strip.hadEt;
24  }
25 };
26 
27 namespace reco {
28 
29  class HcalHaloData {
30 
31  public:
32  //constructor
33  HcalHaloData();
34  //destructor
36 
37 
38 
39  // Return collection of 5-degree Phi Wedges built from Hcal RecHits
40  const std::vector<PhiWedge>& GetPhiWedges() const {return PhiWedgeCollection;}
41  std::vector<PhiWedge>& GetPhiWedges() {return PhiWedgeCollection;}
42 
43  // Return collection of problematic strips (pairs of # of problematic HCAL cells and CaloTowerDetId)
44  const std::vector<HaloTowerStrip>& getProblematicStrips() const {return problematicStripCollection;}
45  std::vector<HaloTowerStrip>& getProblematicStrips() {return problematicStripCollection;}
46 
47  private:
48  std::vector<PhiWedge> PhiWedgeCollection;
49  std::vector<HaloTowerStrip> problematicStripCollection;
50 
51  };
52 }
53 #endif
std::vector< HaloTowerStrip > problematicStripCollection
Definition: HcalHaloData.h:49
std::vector< PhiWedge > PhiWedgeCollection
Definition: HcalHaloData.h:48
std::vector< PhiWedge > & GetPhiWedges()
Definition: HcalHaloData.h:41
const std::vector< HaloTowerStrip > & getProblematicStrips() const
Definition: HcalHaloData.h:44
HaloTowerStrip(const HaloTowerStrip &strip)
Definition: HcalHaloData.h:21
const std::vector< PhiWedge > & GetPhiWedges() const
Definition: HcalHaloData.h:40
std::vector< HaloTowerStrip > & getProblematicStrips()
Definition: HcalHaloData.h:45
std::vector< std::pair< uint8_t, CaloTowerDetId > > cellTowerIds
Definition: HcalHaloData.h:15