CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CxCalculator.h
Go to the documentation of this file.
1 #ifndef CxCalculator_h
2 #define CxCalculator_h
3 
7 
10 
13 
16 
17 
19 {
20  public:
21 
22  CxCalculator(const edm::Event &iEvent, const edm::EventSetup &iSetup, edm::InputTag barrelLabel, edm::InputTag endcapLabel) ;
23 
24  double getJurassicArea( double r1, double r2, double width) ;
25  double getBCMax(const reco::SuperClusterRef clus,int i);
26  double getCx(const reco::SuperClusterRef clus, double i,double threshold);
27  double getCxRemoveSC(const reco::SuperClusterRef clus, double i,double threshold);
28  double getCCx(const reco::SuperClusterRef clus, double i,double threshold); // background subtracted Cx
29  double getJc (const reco::SuperClusterRef cluster, double r1=0.4, double r2=0.06, double jWidth=0.04, double threshold=0);
30  double getJcc(const reco::SuperClusterRef cluster, double r1=0.4, double r2=0.06, double jWidth=0.04, double threshold=0);
31  double getCCxRemoveSC(const reco::SuperClusterRef clus, double i,double threshold); // background subtracted Cx
32  double getCorrection(const reco::SuperClusterRef clus, double i,double j,double threshold); // background subtracted Cx
33  double getAvgBCEt(const reco::SuperClusterRef clus, double eta,double phi1, double phi2,double threshold); // background subtracted Cx
34  double getNBC(const reco::SuperClusterRef clus, double eta,double phi1, double phi2,double threshold); // background subtracted Cx
35  bool checkUsed(const reco::SuperClusterRef clus, const reco::BasicCluster* clu);
36 
37  private:
38 
42 
43 };
44 
45 #endif
int i
Definition: DBlmapReader.cc:9
double getJc(const reco::SuperClusterRef cluster, double r1=0.4, double r2=0.06, double jWidth=0.04, double threshold=0)
double getAvgBCEt(const reco::SuperClusterRef clus, double eta, double phi1, double phi2, double threshold)
double getJcc(const reco::SuperClusterRef cluster, double r1=0.4, double r2=0.06, double jWidth=0.04, double threshold=0)
CxCalculator(const edm::Event &iEvent, const edm::EventSetup &iSetup, edm::InputTag barrelLabel, edm::InputTag endcapLabel)
Definition: CxCalculator.cc:38
double getNBC(const reco::SuperClusterRef clus, double eta, double phi1, double phi2, double threshold)
T eta() const
const CaloGeometry * geometry_
Definition: CxCalculator.h:41
double getCCxRemoveSC(const reco::SuperClusterRef clus, double i, double threshold)
int iEvent
Definition: GenABIO.cc:243
const reco::BasicClusterCollection * fEBclusters_
Definition: CxCalculator.h:39
bool checkUsed(const reco::SuperClusterRef clus, const reco::BasicCluster *clu)
int j
Definition: DBlmapReader.cc:9
double getCCx(const reco::SuperClusterRef clus, double i, double threshold)
double getCxRemoveSC(const reco::SuperClusterRef clus, double i, double threshold)
double getCx(const reco::SuperClusterRef clus, double i, double threshold)
Definition: CxCalculator.cc:65
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
double getJurassicArea(double r1, double r2, double width)
Definition: CxCalculator.cc:24
const reco::BasicClusterCollection * fEEclusters_
Definition: CxCalculator.h:40
double getCorrection(const reco::SuperClusterRef clus, double i, double j, double threshold)
double getBCMax(const reco::SuperClusterRef clus, int i)