CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
EcalHaloAlgo Class Reference

#include <EcalHaloAlgo.h>

Public Member Functions

reco::EcalHaloData Calculate (const CaloGeometry &TheCaloGeometry, edm::Handle< reco::PhotonCollection > &ThePhotons, edm::Handle< reco::SuperClusterCollection > &TheSuperClusters, edm::Handle< EBRecHitCollection > &TheEBRecHits, edm::Handle< EERecHitCollection > &TheEERecHits, edm::Handle< ESRecHitCollection > &TheESRecHits, edm::Handle< HBHERecHitCollection > &TheHBHERecHits, const edm::EventSetup &TheSetup)
 
bool EBClusterShapeandTimeStudy (reco::HaloClusterCandidateECAL hcand, bool ishlt)
 
 EcalHaloAlgo ()
 
bool EEClusterShapeandTimeStudy_ITBH (reco::HaloClusterCandidateECAL hcand, bool ishlt)
 
bool EEClusterShapeandTimeStudy_OTBH (reco::HaloClusterCandidateECAL hcand, bool ishlt)
 
float GetAngleCut ()
 
float GetEBRecHitEnergyThreshold ()
 
float GetEERecHitEnergyThreshold ()
 
float GetESRecHitEnergyThreshold ()
 
std::vector
< reco::HaloClusterCandidateECAL
GetHaloClusterCandidateEB (edm::Handle< EcalRecHitCollection > &ecalrechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)
 
std::vector
< reco::HaloClusterCandidateECAL
GetHaloClusterCandidateEE (edm::Handle< EcalRecHitCollection > &ecalrechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)
 
float GetPhiWedgeEnergyThreshold ()
 
int GetPhiWedgeNHitsThreshold ()
 
float GetRoundnessCut ()
 
void SetAngleCut (float a=4.)
 
void SetPhiWedgeEnergyThreshold (float SumE)
 
void SetPhiWedgeNHitsThreshold (int nhits)
 
void SetPhiWedgeThresholds (float SumE, int nhits)
 
void SetRecHitEnergyThresholds (float EB, float EE, float ES)
 
void SetRoundnessCut (float r=100.)
 
 ~EcalHaloAlgo ()
 

Private Member Functions

math::XYZPoint getPosition (const DetId &id, reco::Vertex::Point vtx)
 

Private Attributes

float AngleCut
 
float EBRecHitEnergyThreshold
 
float EERecHitEnergyThreshold
 
float ESRecHitEnergyThreshold
 
const CaloGeometrygeo
 
int NHitsThreshold
 
float RoundnessCut
 
float SumEnergyThreshold
 

Detailed Description

Definition at line 44 of file EcalHaloAlgo.h.

Constructor & Destructor Documentation

EcalHaloAlgo::EcalHaloAlgo ( )

Definition at line 19 of file EcalHaloAlgo.cc.

EcalHaloAlgo::~EcalHaloAlgo ( )
inline

Definition at line 50 of file EcalHaloAlgo.h.

50 {}

Member Function Documentation

EcalHaloData EcalHaloAlgo::Calculate ( const CaloGeometry TheCaloGeometry,
edm::Handle< reco::PhotonCollection > &  ThePhotons,
edm::Handle< reco::SuperClusterCollection > &  TheSuperClusters,
edm::Handle< EBRecHitCollection > &  TheEBRecHits,
edm::Handle< EERecHitCollection > &  TheEERecHits,
edm::Handle< ESRecHitCollection > &  TheESRecHits,
edm::Handle< HBHERecHitCollection > &  TheHBHERecHits,
const edm::EventSetup TheSetup 
)

Definition at line 32 of file EcalHaloAlgo.cc.

Referenced by reco::EcalHaloDataProducer::produce().

bool EcalHaloAlgo::EBClusterShapeandTimeStudy ( reco::HaloClusterCandidateECAL  hcand,
bool  ishlt 
)

Definition at line 473 of file EcalHaloAlgo.cc.

bool EcalHaloAlgo::EEClusterShapeandTimeStudy_ITBH ( reco::HaloClusterCandidateECAL  hcand,
bool  ishlt 
)

Definition at line 511 of file EcalHaloAlgo.cc.

bool EcalHaloAlgo::EEClusterShapeandTimeStudy_OTBH ( reco::HaloClusterCandidateECAL  hcand,
bool  ishlt 
)

Definition at line 496 of file EcalHaloAlgo.cc.

float EcalHaloAlgo::GetAngleCut ( )
inline

Definition at line 78 of file EcalHaloAlgo.h.

References AngleCut.

78 {return AngleCut ;}
float AngleCut
Definition: EcalHaloAlgo.h:95
float EcalHaloAlgo::GetEBRecHitEnergyThreshold ( )
inline

Definition at line 81 of file EcalHaloAlgo.h.

References EBRecHitEnergyThreshold.

81 { return EBRecHitEnergyThreshold;}
float EBRecHitEnergyThreshold
Definition: EcalHaloAlgo.h:98
float EcalHaloAlgo::GetEERecHitEnergyThreshold ( )
inline

Definition at line 82 of file EcalHaloAlgo.h.

