#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 *=nullptr) | |
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 38 of file hcalCalib.h.
|
inline |
Definition at line 87 of file hcalCalib.h.
|
inlineoverride |
Definition at line 88 of file hcalCalib.h.
|
override |
Definition at line 67 of file hcalCalib.cc.
References gather_cfg::cout, beamvalidation::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, HltBtagPostValidation_cff::histoName, mps_fire::i, L1TowerCalibrationProducer_cfi::iEta, nEvents, and fileinputsource_cfi::option.
void hcalCalib::GetCoefFromMtrxInvOfAve | ( | ) |
Definition at line 511 of file hcalCalib.cc.
References MaterialEffects_cfi::A, funct::abs(), b, begin, end, spr::find(), mps_fire::i, L1TowerCalibrationProducer_cfi::iEta, HcalDetId::ieta(), dqmiolumiharvest::j, and std::size().
|
inlineoverride |
Definition at line 95 of file hcalCalib.h.
References mps_splice::entry, and fChain.
|
inlineoverride |
Definition at line 101 of file hcalCalib.h.
|
override |
void hcalCalib::makeTextFile | ( | ) |
Definition at line 661 of file hcalCalib.cc.
References funct::abs(), ztail::d, MillePedeFileConverter_cfg::e, PVValHelper::eta, HcalEndcap, HcalOuter, triggerObjects_cff::id, and sd.
|
override |
|
override |
Definition at line 152 of file hcalCalib.cc.
References funct::abs(), postprocess-scan-build::cells, combinePhi(), gather_cfg::cout, TCell::e(), mps_splice::entry, filterCells3x3(), filterCells5x5(), filterCellsInCone(), getIEtaIPhiForHighestE(), h1_allTrkP, h1_rawSumE, h1_selTrkP_iEta10, h2_dHitRefBarrel, h2_dHitRefEndcap, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, mps_fire::i, TCell::id(), M_PI, nEvents, edm::second(), TCell::SetE(), sumDepths(), and sumSmallDepths().
Bool_t hcalCalib::ReadPhiSymCor | ( | ) |
Definition at line 599 of file hcalCalib.cc.
References gather_cfg::cout, LEDCalibrationChannels::depth, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, L1TowerCalibrationProducer_cfi::iEta, mps_splice::line, sd, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
inline |
Definition at line 170 of file hcalCalib.h.
References APPLY_PHI_SYM_COR_FLAG, and b.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 166 of file hcalCalib.h.
References CALIB_ABS_IETA_MAX, and mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 167 of file hcalCalib.h.
References CALIB_ABS_IETA_MIN, and mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 159 of file hcalCalib.h.
References CALIB_METHOD, and alignCSCRings::s.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 158 of file hcalCalib.h.
References CALIB_TYPE, and alignCSCRings::s.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 180 of file hcalCalib.h.
References g, theCaloGeometry, and topo_.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 153 of file hcalCalib.h.
References b, and COMBINE_PHI.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 164 of file hcalCalib.h.
References ztail::d, and MAX_CONE_DIST.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 160 of file hcalCalib.h.
References HB_CLUSTER_SIZE, and mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 161 of file hcalCalib.h.
References HE_CLUSTER_SIZE, and mps_fire::i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 178 of file hcalCalib.h.
References corrVsCorr::filename, and HISTO_FILENAME.
Referenced by HcalCalibrator::endJob().
|
inlineoverride |
|
inline |
Definition at line 156 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MAX_EOVERP.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 168 of file hcalCalib.h.
References EgHLTOffHistBins_cfi::et, and MAX_ET_THIRD_JET.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 172 of file hcalCalib.h.
References f, and MAX_PROBEJET_EMFRAC.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 174 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MAX_TAGJET_ABSETA.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 173 of file hcalCalib.h.
References f, and MAX_TAGJET_EMFRAC.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 150 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MAX_TARGET_E.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 157 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MAX_TRK_EME.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 154 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MIN_CELL_E.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 169 of file hcalCalib.h.
References MIN_DPHI_DIJETS.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 155 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MIN_EOVERP.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 176 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MIN_PROBEJET_ABSETA.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 175 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MIN_TAGJET_ET.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 149 of file hcalCalib.h.
References MillePedeFileConverter_cfg::e, and MIN_TARGET_E.
Referenced by HcalCalibrator::endJob().
|
inlineoverride |
|
inlineoverride |
|
inline |
Definition at line 177 of file hcalCalib.h.
References corrVsCorr::filename, and OUTPUT_COR_COEF_FILENAME.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 171 of file hcalCalib.h.
References corrVsCorr::filename, and PHI_SYM_COR_FILENAME.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 151 of file hcalCalib.h.
References b, and SUM_DEPTHS.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 152 of file hcalCalib.h.
References b, and SUM_SMALL_DEPTHS.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 163 of file hcalCalib.h.
References b, and USE_CONE_CLUSTERING.
Referenced by HcalCalibrator::endJob().
|
override |
Definition at line 357 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, L1TowerCalibrationProducer_cfi::iEta, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), MinL3AlgoUniv< IDdet >::iterate(), dqmiolumiharvest::j, std::size(), and HcalDetId::subdet().
|
inlineoverride |
Definition at line 89 of file hcalCalib.h.
Bool_t hcalCalib::APPLY_PHI_SYM_COR_FLAG |
Definition at line 141 of file hcalCalib.h.
Referenced by SetApplyPhiSymCorFlag().
TBranch* hcalCalib::b_cells |
Definition at line 69 of file hcalCalib.h.
TBranch* hcalCalib::b_emEnergy |
Definition at line 70 of file hcalCalib.h.
TBranch* hcalCalib::b_etVetoJet |
Definition at line 72 of file hcalCalib.h.
TBranch* hcalCalib::b_eventNumber |
Definition at line 65 of file hcalCalib.h.
TBranch* hcalCalib::b_iEtaHit |
Definition at line 67 of file hcalCalib.h.
TBranch* hcalCalib::b_iPhiHit |
Definition at line 68 of file hcalCalib.h.
TBranch* hcalCalib::b_probeJetEmFrac |
Definition at line 82 of file hcalCalib.h.
TBranch* hcalCalib::b_probeJetP4 |
Definition at line 85 of file hcalCalib.h.
TBranch* hcalCalib::b_runNumber |
Definition at line 66 of file hcalCalib.h.
TBranch* hcalCalib::b_tagJetEmFrac |
Definition at line 81 of file hcalCalib.h.
TBranch* hcalCalib::b_tagJetP4 |
Definition at line 84 of file hcalCalib.h.
TBranch* hcalCalib::b_targetE |
Definition at line 71 of file hcalCalib.h.
TBranch* hcalCalib::b_xTrkEcal |
Definition at line 77 of file hcalCalib.h.
TBranch* hcalCalib::b_xTrkHcal |
Definition at line 74 of file hcalCalib.h.
TBranch* hcalCalib::b_yTrkEcal |
Definition at line 78 of file hcalCalib.h.
TBranch* hcalCalib::b_yTrkHcal |
Definition at line 75 of file hcalCalib.h.
TBranch* hcalCalib::b_zTrkEcal |
Definition at line 79 of file hcalCalib.h.
TBranch* hcalCalib::b_zTrkHcal |
Definition at line 76 of file hcalCalib.h.
Int_t hcalCalib::CALIB_ABS_IETA_MAX |
Definition at line 127 of file hcalCalib.h.
Referenced by SetCalibAbsIEtaMax().
Int_t hcalCalib::CALIB_ABS_IETA_MIN |
Definition at line 128 of file hcalCalib.h.
Referenced by SetCalibAbsIEtaMin().
TString hcalCalib::CALIB_METHOD |
Definition at line 138 of file hcalCalib.h.
Referenced by SetCalibMethod().
TString hcalCalib::CALIB_TYPE |
Definition at line 137 of file hcalCalib.h.
Referenced by SetCalibType().
std::vector<std::vector<Float_t> > hcalCalib::cellEnergies |
Definition at line 192 of file hcalCalib.h.
std::vector<std::vector<UInt_t> > hcalCalib::cellIds |
Definition at line 193 of file hcalCalib.h.
TClonesArray* hcalCalib::cells |
Definition at line 46 of file hcalCalib.h.
Bool_t hcalCalib::COMBINE_PHI |
Definition at line 119 of file hcalCalib.h.
Referenced by SetCombinePhiFlag().
Float_t hcalCalib::emEnergy |
Definition at line 47 of file hcalCalib.h.
Float_t hcalCalib::etVetoJet |
Definition at line 49 of file hcalCalib.h.
UInt_t hcalCalib::eventNumber |
pointer to the analyzed TTree or TChain
Definition at line 42 of file hcalCalib.h.
TTree* hcalCalib::fChain |
Definition at line 40 of file hcalCalib.h.
Referenced by GetEntry().
Int_t hcalCalib::HB_CLUSTER_SIZE |
Definition at line 121 of file hcalCalib.h.
Referenced by SetHbClusterSize().
Int_t hcalCalib::HE_CLUSTER_SIZE |
Definition at line 122 of file hcalCalib.h.
Referenced by SetHeClusterSize().
TString hcalCalib::HISTO_FILENAME |
Definition at line 144 of file hcalCalib.h.
Referenced by SetHistoFileName().
std::map<Int_t, Float_t> hcalCalib::iEtaCoefMap |
Definition at line 201 of file hcalCalib.h.
Int_t hcalCalib::iEtaHit |
Definition at line 44 of file hcalCalib.h.
UInt_t hcalCalib::iPhiHit |
Definition at line 45 of file hcalCalib.h.
Float_t hcalCalib::MAX_CONE_DIST |
Definition at line 125 of file hcalCalib.h.
Referenced by SetConeMaxDist().
Float_t hcalCalib::MAX_EOVERP |
Definition at line 111 of file hcalCalib.h.
Referenced by SetMaxEOverP().
Float_t hcalCalib::MAX_ET_THIRD_JET |
Definition at line 114 of file hcalCalib.h.
Referenced by SetMaxEtThirdJet().
Float_t hcalCalib::MAX_PROBEJET_EMFRAC |
Definition at line 130 of file hcalCalib.h.
Referenced by SetMaxProbeJetEmFrac().
Float_t hcalCalib::MAX_TAGJET_ABSETA |
Definition at line 132 of file hcalCalib.h.
Referenced by SetMaxTagJetAbsEta().
Float_t hcalCalib::MAX_TAGJET_EMFRAC |
Definition at line 131 of file hcalCalib.h.
Referenced by SetMaxTagJetEmFrac().
Float_t hcalCalib::MAX_TARGET_E |
Definition at line 107 of file hcalCalib.h.
Referenced by SetMaxTargetE().
Float_t hcalCalib::MAX_TRK_EME |
Definition at line 112 of file hcalCalib.h.
Referenced by SetMaxTrkEmE().
Float_t hcalCalib::MIN_CELL_E |
Definition at line 109 of file hcalCalib.h.
Referenced by SetMinCellE().
Float_t hcalCalib::MIN_DPHI_DIJETS |
Definition at line 115 of file hcalCalib.h.
Referenced by SetMinDPhiDiJets().
Float_t hcalCalib::MIN_EOVERP |
Definition at line 110 of file hcalCalib.h.
Referenced by SetMinEOverP().
Float_t hcalCalib::MIN_PROBEJET_ABSETA |
Definition at line 135 of file hcalCalib.h.
Referenced by SetMinProbeJetAbsEta().
Float_t hcalCalib::MIN_TAGJET_ET |
Definition at line 133 of file hcalCalib.h.
Referenced by SetMinTagJetEt().
Float_t hcalCalib::MIN_TARGET_E |
Definition at line 106 of file hcalCalib.h.
Referenced by SetMinTargetE().
TString hcalCalib::OUTPUT_COR_COEF_FILENAME |
Definition at line 143 of file hcalCalib.h.
Referenced by SetOutputCorCoefFileName().
TString hcalCalib::PHI_SYM_COR_FILENAME |
Definition at line 140 of file hcalCalib.h.
Referenced by SetPhiSymCorFileName().
std::map<UInt_t, Float_t> hcalCalib::phiSymCor |
Definition at line 197 of file hcalCalib.h.
Float_t hcalCalib::probeJetEmFrac |
Definition at line 62 of file hcalCalib.h.
TLorentzVector* hcalCalib::probeJetP4 |
Definition at line 59 of file hcalCalib.h.
std::vector<std::pair<Int_t, UInt_t> > hcalCalib::refIEtaIPhi |
Definition at line 194 of file hcalCalib.h.
UInt_t hcalCalib::runNumber |
Definition at line 43 of file hcalCalib.h.
Referenced by TH2PolyOfflineMaps.TH2PolyOfflineMaps::PrintTrackerMaps().
std::map<UInt_t, Float_t> hcalCalib::solution |
Definition at line 199 of file hcalCalib.h.
Bool_t hcalCalib::SUM_DEPTHS |
Definition at line 117 of file hcalCalib.h.
Referenced by SetSumDepthsFlag().
Bool_t hcalCalib::SUM_SMALL_DEPTHS |
Definition at line 118 of file hcalCalib.h.
Referenced by SetSumSmallDepthsFlag().
Float_t hcalCalib::tagJetEmFrac |
Definition at line 61 of file hcalCalib.h.
TLorentzVector* hcalCalib::tagJetP4 |
Definition at line 58 of file hcalCalib.h.
Float_t hcalCalib::targetE |
Definition at line 48 of file hcalCalib.h.
std::vector<Float_t> hcalCalib::targetEnergies |
Definition at line 195 of file hcalCalib.h.
const CaloGeometry* hcalCalib::theCaloGeometry |
Definition at line 146 of file hcalCalib.h.
Referenced by SetCaloGeometry().
const HcalTopology* hcalCalib::topo_ |
Definition at line 147 of file hcalCalib.h.
Referenced by SetCaloGeometry().
Bool_t hcalCalib::USE_CONE_CLUSTERING |
Definition at line 124 of file hcalCalib.h.
Referenced by SetUseConeClustering().
Float_t hcalCalib::xTrkEcal |
Definition at line 54 of file hcalCalib.h.
Float_t hcalCalib::xTrkHcal |
Definition at line 51 of file hcalCalib.h.
Float_t hcalCalib::yTrkEcal |
Definition at line 55 of file hcalCalib.h.
Float_t hcalCalib::yTrkHcal |
Definition at line 52 of file hcalCalib.h.
Float_t hcalCalib::zTrkEcal |
Definition at line 56 of file hcalCalib.h.
Float_t hcalCalib::zTrkHcal |
Definition at line 53 of file hcalCalib.h.