#include <hcalCalib.h>
Public Member Functions | |
void | Begin (TTree *tree) override |
void | GetCoefFromMtrxInvOfAve () |
Int_t | GetEntry (Long64_t entry, Int_t getall=0) override |
TList * | GetOutputList () const override |
hcalCalib (TTree *=0) | |
void | Init (TTree *tree) override |
void | makeTextFile () |
Bool_t | Notify () override |
Bool_t | Process (Long64_t entry) override |
Bool_t | ReadPhiSymCor () |
void | SetApplyPhiSymCorFlag (Bool_t b) |
void | SetCalibAbsIEtaMax (Int_t i) |
void | SetCalibAbsIEtaMin (Int_t i) |
void | SetCalibMethod (const TString &s) |
void | SetCalibType (const TString &s) |
void | SetCaloGeometry (const CaloGeometry *g, const HcalTopology *topo) |
void | SetCombinePhiFlag (Bool_t b) |
void | SetConeMaxDist (Float_t d) |
void | SetHbClusterSize (Int_t i) |
void | SetHeClusterSize (Int_t i) |
void | SetHistoFileName (const TString &filename) |
void | SetInputList (TList *input) override |
void | SetMaxEOverP (Float_t e) |
void | SetMaxEtThirdJet (Float_t et) |
void | SetMaxProbeJetEmFrac (Float_t f) |
void | SetMaxTagJetAbsEta (Float_t e) |
void | SetMaxTagJetEmFrac (Float_t f) |
void | SetMaxTargetE (Float_t e) |
void | SetMaxTrkEmE (Float_t e) |
void | SetMinCellE (Float_t e) |
void | SetMinDPhiDiJets (Float_t dphi) |
void | SetMinEOverP (Float_t e) |
void | SetMinProbeJetAbsEta (Float_t e) |
void | SetMinTagJetEt (Float_t e) |
void | SetMinTargetE (Float_t e) |
void | SetObject (TObject *obj) override |
void | SetOption (const char *option) override |
void | SetOutputCorCoefFileName (const TString &filename) |
void | SetPhiSymCorFileName (const TString &filename) |
void | SetSumDepthsFlag (Bool_t b) |
void | SetSumSmallDepthsFlag (Bool_t b) |
void | SetUseConeClustering (Bool_t b) |
void | Terminate () override |
Int_t | Version () const override |
~hcalCalib () override | |
Public Attributes | |
Bool_t | APPLY_PHI_SYM_COR_FLAG |
TBranch * | b_cells |
TBranch * | b_emEnergy |
TBranch * | b_etVetoJet |
TBranch * | b_eventNumber |
TBranch * | b_iEtaHit |
TBranch * | b_iPhiHit |
TBranch * | b_probeJetEmFrac |
TBranch * | b_probeJetP4 |
TBranch * | b_runNumber |
TBranch * | b_tagJetEmFrac |
TBranch * | b_tagJetP4 |
TBranch * | b_targetE |
TBranch * | b_xTrkEcal |
TBranch * | b_xTrkHcal |
TBranch * | b_yTrkEcal |
TBranch * | b_yTrkHcal |
TBranch * | b_zTrkEcal |
TBranch * | b_zTrkHcal |
Int_t | CALIB_ABS_IETA_MAX |
Int_t | CALIB_ABS_IETA_MIN |
TString | CALIB_METHOD |
TString | CALIB_TYPE |
std::vector< std::vector< Float_t > > | cellEnergies |
std::vector< std::vector< UInt_t > > | cellIds |
TClonesArray * | cells |
Bool_t | COMBINE_PHI |
Float_t | emEnergy |
Float_t | etVetoJet |
UInt_t | eventNumber |
pointer to the analyzed TTree or TChain More... | |
TTree * | fChain |
Int_t | HB_CLUSTER_SIZE |
Int_t | HE_CLUSTER_SIZE |
TString | HISTO_FILENAME |
std::map< Int_t, Float_t > | iEtaCoefMap |
Int_t | iEtaHit |
UInt_t | iPhiHit |
Float_t | MAX_CONE_DIST |
Float_t | MAX_EOVERP |
Float_t | MAX_ET_THIRD_JET |
Float_t | MAX_PROBEJET_EMFRAC |
Float_t | MAX_TAGJET_ABSETA |
Float_t | MAX_TAGJET_EMFRAC |
Float_t | MAX_TARGET_E |
Float_t | MAX_TRK_EME |
Float_t | MIN_CELL_E |
Float_t | MIN_DPHI_DIJETS |
Float_t | MIN_EOVERP |
Float_t | MIN_PROBEJET_ABSETA |
Float_t | MIN_TAGJET_ET |
Float_t | MIN_TARGET_E |
TString | OUTPUT_COR_COEF_FILENAME |
TString | PHI_SYM_COR_FILENAME |
std::map< UInt_t, Float_t > | phiSymCor |
Float_t | probeJetEmFrac |
TLorentzVector * | probeJetP4 |
std::vector< std::pair< Int_t, UInt_t > > | refIEtaIPhi |
UInt_t | runNumber |
std::map< UInt_t, Float_t > | solution |
Bool_t | SUM_DEPTHS |
Bool_t | SUM_SMALL_DEPTHS |
Float_t | tagJetEmFrac |
TLorentzVector * | tagJetP4 |
Float_t | targetE |
std::vector< Float_t > | targetEnergies |
const CaloGeometry * | theCaloGeometry |
const HcalTopology * | topo_ |
Bool_t | USE_CONE_CLUSTERING |
Float_t | xTrkEcal |
Float_t | xTrkHcal |
Float_t | yTrkEcal |
Float_t | yTrkHcal |
Float_t | zTrkEcal |
Float_t | zTrkHcal |
Definition at line 39 of file hcalCalib.h.
|
inline |
Definition at line 89 of file hcalCalib.h.
|
inlineoverride |
Definition at line 90 of file hcalCalib.h.
|
override |
Definition at line 69 of file hcalCalib.cc.
References gather_cfg::cout, cmsRelvalreport::exit, h1_allTrkP, h1_corResp, h1_corRespBarrel, h1_corRespEndcap, h1_corRespIEta, h1_numEventsTwrIEta, h1_rawResp, h1_rawRespBarrel, h1_rawRespEndcap, h1_rawSumE, h1_selTrkP_iEta10, h1_trkP, h2_dHitRefBarrel, h2_dHitRefEndcap, histoFile, mps_fire::i, nEvents, and TSGForRoadSearch_cfi::option.
Referenced by Version().
void hcalCalib::GetCoefFromMtrxInvOfAve | ( | ) |
Definition at line 521 of file hcalCalib.cc.
References patCaloMETCorrections_cff::A, funct::abs(), b, begin, end, spr::find(), mps_fire::i, HcalDetId::ieta(), and findQualityFiles::size.
Referenced by SetCaloGeometry().
|
inlineoverride |
Definition at line 97 of file hcalCalib.h.
|
inlineoverride |
|
override |
Referenced by Version().
void hcalCalib::makeTextFile | ( | ) |
Definition at line 673 of file hcalCalib.cc.
References funct::abs(), edmIntegrityCheck::d, MillePedeFileConverter_cfg::e, PVValHelper::eta, HcalEndcap, HcalOuter, triggerObjects_cff::id, and sd.
Referenced by SetCaloGeometry().
|
override |
Referenced by Version().
|
override |
Definition at line 142 of file hcalCalib.cc.
References funct::abs(), combinePhi(), gather_cfg::cout, TCell::e(), filterCells3x3(), filterCells5x5(), filterCellsInCone(), getIEtaIPhiForHighestE(), h1_allTrkP, h1_rawSumE, h1_selTrkP_iEta10, h2_dHitRefBarrel, h2_dHitRefEndcap, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, mps_fire::i, TCell::id(), electrons_cff::ids, M_PI, nEvents, edm::second(), TCell::SetE(), sumDepths(), and sumSmallDepths().
Referenced by Version().
Bool_t hcalCalib::ReadPhiSymCor | ( | ) |
Definition at line 614 of file hcalCalib.cc.
References gather_cfg::cout, egammaForCoreTracking_cff::depth, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, mps_splice::line, sd, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by SetCaloGeometry().
|
inline |
|
inline |
Definition at line 168 of file hcalCalib.h.
References mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 169 of file hcalCalib.h.
References mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 161 of file hcalCalib.h.
References alignCSCRings::s.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 160 of file hcalCalib.h.
References alignCSCRings::s.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 183 of file hcalCalib.h.
References g, GetCoefFromMtrxInvOfAve(), makeTextFile(), and ReadPhiSymCor().
Referenced by HcalCalibrator::endJob().
|
inline |
|
inline |
Definition at line 166 of file hcalCalib.h.
References edmIntegrityCheck::d.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 162 of file hcalCalib.h.
References mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 163 of file hcalCalib.h.
References mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 180 of file hcalCalib.h.
References corrVsCorr::filename.
Referenced by HcalCalibrator::endJob().
|
inlineoverride |
|
inline |
Definition at line 158 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 170 of file hcalCalib.h.
References stringResolutionProvider_cfi::et.
Referenced by HcalCalibrator::endJob().
|
inline |
|
inline |
Definition at line 176 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
|
inline |
Definition at line 152 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 159 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 156 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
|
inline |
Definition at line 157 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 178 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 177 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 151 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e.
Referenced by HcalCalibrator::endJob().
|
inlineoverride |
|
inlineoverride |
|
inline |
Definition at line 179 of file hcalCalib.h.
References corrVsCorr::filename.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 173 of file hcalCalib.h.
References corrVsCorr::filename.
Referenced by HcalCalibrator::endJob().
|
inline |
|
inline |
|
inline |
|
override |
Definition at line 351 of file hcalCalib.cc.
References funct::abs(), gather_cfg::cout, HcalDetId::depth(), h1_allTrkP, h1_corResp, h1_corRespBarrel, h1_corRespEndcap, h1_corRespIEta, h1_numEventsTwrIEta, h1_rawResp, h1_rawRespBarrel, h1_rawRespEndcap, h1_rawSumE, h1_selTrkP_iEta10, h1_trkP, h2_dHitRefBarrel, h2_dHitRefEndcap, HcalBarrel, histoFile, mps_fire::i, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), MinL3AlgoUniv< IDdet >::iterate(), findQualityFiles::size, and HcalDetId::subdet().
Referenced by GetOutputList().
|
inlineoverride |
Definition at line 91 of file hcalCalib.h.
References Begin(), mps_splice::entry, Init(), Notify(), and Process().
Bool_t hcalCalib::APPLY_PHI_SYM_COR_FLAG |
Definition at line 141 of file hcalCalib.h.
TBranch* hcalCalib::b_cells |
Definition at line 70 of file hcalCalib.h.
TBranch* hcalCalib::b_emEnergy |
Definition at line 71 of file hcalCalib.h.
TBranch* hcalCalib::b_etVetoJet |
Definition at line 73 of file hcalCalib.h.
TBranch* hcalCalib::b_eventNumber |
Definition at line 66 of file hcalCalib.h.
TBranch* hcalCalib::b_iEtaHit |
Definition at line 68 of file hcalCalib.h.
TBranch* hcalCalib::b_iPhiHit |
Definition at line 69 of file hcalCalib.h.
TBranch* hcalCalib::b_probeJetEmFrac |
Definition at line 83 of file hcalCalib.h.
TBranch* hcalCalib::b_probeJetP4 |
Definition at line 86 of file hcalCalib.h.
TBranch* hcalCalib::b_runNumber |
Definition at line 67 of file hcalCalib.h.
TBranch* hcalCalib::b_tagJetEmFrac |
Definition at line 82 of file hcalCalib.h.
TBranch* hcalCalib::b_tagJetP4 |
Definition at line 85 of file hcalCalib.h.
TBranch* hcalCalib::b_targetE |
Definition at line 72 of file hcalCalib.h.
TBranch* hcalCalib::b_xTrkEcal |
Definition at line 78 of file hcalCalib.h.
TBranch* hcalCalib::b_xTrkHcal |
Definition at line 75 of file hcalCalib.h.
TBranch* hcalCalib::b_yTrkEcal |
Definition at line 79 of file hcalCalib.h.
TBranch* hcalCalib::b_yTrkHcal |
Definition at line 76 of file hcalCalib.h.
TBranch* hcalCalib::b_zTrkEcal |
Definition at line 80 of file hcalCalib.h.
TBranch* hcalCalib::b_zTrkHcal |
Definition at line 77 of file hcalCalib.h.
Int_t hcalCalib::CALIB_ABS_IETA_MAX |
Definition at line 127 of file hcalCalib.h.
Int_t hcalCalib::CALIB_ABS_IETA_MIN |
Definition at line 128 of file hcalCalib.h.
TString hcalCalib::CALIB_METHOD |
Definition at line 138 of file hcalCalib.h.
TString hcalCalib::CALIB_TYPE |
Definition at line 137 of file hcalCalib.h.
std::vector< std::vector<Float_t> > hcalCalib::cellEnergies |
Definition at line 193 of file hcalCalib.h.
std::vector< std::vector<UInt_t> > hcalCalib::cellIds |
Definition at line 194 of file hcalCalib.h.
TClonesArray* hcalCalib::cells |
Definition at line 47 of file hcalCalib.h.
Bool_t hcalCalib::COMBINE_PHI |
Definition at line 119 of file hcalCalib.h.
Float_t hcalCalib::emEnergy |
Definition at line 48 of file hcalCalib.h.
Float_t hcalCalib::etVetoJet |
Definition at line 50 of file hcalCalib.h.
UInt_t hcalCalib::eventNumber |
pointer to the analyzed TTree or TChain
Definition at line 43 of file hcalCalib.h.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
TTree* hcalCalib::fChain |
Definition at line 41 of file hcalCalib.h.
Int_t hcalCalib::HB_CLUSTER_SIZE |
Definition at line 121 of file hcalCalib.h.
Int_t hcalCalib::HE_CLUSTER_SIZE |
Definition at line 122 of file hcalCalib.h.
TString hcalCalib::HISTO_FILENAME |
Definition at line 144 of file hcalCalib.h.
std::map<Int_t, Float_t> hcalCalib::iEtaCoefMap |
Definition at line 201 of file hcalCalib.h.
Int_t hcalCalib::iEtaHit |
Definition at line 45 of file hcalCalib.h.
UInt_t hcalCalib::iPhiHit |
Definition at line 46 of file hcalCalib.h.
Float_t hcalCalib::MAX_CONE_DIST |
Definition at line 125 of file hcalCalib.h.
Float_t hcalCalib::MAX_EOVERP |
Definition at line 111 of file hcalCalib.h.
Float_t hcalCalib::MAX_ET_THIRD_JET |
Definition at line 114 of file hcalCalib.h.
Float_t hcalCalib::MAX_PROBEJET_EMFRAC |
Definition at line 130 of file hcalCalib.h.
Float_t hcalCalib::MAX_TAGJET_ABSETA |
Definition at line 132 of file hcalCalib.h.
Float_t hcalCalib::MAX_TAGJET_EMFRAC |
Definition at line 131 of file hcalCalib.h.
Float_t hcalCalib::MAX_TARGET_E |
Definition at line 107 of file hcalCalib.h.
Float_t hcalCalib::MAX_TRK_EME |
Definition at line 112 of file hcalCalib.h.
Float_t hcalCalib::MIN_CELL_E |
Definition at line 109 of file hcalCalib.h.
Float_t hcalCalib::MIN_DPHI_DIJETS |
Definition at line 115 of file hcalCalib.h.
Float_t hcalCalib::MIN_EOVERP |
Definition at line 110 of file hcalCalib.h.
Float_t hcalCalib::MIN_PROBEJET_ABSETA |
Definition at line 135 of file hcalCalib.h.
Float_t hcalCalib::MIN_TAGJET_ET |
Definition at line 133 of file hcalCalib.h.
Float_t hcalCalib::MIN_TARGET_E |
Definition at line 106 of file hcalCalib.h.
TString hcalCalib::OUTPUT_COR_COEF_FILENAME |
Definition at line 143 of file hcalCalib.h.
TString hcalCalib::PHI_SYM_COR_FILENAME |
Definition at line 140 of file hcalCalib.h.
std::map<UInt_t, Float_t> hcalCalib::phiSymCor |
Definition at line 198 of file hcalCalib.h.
Float_t hcalCalib::probeJetEmFrac |
Definition at line 63 of file hcalCalib.h.
TLorentzVector* hcalCalib::probeJetP4 |
Definition at line 60 of file hcalCalib.h.
std::vector< std::pair<Int_t, UInt_t> > hcalCalib::refIEtaIPhi |
Definition at line 195 of file hcalCalib.h.
UInt_t hcalCalib::runNumber |
Definition at line 44 of file hcalCalib.h.
Referenced by TH2PolyOfflineMaps.TH2PolyOfflineMaps::PrintTrackerMaps().
std::map<UInt_t, Float_t> hcalCalib::solution |
Definition at line 200 of file hcalCalib.h.
Bool_t hcalCalib::SUM_DEPTHS |
Definition at line 117 of file hcalCalib.h.
Bool_t hcalCalib::SUM_SMALL_DEPTHS |
Definition at line 118 of file hcalCalib.h.
Float_t hcalCalib::tagJetEmFrac |
Definition at line 62 of file hcalCalib.h.
TLorentzVector* hcalCalib::tagJetP4 |
Definition at line 59 of file hcalCalib.h.
Float_t hcalCalib::targetE |
Definition at line 49 of file hcalCalib.h.
std::vector< Float_t> hcalCalib::targetEnergies |
Definition at line 196 of file hcalCalib.h.
const CaloGeometry* hcalCalib::theCaloGeometry |
Definition at line 147 of file hcalCalib.h.
const HcalTopology* hcalCalib::topo_ |
Definition at line 148 of file hcalCalib.h.
Bool_t hcalCalib::USE_CONE_CLUSTERING |
Definition at line 124 of file hcalCalib.h.
Float_t hcalCalib::xTrkEcal |
Definition at line 55 of file hcalCalib.h.
Float_t hcalCalib::xTrkHcal |
Definition at line 52 of file hcalCalib.h.
Float_t hcalCalib::yTrkEcal |
Definition at line 56 of file hcalCalib.h.
Float_t hcalCalib::yTrkHcal |
Definition at line 53 of file hcalCalib.h.
Float_t hcalCalib::zTrkEcal |
Definition at line 57 of file hcalCalib.h.
Float_t hcalCalib::zTrkHcal |
Definition at line 54 of file hcalCalib.h.