CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalHaloData.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_METRECO_ECALHALODATA_H
2 #define DATAFORMATS_METRECO_ECALHALODATA_H
3 /*
4  [class]: EcalHaloData
5  [authors]: R. Remington, The University of Florida
6  [description]: Container class to store beam halo data specific to the Ecal subdetector
7  [date]: October 15, 2009
8 */
10 #include <cmath>
18 
19 namespace reco {
20  class EcalHaloData {
21  public:
22  //Constructor
23  EcalHaloData();
24  //Destructor
26 
27  // Number of Halo-like superclusters as a function of the roundness and angular cuts
28  //int NumberOfHaloSuperClusters(int iRoundness=2, int iAngle=2) const;
29  int NumberOfHaloSuperClusters(float roundness=100., float angle=4.0) const;
30 
31  // Return collection of 5-degree Phi Wedges built from Ecal RecHits
32  const std::vector<PhiWedge>& GetPhiWedges() const {return PhiWedgeCollection;}
33  std::vector<PhiWedge>& GetPhiWedges(){return PhiWedgeCollection;}
34 
35  // Get Reference to the SuperClusters
38 
39 
40  // Store Shower Shape variables for SuperClusters
43 
46  private:
47  std::vector<PhiWedge> PhiWedgeCollection;
49 
52 
53  };
54 }
55 
56 #endif
edm::ValueMap< float > & GetShowerShapesRoundness()
Definition: EcalHaloData.h:41
edm::RefVector< reco::SuperClusterCollection > TheSuperClusterRefs
Definition: EcalHaloData.h:48
const std::vector< PhiWedge > & GetPhiWedges() const
Definition: EcalHaloData.h:32
edm::RefVector< reco::SuperClusterCollection > & GetSuperClusters()
Definition: EcalHaloData.h:36
edm::ValueMap< float > & GetShowerShapesAngle()
Definition: EcalHaloData.h:44
int NumberOfHaloSuperClusters(float roundness=100., float angle=4.0) const
Definition: EcalHaloData.cc:14
std::vector< PhiWedge > & GetPhiWedges()
Definition: EcalHaloData.h:33
const edm::ValueMap< float > & GetShowerShapesRoundness() const
Definition: EcalHaloData.h:42
edm::ValueMap< float > ShowerShapes_Angle
Definition: EcalHaloData.h:51
edm::ValueMap< float > ShowerShapes_Roundness
Definition: EcalHaloData.h:50
std::vector< PhiWedge > PhiWedgeCollection
Definition: EcalHaloData.h:47
const edm::RefVector< reco::SuperClusterCollection > & GetSuperClusters() const
Definition: EcalHaloData.h:37
const edm::ValueMap< float > & GetShowerShapesAngle() const
Definition: EcalHaloData.h:45
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11