References EERecHitEnergyThreshold.

82 { return EERecHitEnergyThreshold;}
float EERecHitEnergyThreshold
Definition: EcalHaloAlgo.h:99
float EcalHaloAlgo::GetESRecHitEnergyThreshold ( )
inline

Definition at line 83 of file EcalHaloAlgo.h.

References ESRecHitEnergyThreshold.

83 { return ESRecHitEnergyThreshold;}
float ESRecHitEnergyThreshold
Definition: EcalHaloAlgo.h:100
std::vector< HaloClusterCandidateECAL > EcalHaloAlgo::GetHaloClusterCandidateEB ( edm::Handle< EcalRecHitCollection > &  ecalrechitcoll,
edm::Handle< HBHERecHitCollection > &  hbherechitcoll,
float  et_thresh_seedrh 
)

Definition at line 226 of file EcalHaloAlgo.cc.

std::vector< HaloClusterCandidateECAL > EcalHaloAlgo::GetHaloClusterCandidateEE ( edm::Handle< EcalRecHitCollection > &  ecalrechitcoll,
edm::Handle< HBHERecHitCollection > &  hbherechitcoll,
float  et_thresh_seedrh 
)

Definition at line 342 of file EcalHaloAlgo.cc.

float EcalHaloAlgo::GetPhiWedgeEnergyThreshold ( )
inline

Definition at line 86 of file EcalHaloAlgo.h.

References SumEnergyThreshold.

86 { return SumEnergyThreshold;}
float SumEnergyThreshold
Definition: EcalHaloAlgo.h:103
int EcalHaloAlgo::GetPhiWedgeNHitsThreshold ( )
inline

Definition at line 87 of file EcalHaloAlgo.h.

References NHitsThreshold.

87 { return NHitsThreshold;}
math::XYZPoint EcalHaloAlgo::getPosition ( const DetId id,
reco::Vertex::Point  vtx 
)
private

Definition at line 533 of file EcalHaloAlgo.cc.

float EcalHaloAlgo::GetRoundnessCut ( )
inline

Definition at line 76 of file EcalHaloAlgo.h.

References RoundnessCut.

76 {return RoundnessCut ;}
float RoundnessCut
Definition: EcalHaloAlgo.h:93
void EcalHaloAlgo::SetAngleCut ( float  a = 4.)
inline

Definition at line 57 of file EcalHaloAlgo.h.

References a, and AngleCut.

Referenced by reco::EcalHaloDataProducer::produce().

57 { AngleCut =a;}
double a
Definition: hdecay.h:121
float AngleCut
Definition: EcalHaloAlgo.h:95
void EcalHaloAlgo::SetPhiWedgeEnergyThreshold ( float  SumE)
inline

Definition at line 62 of file EcalHaloAlgo.h.

References SumEnergyThreshold.

62 { SumEnergyThreshold = SumE ;}
float SumEnergyThreshold
Definition: EcalHaloAlgo.h:103
void EcalHaloAlgo::SetPhiWedgeNHitsThreshold ( int  nhits)
inline

Definition at line 63 of file EcalHaloAlgo.h.

References nhits, and NHitsThreshold.

void EcalHaloAlgo::SetPhiWedgeThresholds ( float  SumE,
int  nhits 
)
inline

Definition at line 64 of file EcalHaloAlgo.h.

References nhits, NHitsThreshold, and SumEnergyThreshold.

Referenced by reco::EcalHaloDataProducer::produce().

void EcalHaloAlgo::SetRecHitEnergyThresholds ( float  EB,
float  EE,
float  ES 
)
inline
void EcalHaloAlgo::SetRoundnessCut ( float  r = 100.)
inline

Definition at line 55 of file EcalHaloAlgo.h.

References alignCSCRings::r, and RoundnessCut.

Referenced by reco::EcalHaloDataProducer::produce().

55 { RoundnessCut=r; }
float RoundnessCut
Definition: EcalHaloAlgo.h:93

Member Data Documentation

float EcalHaloAlgo::AngleCut
private

Definition at line 95 of file EcalHaloAlgo.h.

Referenced by GetAngleCut(), and SetAngleCut().

float EcalHaloAlgo::EBRecHitEnergyThreshold
private

Definition at line 98 of file EcalHaloAlgo.h.

Referenced by GetEBRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().

float EcalHaloAlgo::EERecHitEnergyThreshold
private

Definition at line 99 of file EcalHaloAlgo.h.

Referenced by GetEERecHitEnergyThreshold(), and SetRecHitEnergyThresholds().

float EcalHaloAlgo::ESRecHitEnergyThreshold
private

Definition at line 100 of file EcalHaloAlgo.h.

Referenced by GetESRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().

const CaloGeometry* EcalHaloAlgo::geo
private

Definition at line 106 of file EcalHaloAlgo.h.

int EcalHaloAlgo::NHitsThreshold
private
float EcalHaloAlgo::RoundnessCut
private

Definition at line 93 of file EcalHaloAlgo.h.

Referenced by GetRoundnessCut(), and SetRoundnessCut().

float EcalHaloAlgo::SumEnergyThreshold
private