#include <hcalCalib.h>
Public Member Functions | |
virtual void | Begin (TTree *tree) |
void | GetCoefFromMtrxInvOfAve () |
virtual Int_t | GetEntry (Long64_t entry, Int_t getall=0) |
virtual TList * | GetOutputList () const |
hcalCalib (TTree *=0) | |
virtual void | Init (TTree *tree) |
void | makeTextFile () |
virtual Bool_t | Notify () |
virtual Bool_t | Process (Long64_t entry) |
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) |
virtual void | SetInputList (TList *input) |
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) |
virtual void | SetObject (TObject *obj) |
virtual void | SetOption (const char *option) |
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) |
virtual void | Terminate () |
virtual Int_t | Version () const |
virtual | ~hcalCalib () |
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.
|
inlinevirtual |
Definition at line 90 of file hcalCalib.h.
|
virtual |
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, hltbtagharvestinganalyzer_cfi::histoName, i, and nEvents.
void hcalCalib::GetCoefFromMtrxInvOfAve | ( | ) |
Definition at line 521 of file hcalCalib.cc.
References HLT_25ns14e33_v1_cff::A, funct::abs(), b, begin, end, spr::find(), i, HcalDetId::ieta(), j, findQualityFiles::size, and x.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 101 of file hcalCalib.h.
|
virtual |
void hcalCalib::makeTextFile | ( | ) |
Definition at line 673 of file hcalCalib.cc.
References funct::abs(), alignCSCRings::e, eta(), HcalEndcap, HcalOuter, phi, and sd.
|
virtual |
|
virtual |
Definition at line 142 of file hcalCalib.cc.
References funct::abs(), diJetCalib::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, i, TCell::id(), M_PI, nEvents, edm::second(), TCell::SetE(), diJetCalib::sumDepths, and diJetCalib::sumSmallDepths.
Bool_t hcalCalib::ReadPhiSymCor | ( | ) |
Definition at line 614 of file hcalCalib.cc.
References gather_cfg::cout, HLT_25ns14e33_v1_cff::depth, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, geometryCSVtoXML::line, sd, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
inline |
Definition at line 172 of file hcalCalib.h.
References APPLY_PHI_SYM_COR_FLAG, and b.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 168 of file hcalCalib.h.
References CALIB_ABS_IETA_MAX, and i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 169 of file hcalCalib.h.
References CALIB_ABS_IETA_MIN, and i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 161 of file hcalCalib.h.
References CALIB_METHOD, and alignCSCRings::s.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 160 of file hcalCalib.h.
References CALIB_TYPE, and alignCSCRings::s.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 183 of file hcalCalib.h.
References g, theCaloGeometry, and topo_.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 155 of file hcalCalib.h.
References b, and COMBINE_PHI.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 166 of file hcalCalib.h.
References MAX_CONE_DIST.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 162 of file hcalCalib.h.
References HB_CLUSTER_SIZE, and i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 163 of file hcalCalib.h.
References HE_CLUSTER_SIZE, and i.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 180 of file hcalCalib.h.
References lut2db_cfg::filename, and HISTO_FILENAME.
Referenced by HcalCalibrator::endJob().
|
inlinevirtual |
|
inline |
Definition at line 158 of file hcalCalib.h.
References alignCSCRings::e, and MAX_EOVERP.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 170 of file hcalCalib.h.
References MAX_ET_THIRD_JET.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 174 of file hcalCalib.h.
References f, and MAX_PROBEJET_EMFRAC.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 176 of file hcalCalib.h.
References alignCSCRings::e, and MAX_TAGJET_ABSETA.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 175 of file hcalCalib.h.
References f, and MAX_TAGJET_EMFRAC.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 152 of file hcalCalib.h.
References alignCSCRings::e, and MAX_TARGET_E.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 159 of file hcalCalib.h.
References alignCSCRings::e, and MAX_TRK_EME.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 156 of file hcalCalib.h.
References alignCSCRings::e, and MIN_CELL_E.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 171 of file hcalCalib.h.
References MIN_DPHI_DIJETS.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 157 of file hcalCalib.h.
References alignCSCRings::e, and MIN_EOVERP.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 178 of file hcalCalib.h.
References alignCSCRings::e, and MIN_PROBEJET_ABSETA.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 177 of file hcalCalib.h.
References alignCSCRings::e, and MIN_TAGJET_ET.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 151 of file hcalCalib.h.
References alignCSCRings::e, and MIN_TARGET_E.
Referenced by HcalCalibrator::endJob().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 98 of file hcalCalib.h.
|
inline |
Definition at line 179 of file hcalCalib.h.
References lut2db_cfg::filename, and OUTPUT_COR_COEF_FILENAME.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 173 of file hcalCalib.h.
References lut2db_cfg::filename, and PHI_SYM_COR_FILENAME.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 153 of file hcalCalib.h.
References b, and SUM_DEPTHS.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 154 of file hcalCalib.h.
References b, and SUM_SMALL_DEPTHS.
Referenced by HcalCalibrator::endJob().
|
inline |
Definition at line 165 of file hcalCalib.h.
References b, and USE_CONE_CLUSTERING.
Referenced by HcalCalibrator::endJob().
|
virtual |
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, i, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), MinL3AlgoUniv< IDdet >::iterate(), j, findQualityFiles::size, HcalDetId::subdet(), and histoStyle::weight.
|
inlinevirtual |
Definition at line 91 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 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.
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 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.
Referenced by SetCombinePhiFlag().
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.
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 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.
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 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.
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.
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 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.
Referenced by SetCaloGeometry().
const HcalTopology* hcalCalib::topo_ |
Definition at line 148 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 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.