test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalHaloAlgo.h
Go to the documentation of this file.
1 #ifndef RECOMET_METALGORITHMS_GLOBALHALOALGO_H
2 #define RECOMET_METALGORITHMS_GLOBALHALOALGO_H
3 
4 /*
5  [class]: GlobalHaloAlgo
6  [authors]: R. Remington, The University of Florida
7  [description]: Algorithm to calculate quantities relevant to GlobalHaloData object
8  [date]: October 15, 2009
9 */
10 
51 
56 
58  public:
59  // Constructor
61  // Destructor
63 
64  // run algorithm
65  reco::GlobalHaloData Calculate(const CaloGeometry& TheCaloGeometry, const CSCGeometry& TheCSCGeometry,const reco::CaloMET& TheCaloMET,edm::Handle<edm::View<reco::Candidate> >& TheCaloTowers, edm::Handle<CSCSegmentCollection>& TheCSCSegments, edm::Handle<CSCRecHit2DCollection>& TheCSCRecHits, const reco::CSCHaloData& TheCSCHaloData ,const reco::EcalHaloData& TheEcalHaloData, const reco::HcalHaloData& TheHcalHaloData);
66 
67  // Set min & max radius to associate CSC Rechits with Ecal Phi Wedges
69  // Set min & max radius to associate CSC Rechits with Hcal Phi Wedges
71  // Set CaloTowerEtTheshold
72  void SetCaloTowerEtThreshold(float EtMin) { TowerEtThreshold = EtMin ;}
73  // run algorithm
74 
75  private:
76  float Ecal_R_Min;
77  float Ecal_R_Max;
78  float Hcal_R_Min;
79  float Hcal_R_Max;
81 };
82 
83 #endif
float TowerEtThreshold
reco::GlobalHaloData Calculate(const CaloGeometry &TheCaloGeometry, const CSCGeometry &TheCSCGeometry, const reco::CaloMET &TheCaloMET, edm::Handle< edm::View< reco::Candidate > > &TheCaloTowers, edm::Handle< CSCSegmentCollection > &TheCSCSegments, edm::Handle< CSCRecHit2DCollection > &TheCSCRecHits, const reco::CSCHaloData &TheCSCHaloData, const reco::EcalHaloData &TheEcalHaloData, const reco::HcalHaloData &TheHcalHaloData)
void SetHcalMatchingRadius(float min, float max)
T min(T a, T b)
Definition: MathUtil.h:58
void SetEcalMatchingRadius(float min, float max)
void SetCaloTowerEtThreshold(float EtMin)