CMS 3D CMS Logo

CaloSpecificAlgo.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METAlgorithms
4 // Class: CaloSpecificAlgo
5 //
13 //
14 // Original Author: R. Cavanaugh (taken from F.Ratnikov, UMd)
15 // Created: June 6, 2006
16 //
17 //
18 #ifndef METProducers_CaloMETInfo_h
19 #define METProducers_CaloMETInfo_h
20 
21 //____________________________________________________________________________||
30 
31 #include <vector>
32 
33 class CaloTower;
34 struct SpecificCaloMETData;
35 
36 //____________________________________________________________________________||
38 public:
40  const CommonMETData &met,
41  bool noHF,
42  double globalThreshold);
43 
44 private:
47  void update_totalEt_totalEm(double &totalEt, double &totalEm, const CaloTower *calotower, bool noHF);
48  void update_MaxTowerEm_MaxTowerHad(float &MaxTowerEm, float &MaxTowerHad, const CaloTower *calotower, bool noHF);
49  void update_EmEtInEB_EmEtInEE(float &EmEtInEB, float &EmEtInEE, const CaloTower *calotower);
51  float &HadEtInHE,
52  float &HadEtInHO,
53  float &HadEtInHF,
54  float &EmEtInHF,
55  const CaloTower *calotower,
56  bool noHF);
58  double &MExInpHF,
59  double &MEyInpHF,
60  double &sumEtInmHF,
61  double &MExInmHF,
62  double &MEyInmHF,
63  const CaloTower *calotower);
65  double sumEtInpHF,
66  double MExInpHF,
67  double MEyInpHF,
68  double sumEtInmHF,
69  double MExInmHF,
70  double MEyInmHF);
72  double sumEtInpHF,
73  double MExInpHF,
74  double MEyInpHF,
75  double sumEtInmHF,
76  double MExInmHF,
77  double MEyInmHF);
78 
81 };
82 
83 //____________________________________________________________________________||
84 #endif // METProducers_CaloMETInfo_h
CaloSpecificAlgo
Definition: CaloSpecificAlgo.h:37
CaloSpecificAlgo::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: CaloSpecificAlgo.h:45
Handle.h
CaloSpecificAlgo::update_totalEt_totalEm
void update_totalEt_totalEm(double &totalEt, double &totalEm, const CaloTower *calotower, bool noHF)
Definition: CaloSpecificAlgo.cc:80
SpecificCaloMETData.h
ewkMuLumiMonitorDQM_cfi.calotower
calotower
Definition: ewkMuLumiMonitorDQM_cfi.py:36
CommonMETData
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
edm::Handle
Definition: AssociativeIterator.h:50
BTaggingMonitor_cfi.met
met
Definition: BTaggingMonitor_cfi.py:84
reco::CaloMET
Definition: CaloMET.h:21
DetId
Definition: DetId.h:17
CaloSpecificAlgo::update_MaxTowerEm_MaxTowerHad
void update_MaxTowerEm_MaxTowerHad(float &MaxTowerEm, float &MaxTowerHad, const CaloTower *calotower, bool noHF)
Definition: CaloSpecificAlgo.cc:95
CaloMET.h
timingPdfMaker.specific
specific
Definition: timingPdfMaker.py:78
HLT_2018_cff.noHF
noHF
Definition: HLT_2018_cff.py:48522
CaloSpecificAlgo::Point
math::XYZPoint Point
Definition: CaloSpecificAlgo.h:46
CaloSpecificAlgo::add_MET_in_HF
void add_MET_in_HF(SpecificCaloMETData &specific, double sumEtInpHF, double MExInpHF, double MEyInpHF, double sumEtInmHF, double MExInmHF, double MEyInmHF)
Definition: CaloSpecificAlgo.cc:202
edm::View
Definition: CaloClusterFwd.h:14
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
CaloSpecificAlgo::find_DetId_of_ECAL_cell_in_constituent_of
DetId find_DetId_of_ECAL_cell_in_constituent_of(const CaloTower *calotower)
Definition: CaloSpecificAlgo.cc:233
distPFMET_cfi.globalThreshold
globalThreshold
Definition: distPFMET_cfi.py:16
LorentzVector.h
CaloTower
Definition: CaloTower.h:26
CommonMETData.h
SpecificCaloMETData
Definition: SpecificCaloMETData.h:22
CaloSpecificAlgo::remove_HF_from_MET
void remove_HF_from_MET(CommonMETData &met, double sumEtInpHF, double MExInpHF, double MEyInpHF, double sumEtInmHF, double MExInmHF, double MEyInmHF)
Definition: CaloSpecificAlgo.cc:188
HLT_2018_cff.towers
towers
Definition: HLT_2018_cff.py:35030
CaloSpecificAlgo::find_DetId_of_HCAL_cell_in_constituent_of
DetId find_DetId_of_HCAL_cell_in_constituent_of(const CaloTower *calotower)
Definition: CaloSpecificAlgo.cc:220
DetId.h
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF
void update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF(double &sumEtInpHF, double &MExInpHF, double &MEyInpHF, double &sumEtInmHF, double &MExInmHF, double &MEyInmHF, const CaloTower *calotower)
Definition: CaloSpecificAlgo.cc:161
CaloSpecificAlgo::update_HadEtInHB_HadEtInHE_HadEtInHO_HadEtInHF_EmEtInHF
void update_HadEtInHB_HadEtInHE_HadEtInHO_HadEtInHF_EmEtInHF(float &HadEtInHB, float &HadEtInHE, float &HadEtInHO, float &HadEtInHF, float &EmEtInHF, const CaloTower *calotower, bool noHF)
Definition: CaloSpecificAlgo.cc:133
Point3D.h
CaloSpecificAlgo::update_EmEtInEB_EmEtInEE
void update_EmEtInEB_EmEtInEE(float &EmEtInEB, float &EmEtInEE, const CaloTower *calotower)
Definition: CaloSpecificAlgo.cc:119
View.h
CaloSpecificAlgo::addInfo
reco::CaloMET addInfo(edm::Handle< edm::View< reco::Candidate > > towers, const CommonMETData &met, bool noHF, double globalThreshold)
Definition: CaloSpecificAlgo.cc:26