#include <CaloTowersCreationAlgo.h>
Classes | |
struct | MetaTower |
Public Member Functions | |
void | begin () |
CaloTowersCreationAlgo () | |
CaloTowersCreationAlgo (double EBthreshold, double EEthreshold, bool useEtEBTreshold, bool useEtEETreshold, bool useSymEBTreshold, bool useSymEETreshold, double HcalThreshold, double HBthreshold, double HBthreshold1, double HBthreshold2, double HESthreshold, double HESthreshold1, double HEDthreshold, double HEDthreshold1, double HOthreshold0, double HOthresholdPlus1, double HOthresholdMinus1, double HOthresholdPlus2, double HOthresholdMinus2, double HF1threshold, double HF2threshold, double EBweight, double EEweight, double HBweight, double HESweight, double HEDweight, double HOweight, double HF1weight, double HF2weight, double EcutTower, double EBSumThreshold, double EESumThreshold, bool useHO, int momConstrMethod, double momHBDepth, double momHEDepth, double momEBDepth, double momEEDepth, int hcalPhase=0) | |
CaloTowersCreationAlgo (double EBthreshold, double EEthreshold, bool useEtEBTreshold, bool useEtEETreshold, bool useSymEBTreshold, bool useSymEETreshold, double HcalThreshold, double HBthreshold, double HBthreshold1, double HBthreshold2, double HESthreshold, double HESthreshold1, double HEDthreshold, double HEDthreshold1, double HOthreshold0, double HOthresholdPlus1, double HOthresholdMinus1, double HOthresholdPlus2, double HOthresholdMinus2, double HF1threshold, double HF2threshold, const std::vector< double > &EBGrid, const std::vector< double > &EBWeights, const std::vector< double > &EEGrid, const std::vector< double > &EEWeights, const std::vector< double > &HBGrid, const std::vector< double > &HBWeights, const std::vector< double > &HESGrid, const std::vector< double > &HESWeights, const std::vector< double > &HEDGrid, const std::vector< double > &HEDWeights, const std::vector< double > &HOGrid, const std::vector< double > &HOWeights, const std::vector< double > &HF1Grid, const std::vector< double > &HF1Weights, const std::vector< double > &HF2Grid, const std::vector< double > &HF2Weights, double EBweight, double EEweight, double HBweight, double HESweight, double HEDweight, double HOweight, double HF1weight, double HF2weight, double EcutTower, double EBSumThreshold, double EESumThreshold, bool useHO, int momConstrMethod, double momHBDepth, double momHEDepth, double momEBDepth, double momEEDepth, int hcalPhase=0) | |
std::tuple< unsigned int, bool > | ecalChanStatusForCaloTower (const EcalRecHit *hit) |
GlobalPoint | emCrystalShwrPos (DetId detId, float fracDepth) |
GlobalPoint | emShwrLogWeightPos (const std::vector< std::pair< DetId, float >> &metaContains, float fracDepth, double totEmE) |
GlobalPoint | emShwrPos (const std::vector< std::pair< DetId, float >> &metaContains, float fracDepth, double totEmE) |
void | finish (CaloTowerCollection &destCollection) |
GlobalPoint | hadSegmentShwrPos (DetId detId, float fracDepth) |
GlobalPoint | hadShwPosFromCells (DetId frontCell, DetId backCell, float fracDepth) |
GlobalPoint | hadShwrPos (const std::vector< std::pair< DetId, float >> &metaContains, float fracDepth, double hadE) |
GlobalPoint | hadShwrPos (CaloTowerDetId id, float fracDepth) |
unsigned int | hcalChanStatusForCaloTower (const CaloRecHit *hit) |
void | makeEcalBadChs () |
void | makeHcalDropChMap () |
void | process (const HBHERecHitCollection &hbhe) |
void | process (const HORecHitCollection &ho) |
void | process (const HFRecHitCollection &hf) |
void | process (const EcalRecHitCollection &ecal) |
void | process (const CaloTowerCollection &ctc) |
void | rescaleTowers (const CaloTowerCollection &ctInput, CaloTowerCollection &ctResult) |
void | setEBEScale (double scale) |
void | setEbHandle (const edm::Handle< EcalRecHitCollection > eb) |
void | setEcalChStatusFromDB (const EcalChannelStatus *s) |
void | setEcalSeveritiesToBeExcluded (const std::vector< int > &ecalSev) |
void | SetEcalSeveritiesToBeUsedInBadTowers (const std::vector< int > &ecalSev) |
void | setEcalSevLvlAlgo (const EcalSeverityLevelAlgo *a) |
void | setEEEScale (double scale) |
void | setEeHandle (const edm::Handle< EcalRecHitCollection > ee) |
void | setGeometry (const CaloTowerTopology *cttopo, const CaloTowerConstituentsMap *ctmap, const HcalTopology *htopo, const CaloGeometry *geo) |
void | setHBEScale (double scale) |
void | setHcalAcceptSeverityLevel (unsigned int level) |
void | setHcalAcceptSeverityLevelForRejectedHit (unsigned int level) |
void | setHcalChStatusFromDB (const HcalChannelQuality *s) |
void | setHcalSevLvlComputer (const HcalSeverityLevelComputer *c) |
void | setHEDEScale (double scale) |
void | setHESEScale (double scale) |
void | setHF1EScale (double scale) |
void | setHF2EScale (double scale) |
void | setHOEScale (double scale) |
void | setMissingHcalRescaleFactorForEcal (float factor) |
void | setRecoveredEcalHitsAreUsed (bool flag) |
void | setRecoveredHcalHitsAreUsed (bool flag) |
void | setThresFromDB (const HcalPFCuts *cuts) |
void | setUseRejectedHitsOnly (bool flag) |
void | setUseRejectedRecoveredEcalHits (bool flag) |
void | setUseRejectedRecoveredHcalHits (bool flag) |
Public Attributes | |
int | nalgo = -1 |
Private Types | |
enum | ctHitCategory { GoodChan = 0, BadChan = 1, RecoveredChan = 2, ProblematicChan = 3, IgnoredChan = 99 } |
typedef std::map< CaloTowerDetId, std::pair< short int, bool > > | HcalDropChMap |
typedef std::vector< MetaTower > | MetaTowerMap |
Private Member Functions | |
void | assignHitEcal (const EcalRecHit *recHit) |
adds a single hit to the tower More... | |
void | assignHitHcal (const CaloRecHit *recHit) |
int | compactTime (float time) |
void | convert (const CaloTowerDetId &id, const MetaTower &mt, CaloTowerCollection &collection) |
MetaTower & | find (const CaloTowerDetId &id) |
looks for a given tower in the internal cache. If it can't find it, it makes it. More... | |
void | getThresholdAndWeight (const DetId &detId, double &threshold, double &weight) const |
helper method to look up the appropriate threshold & weight More... | |
void | rescale (const CaloTower *ct) |
Definition at line 52 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 386 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 380 of file CaloTowersCreationAlgo.h.
|
private |
Enumerator | |
---|---|
GoodChan | |
BadChan | |
RecoveredChan | |
ProblematicChan | |
IgnoredChan |
Definition at line 396 of file CaloTowersCreationAlgo.h.
CaloTowersCreationAlgo::CaloTowersCreationAlgo | ( | ) |
Definition at line 16 of file CaloTowersCreationAlgo.cc.
CaloTowersCreationAlgo::CaloTowersCreationAlgo | ( | double | EBthreshold, |
double | EEthreshold, | ||
bool | useEtEBTreshold, | ||
bool | useEtEETreshold, | ||
bool | useSymEBTreshold, | ||
bool | useSymEETreshold, | ||
double | HcalThreshold, | ||
double | HBthreshold, | ||
double | HBthreshold1, | ||
double | HBthreshold2, | ||
double | HESthreshold, | ||
double | HESthreshold1, | ||
double | HEDthreshold, | ||
double | HEDthreshold1, | ||
double | HOthreshold0, | ||
double | HOthresholdPlus1, | ||
double | HOthresholdMinus1, | ||
double | HOthresholdPlus2, | ||
double | HOthresholdMinus2, | ||
double | HF1threshold, | ||
double | HF2threshold, | ||
double | EBweight, | ||
double | EEweight, | ||
double | HBweight, | ||
double | HESweight, | ||
double | HEDweight, | ||
double | HOweight, | ||
double | HF1weight, | ||
double | HF2weight, | ||
double | EcutTower, | ||
double | EBSumThreshold, | ||
double | EESumThreshold, | ||
bool | useHO, | ||
int | momConstrMethod, | ||
double | momHBDepth, | ||
double | momHEDepth, | ||
double | momEBDepth, | ||
double | momEEDepth, | ||
int | hcalPhase = 0 |
||
) |
Definition at line 95 of file CaloTowersCreationAlgo.cc.
CaloTowersCreationAlgo::CaloTowersCreationAlgo | ( | double | EBthreshold, |
double | EEthreshold, | ||
bool | useEtEBTreshold, | ||
bool | useEtEETreshold, | ||
bool | useSymEBTreshold, | ||
bool | useSymEETreshold, | ||
double | HcalThreshold, | ||
double | HBthreshold, | ||
double | HBthreshold1, | ||
double | HBthreshold2, | ||
double | HESthreshold, | ||
double | HESthreshold1, | ||
double | HEDthreshold, | ||
double | HEDthreshold1, | ||
double | HOthreshold0, | ||
double | HOthresholdPlus1, | ||
double | HOthresholdMinus1, | ||
double | HOthresholdPlus2, | ||
double | HOthresholdMinus2, | ||
double | HF1threshold, | ||
double | HF2threshold, | ||
const std::vector< double > & | EBGrid, | ||
const std::vector< double > & | EBWeights, | ||
const std::vector< double > & | EEGrid, | ||
const std::vector< double > & | EEWeights, | ||
const std::vector< double > & | HBGrid, | ||
const std::vector< double > & | HBWeights, | ||
const std::vector< double > & | HESGrid, | ||
const std::vector< double > & | HESWeights, | ||
const std::vector< double > & | HEDGrid, | ||
const std::vector< double > & | HEDWeights, | ||
const std::vector< double > & | HOGrid, | ||
const std::vector< double > & | HOWeights, | ||
const std::vector< double > & | HF1Grid, | ||
const std::vector< double > & | HF1Weights, | ||
const std::vector< double > & | HF2Grid, | ||
const std::vector< double > & | HF2Weights, | ||
double | EBweight, | ||
double | EEweight, | ||
double | HBweight, | ||
double | HESweight, | ||
double | HEDweight, | ||
double | HOweight, | ||
double | HF1weight, | ||
double | HF2weight, | ||
double | EcutTower, | ||
double | EBSumThreshold, | ||
double | EESumThreshold, | ||
bool | useHO, | ||
int | momConstrMethod, | ||
double | momHBDepth, | ||
double | momHEDepth, | ||
double | momEBDepth, | ||
double | momEEDepth, | ||
int | hcalPhase = 0 |
||
) |
Definition at line 216 of file CaloTowersCreationAlgo.cc.
|
private |
adds a single hit to the tower
Definition at line 776 of file CaloTowersCreationAlgo.cc.
References BadChan, hcalRecHitTable_cff::detId, MillePedeFileConverter_cfg::e, EcalBarrel, ecalChanStatusForCaloTower(), EcalEndcap, hcalRecHitTable_cff::energy, PVValHelper::eta, spr::find(), find(), CaloGeometry::getGeometry(), getThresholdAndWeight(), GoodChan, IgnoredChan, CaloTowersParam_cfi::mc, DetId::null(), ProblematicChan, rpcPointValidation_cfi::recHit, RecoveredChan, EcalSeverityLevelAlgo::severityLevel(), theEcalSeveritiesToBeExcluded, theEcalSevLvlAlgo, theGeometry, theTowerConstituentsMap, theUseEtEBTresholdFlag, theUseEtEETresholdFlag, theUseSymEBTresholdFlag, theUseSymEETresholdFlag, DiMuonV_cfg::threshold, l1tHGCalTowerProducer_cfi::tower, CaloTowerConstituentsMap::towerOf(), and mps_merge::weight.
Referenced by process().
|
private |
Definition at line 538 of file CaloTowersCreationAlgo.cc.
References BadChan, gather_cfg::cout, HcalDetId::depth(), DetId::det(), hcalRecHitTable_cff::detId, MillePedeFileConverter_cfg::e, CaloTowersCreationAlgo::MetaTower::E, CaloTowersCreationAlgo::MetaTower::E_had, CaloTowersCreationAlgo::MetaTower::E_outer, hcalRecHitTable_cff::energy, find(), HcalTopology::getMergePositionFlag(), getThresholdAndWeight(), GoodChan, CaloTowersCreationAlgo::MetaTower::hadSumEForTime, CaloTowersCreationAlgo::MetaTower::hadSumTimeTimesE, DetId::Hcal, hcalChanStatusForCaloTower(), HcalEndcap, HcalForward, HcalOuter, HcalTopology::idFront(), CaloTowerDetId::ieta(), HcalDetId::ietaAbs(), IgnoredChan, CaloTowerDetId::iphi(), HcalTopology::lastHERing(), CaloTowersParam_cfi::mc, merge(), HcalTopology::mergedDepth29(), CaloTowersCreationAlgo::MetaTower::metaConstituents, DetId::null(), CaloTowersCreationAlgo::MetaTower::numBadHcalCells, CaloTowersCreationAlgo::MetaTower::numProbHcalCells, CaloTowersCreationAlgo::MetaTower::numRecHcalCells, ProblematicChan, rpcPointValidation_cfi::recHit, RecoveredChan, HcalDetId::subdet(), theHcalPhase, theHcalTopology, theHOIsUsed, theTowerConstituentsMap, DiMuonV_cfg::threshold, l1tHGCalTowerProducer_cfi::tower, CaloTowerConstituentsMap::towerOf(), mps_merge::weight, and CaloTowerDetId::zside().
Referenced by process().
void CaloTowersCreationAlgo::begin | ( | void | ) |
Definition at line 372 of file CaloTowersCreationAlgo.cc.
References theTowerMap, and theTowerMapSize.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
private |
Definition at line 1651 of file CaloTowersCreationAlgo.cc.
References createfilelist::int, and hcalRecHitTable_cff::time.
Referenced by convert().
|
private |
if (E>0) towerP4 = CaloTower::PolarLorentzVector(E*sumPf, emPoint.eta(), emPoint.phi(), 0);
Definition at line 928 of file CaloTowersCreationAlgo.cc.
References cms::cuda::assert(), PV3DBase< T, PVType, FrameType >::basicVector(), universalConfigTemplate::collection, compactTime(), edm::contains(), CaloTowerTopology::denseIndex(), change_name::diff, DetId::Ecal, ecalBadChs, digitizers_cfi::ecalTime, emShwrLogWeightPos(), emShwrPos(), PV3DBase< T, PVType, FrameType >::eta(), CaloTowerTopology::firstHFRing(), CaloSubdetectorGeometry::getGeometry(), hadShwrPos(), DetId::Hcal, hcalDropChMap, HcalOuter, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), CaloTowerTopology::lastHBRing(), CaloTowerTopology::lastHERing(), CaloTowerTopology::lastHFRing(), CaloTowerTopology::lastHORing(), match(), missingHcalRescaleFactorForEcal, eostools::move(), TtSemiLepEvtBuilder_cfi::mt, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::phi(), nano_mu_digi_cff::rawId, edm::second(), mathSSE::sqrt(), HcalDetId::subdet(), theEBSumThreshold, theEcutTower, theEESumThreshold, theHcalThreshold, theHOIsUsed, theMomConstrMethod, theMomEBDepth, theMomEEDepth, theMomHBDepth, theMomHEDepth, theTowerGeometry, theTowerTopology, Basic3DVector< T >::unit(), UNLIKELY, heppy_batch::val, and trackerHitRTTI::vector.
Referenced by finish().
std::tuple< unsigned int, bool > CaloTowersCreationAlgo::ecalChanStatusForCaloTower | ( | const EcalRecHit * | hit | ) |
Definition at line 1821 of file CaloTowersCreationAlgo.cc.
References BadChan, runTheMatrix::const, spr::find(), GoodChan, IgnoredChan, EcalSeverityLevel::kBad, EcalSeverityLevel::kGood, EcalSeverityLevel::kRecovered, ProblematicChan, RecoveredChan, interestingDetIdCollectionProducer_cfi::severityLevel, EcalSeverityLevelAlgo::severityLevel(), theEcalSeveritiesToBeExcluded, theEcalSeveritiesToBeUsedInBadTowers, theEcalSevLvlAlgo, theRecoveredEcalHitsAreUsed, useRejectedHitsOnly, and useRejectedRecoveredEcalHits.
Referenced by assignHitEcal().
GlobalPoint CaloTowersCreationAlgo::emCrystalShwrPos | ( | DetId | detId, |
float | fracDepth | ||
) |
Definition at line 1414 of file CaloTowersCreationAlgo.cc.
References hcalRecHitTable_cff::detId, CaloGeometry::getGeometry(), point, and theGeometry.
Referenced by emShwrLogWeightPos(), emShwrPos(), and hadSegmentShwrPos().
GlobalPoint CaloTowersCreationAlgo::emShwrLogWeightPos | ( | const std::vector< std::pair< DetId, float >> & | metaContains, |
float | fracDepth, | ||
double | totEmE | ||
) |
Definition at line 1614 of file CaloTowersCreationAlgo.cc.
References DetId::Ecal, emCrystalShwrPos(), dqm-mbProfile::log, AlCaHLTBitMon_ParallelJobs::p, and mps_merge::weight.
Referenced by convert().
GlobalPoint CaloTowersCreationAlgo::emShwrPos | ( | const std::vector< std::pair< DetId, float >> & | metaContains, |
float | fracDepth, | ||
double | totEmE | ||
) |
Definition at line 1584 of file CaloTowersCreationAlgo.cc.
References MillePedeFileConverter_cfg::e, DetId::Ecal, emCrystalShwrPos(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by convert().
|
private |
looks for a given tower in the internal cache. If it can't find it, it makes it.
Definition at line 912 of file CaloTowersCreationAlgo.cc.
References CaloTowerTopology::denseIndex(), hcalRecHitTable_cff::detId, CaloTowerTopology::firstHFRing(), TtSemiLepEvtBuilder_cfi::mt, CaloTowerTopology::sizeForDenseIndexing(), theTowerMap, theTowerMapSize, and theTowerTopology.
Referenced by assignHitEcal(), assignHitHcal(), and rescale().
void CaloTowersCreationAlgo::finish | ( | CaloTowerCollection & | destCollection | ) |
Definition at line 408 of file CaloTowersCreationAlgo.cc.
References convert(), TtSemiLepEvtBuilder_cfi::mt, mps_fire::result, theTowerMap, and theTowerMapSize.
Referenced by progressbar.ProgressBar::__next__(), and CaloTowersCreator::produce().
|
private |
helper method to look up the appropriate threshold & weight
Definition at line 1247 of file CaloTowersCreationAlgo.cc.
References hcalRecHitTable_cff::depth, HcalDetId::depth(), hcalRecHitTable_cff::detId, DetId::Ecal, EcalBarrel, EcalEndcap, HcalTopology::firstHEDoublePhiRing(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalBarrel, hcalCuts, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ieta(), HcalDetId::ietaAbs(), fftjetcommon_cfi::Interpolator, B2GTnPMonitor_cfi::item, DetId::rawId(), HcalDetId::subdet(), theEBEScale, theEBGrid, theEBthreshold, theEBweight, theEBWeights, theEEEScale, theEEGrid, theEEthreshold, theEEweight, theEEWeights, theHBEScale, theHBGrid, theHBthreshold, theHBthreshold1, theHBthreshold2, theHBweight, theHBWeights, theHcalTopology, theHEDEScale, theHEDGrid, theHEDthreshold, theHEDthreshold1, theHEDweight, theHEDWeights, theHESEScale, theHESGrid, theHESthreshold, theHESthreshold1, theHESweight, theHESWeights, theHF1EScale, theHF1Grid, theHF1threshold, theHF1weight, theHF1Weights, theHF2EScale, theHF2Grid, theHF2threshold, theHF2weight, theHF2Weights, theHOEScale, theHOGrid, theHOthreshold0, theHOthresholdMinus1, theHOthresholdMinus2, theHOthresholdPlus1, theHOthresholdPlus2, theHOweight, theHOWeights, and DiMuonV_cfg::threshold.
Referenced by assignHitEcal(), assignHitHcal(), rescale(), and rescaleTowers().
GlobalPoint CaloTowersCreationAlgo::hadSegmentShwrPos | ( | DetId | detId, |
float | fracDepth | ||
) |
Definition at line 1429 of file CaloTowersCreationAlgo.cc.
References hcalRecHitTable_cff::detId, and emCrystalShwrPos().
GlobalPoint CaloTowersCreationAlgo::hadShwPosFromCells | ( | DetId | frontCell, |
DetId | backCell, | ||
float | fracDepth | ||
) |
Definition at line 1557 of file CaloTowersCreationAlgo.cc.
References gather_cfg::cout, CaloGeometry::getGeometry(), HcalTopology::getMergePositionFlag(), HcalTopology::idBack(), HcalTopology::idFront(), point, theGeometry, and theHcalTopology.
Referenced by hadShwrPos().
GlobalPoint CaloTowersCreationAlgo::hadShwrPos | ( | const std::vector< std::pair< DetId, float >> & | metaContains, |
float | fracDepth, | ||
double | hadE | ||
) |
Referenced by convert().
GlobalPoint CaloTowersCreationAlgo::hadShwrPos | ( | CaloTowerDetId | id, |
float | fracDepth | ||
) |
Definition at line 1473 of file CaloTowersCreationAlgo.cc.
References funct::abs(), CaloTowerConstituentsMap::constituentsOf(), CaloTowerTopology::convertCTtoHcal(), gather_cfg::cout, HcalDetId::depth(), CaloTowerTopology::firstHFRing(), hadShwPosFromCells(), DetId::Hcal, HcalForward, HcalOuter, mps_fire::i, HcalTopology::idBack(), HcalTopology::idFront(), l1tPhase2CaloJetEmulator_cfi::iEta, mps_monitormerge::items, dqmdumpme::k, CaloTowerTopology::lastHERing(), point, HcalDetId::subdet(), theHcalPhase, theHcalTopology, theTowerConstituentsMap, theTowerTopology, ecaldqm::towerId(), and HcalTopology::validHcal().
unsigned int CaloTowersCreationAlgo::hcalChanStatusForCaloTower | ( | const CaloRecHit * | hit | ) |
Definition at line 1770 of file CaloTowersCreationAlgo.cc.
References BadChan, gather_cfg::cout, HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), GoodChan, HcalTopology::idFront(), IgnoredChan, ProblematicChan, RecoveredChan, HcalSeverityLevelComputer::recoveredRecHit(), interestingDetIdCollectionProducer_cfi::severityLevel, theHcalAcceptSeverityLevel, theHcalAcceptSeverityLevelForRejectedHit, theHcalChStatus, theHcalSevLvlComputer, theHcalTopology, theRecoveredHcalHitsAreUsed, useRejectedHitsOnly, and useRejectedRecoveredHcalHits.
Referenced by assignHitHcal().
void CaloTowersCreationAlgo::makeEcalBadChs | ( | ) |
Definition at line 1727 of file CaloTowersCreationAlgo.cc.
References CaloTowerConstituentsMap::constituentsOf(), CaloTowerTopology::detIdFromDenseIndex(), DetId::Ecal, ecalBadChs, spr::find(), EcalSeverityLevelAlgo::severityLevel(), CaloTowerTopology::sizeForDenseIndexing(), theEcalSeveritiesToBeExcluded, theEcalSevLvlAlgo, theTowerConstituentsMap, theTowerTopology, and mitigatedMETSequence_cff::U.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::makeHcalDropChMap | ( | ) |
Definition at line 1666 of file CaloTowersCreationAlgo.cc.
References CaloTowerConstituentsMap::constituentsOf(), gather_cfg::cout, HcalSeverityLevelComputer::dropChannel(), HcalCondObjectContainer< Item >::getAllChannels(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalBarrel, hcalDropChMap, HcalEndcap, CaloTowerDetId::ieta(), HcalDetId::ietaAbs(), CaloTowerDetId::iphi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalTopology::lastHERing(), HcalTopology::mergedDepth29(), HcalTopology::mergedDepthDetId(), missingHcalRescaleFactorForEcal, HcalDetId::subdet(), theHcalChStatus, theHcalPhase, theHcalSevLvlComputer, theHcalTopology, theTowerConstituentsMap, CaloTowerConstituentsMap::towerOf(), and CaloTowerDetId::zside().
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::process | ( | const HBHERecHitCollection & | hbhe | ) |
Definition at line 378 of file CaloTowersCreationAlgo.cc.
References assignHitHcal(), and photonIsolationHIProducer_cfi::hbhe.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::process | ( | const HORecHitCollection & | ho | ) |
Definition at line 383 of file CaloTowersCreationAlgo.cc.
References assignHitHcal(), and photonIsolationHIProducer_cfi::ho.
void CaloTowersCreationAlgo::process | ( | const HFRecHitCollection & | hf | ) |
Definition at line 388 of file CaloTowersCreationAlgo.cc.
References assignHitHcal(), and photonIsolationHIProducer_cfi::hf.
void CaloTowersCreationAlgo::process | ( | const EcalRecHitCollection & | ecal | ) |
Definition at line 393 of file CaloTowersCreationAlgo.cc.
References assignHitEcal(), edm::SortedCollection< T, SORT >::begin(), and edm::SortedCollection< T, SORT >::end().
void CaloTowersCreationAlgo::process | ( | const CaloTowerCollection & | ctc | ) |
Definition at line 402 of file CaloTowersCreationAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), and rescale().
|
private |
Definition at line 868 of file CaloTowersCreationAlgo.cc.
References CaloTower::constituent(), CaloTower::constituentsSize(), HcalDetId::depth(), hcalRecHitTable_cff::detId, DetId::Ecal, CaloTower::ecalTime(), CaloTower::emEnergy(), find(), getThresholdAndWeight(), CaloTower::hadEnergy(), HcalForward, HcalOuter, CaloTower::hcalTime(), mps_fire::i, CaloTower::id(), CaloTowersParam_cfi::mc, DetId::null(), CaloTower::outerEnergy(), HcalDetId::subdet(), theTowerConstituentsMap, DiMuonV_cfg::threshold, l1tHGCalTowerProducer_cfi::tower, CaloTowerConstituentsMap::towerOf(), and mps_merge::weight.
Referenced by process().
void CaloTowersCreationAlgo::rescaleTowers | ( | const CaloTowerCollection & | ctInput, |
CaloTowerCollection & | ctResult | ||
) |
Definition at line 430 of file CaloTowersCreationAlgo.cc.
References CaloTower::addConstituents(), edm::SortedCollection< T, SORT >::begin(), edm::contains(), DetId::det(), DetId::Ecal, edm::SortedCollection< T, SORT >::end(), PV3DBase< T, PVType, FrameType >::eta(), CaloTowerTopology::firstHERing(), CaloTowerTopology::firstHFRing(), getThresholdAndWeight(), DetId::Hcal, HcalOuter, CaloTowerDetId::ietaAbs(), CaloTowerTopology::lastHBRing(), CaloTowerTopology::lastHERing(), CaloTowerTopology::lastHFRing(), CaloTowerTopology::lastHORing(), PV3DBase< T, PVType, FrameType >::phi(), edm::SortedCollection< T, SORT >::push_back(), CaloTower::setCaloTowerStatus(), CaloTower::setEcalTime(), CaloTower::setHcalSubdet(), CaloTower::setHcalTime(), HcalDetId::subdet(), theHF1weight, theHF2weight, theHOIsUsed, theTowerTopology, DiMuonV_cfg::threshold, and mps_merge::weight.
Referenced by CaloTowersReCreator::produce().
void CaloTowersCreationAlgo::setEBEScale | ( | double | scale | ) |
Definition at line 1358 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theEBEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 245 of file CaloTowersCreationAlgo.h.
References theEbHandle.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 169 of file CaloTowersCreationAlgo.h.
References alignCSCRings::s, and theEcalChStatus.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 211 of file CaloTowersCreationAlgo.h.
References theEcalSeveritiesToBeExcluded.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 233 of file CaloTowersCreationAlgo.h.
References theEcalSeveritiesToBeUsedInBadTowers.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 221 of file CaloTowersCreationAlgo.h.
References a, and theEcalSevLvlAlgo.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setEEEScale | ( | double | scale | ) |
Definition at line 1365 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theEEEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 246 of file CaloTowersCreationAlgo.h.
References theEeHandle.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setGeometry | ( | const CaloTowerTopology * | cttopo, |
const CaloTowerConstituentsMap * | ctmap, | ||
const HcalTopology * | htopo, | ||
const CaloGeometry * | geo | ||
) |
Definition at line 358 of file CaloTowersCreationAlgo.cc.
References DetId::Calo, ecalBadChs, CaloGeometry::getSubdetectorGeometry(), CaloTowerTopology::sizeForDenseIndexing(), CaloTowerDetId::SubdetId, theGeometry, theHcalTopology, theTowerConstituentsMap, theTowerGeometry, and theTowerTopology.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHBEScale | ( | double | scale | ) |
Definition at line 1372 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theHBEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 210 of file CaloTowersCreationAlgo.h.
References personalPlayback::level, and theHcalAcceptSeverityLevel.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 229 of file CaloTowersCreationAlgo.h.
References personalPlayback::level, and theHcalAcceptSeverityLevelForRejectedHit.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 168 of file CaloTowersCreationAlgo.h.
References alignCSCRings::s, and theHcalChStatus.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 218 of file CaloTowersCreationAlgo.h.
References HltBtagPostValidation_cff::c, and theHcalSevLvlComputer.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHEDEScale | ( | double | scale | ) |
Definition at line 1386 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theHEDEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHESEScale | ( | double | scale | ) |
Definition at line 1379 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theHESEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHF1EScale | ( | double | scale | ) |
Definition at line 1400 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theHF1EScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHF2EScale | ( | double | scale | ) |
Definition at line 1407 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theHF2EScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHOEScale | ( | double | scale | ) |
Definition at line 1393 of file CaloTowersCreationAlgo.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, and theHOEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 239 of file CaloTowersCreationAlgo.h.
References missingHcalRescaleFactorForEcal.
Referenced by CaloTowersCreator::CaloTowersCreator().
|
inline |
Definition at line 215 of file CaloTowersCreationAlgo.h.
References RemoveAddSevLevel::flag, and theRecoveredEcalHitsAreUsed.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 214 of file CaloTowersCreationAlgo.h.
References RemoveAddSevLevel::flag, and theRecoveredHcalHitsAreUsed.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setThresFromDB | ( | const HcalPFCuts * | cuts | ) |
Definition at line 356 of file CaloTowersCreationAlgo.cc.
References hcalCuts.
Referenced by CaloTowersCreator::beginRun().
|
inline |
Definition at line 227 of file CaloTowersCreationAlgo.h.
References RemoveAddSevLevel::flag, and useRejectedHitsOnly.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 238 of file CaloTowersCreationAlgo.h.
References RemoveAddSevLevel::flag, and useRejectedRecoveredEcalHits.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 237 of file CaloTowersCreationAlgo.h.
References RemoveAddSevLevel::flag, and useRejectedRecoveredHcalHits.
Referenced by CaloTowersCreator::produce().
|
private |
Definition at line 391 of file CaloTowersCreationAlgo.h.
Referenced by convert(), makeEcalBadChs(), and setGeometry().
|
private |
Definition at line 325 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setThresFromDB().
|
private |
Definition at line 387 of file CaloTowersCreationAlgo.h.
Referenced by convert(), and makeHcalDropChMap().
|
private |
Definition at line 405 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 361 of file CaloTowersCreationAlgo.h.
Referenced by convert(), makeHcalDropChMap(), and setMissingHcalRescaleFactorForEcal().
int CaloTowersCreationAlgo::nalgo = -1 |
Definition at line 54 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 317 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setEBEScale().
|
private |
Definition at line 305 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 400 of file CaloTowersCreationAlgo.h.
Referenced by setEbHandle().
|
private |
Definition at line 315 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 294 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 313 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 305 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 333 of file CaloTowersCreationAlgo.h.
Referenced by setEcalChStatusFromDB().
|
private |
Definition at line 346 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal(), ecalChanStatusForCaloTower(), makeEcalBadChs(), and setEcalSeveritiesToBeExcluded().
|
private |
Definition at line 355 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and SetEcalSeveritiesToBeUsedInBadTowers().
|
private |
Definition at line 340 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal(), ecalChanStatusForCaloTower(), makeEcalBadChs(), and setEcalSevLvlAlgo().
|
private |
Definition at line 315 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 318 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setEEEScale().
|
private |
Definition at line 306 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 401 of file CaloTowersCreationAlgo.h.
Referenced by setEeHandle().
|
private |
Definition at line 315 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 294 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 313 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 306 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 328 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal(), emCrystalShwrPos(), hadShwPosFromCells(), and setGeometry().
|
private |
Definition at line 319 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHBEScale().
|
private |
Definition at line 307 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 300 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 300 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 300 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 314 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 307 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 345 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setHcalAcceptSeverityLevel().
|
private |
Definition at line 354 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setHcalAcceptSeverityLevelForRejectedHit().
|
private |
Definition at line 334 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), makeHcalDropChMap(), and setHcalChStatusFromDB().
|
private |
Definition at line 403 of file CaloTowersCreationAlgo.h.
Referenced by assignHitHcal(), hadShwrPos(), and makeHcalDropChMap().
|
private |
Definition at line 337 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), makeHcalDropChMap(), and setHcalSevLvlComputer().
|
private |
Definition at line 298 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 327 of file CaloTowersCreationAlgo.h.
Referenced by assignHitHcal(), getThresholdAndWeight(), hadShwPosFromCells(), hadShwrPos(), hcalChanStatusForCaloTower(), makeHcalDropChMap(), and setGeometry().
|
private |
Definition at line 321 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHEDEScale().
|
private |
Definition at line 309 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 302 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 302 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 314 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 309 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 320 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHESEScale().
|
private |
Definition at line 308 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 301 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 301 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 314 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 308 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 323 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHF1EScale().
|
private |
Definition at line 311 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 304 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 314 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and rescaleTowers().
|
private |
Definition at line 311 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 324 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHF2EScale().
|
private |
Definition at line 312 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 304 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 314 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and rescaleTowers().
|
private |
Definition at line 312 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 322 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHOEScale().
|
private |
Definition at line 310 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
only affects energy and ET calculation. HO is still recorded in the tower
Definition at line 364 of file CaloTowersCreationAlgo.h.
Referenced by assignHitHcal(), convert(), and rescaleTowers().
|
private |
Definition at line 303 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 303 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 304 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 303 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 304 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 314 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 310 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 368 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 371 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 372 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 369 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 370 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 349 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and setRecoveredEcalHitsAreUsed().
|
private |
Definition at line 348 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setRecoveredHcalHitsAreUsed().
|
private |
Definition at line 329 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal(), assignHitHcal(), hadShwrPos(), makeEcalBadChs(), makeHcalDropChMap(), rescale(), and setGeometry().
|
private |
Definition at line 330 of file CaloTowersCreationAlgo.h.
Referenced by convert(), and setGeometry().
|
private |
Definition at line 381 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 382 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 326 of file CaloTowersCreationAlgo.h.
Referenced by convert(), find(), hadShwrPos(), makeEcalBadChs(), rescaleTowers(), and setGeometry().
|
private |
Definition at line 295 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal().
|
private |
Definition at line 295 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal().
|
private |
Definition at line 296 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal().
|
private |
Definition at line 296 of file CaloTowersCreationAlgo.h.
Referenced by assignHitEcal().
|
private |
Definition at line 353 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), hcalChanStatusForCaloTower(), and setUseRejectedHitsOnly().
|
private |
Definition at line 358 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and setUseRejectedRecoveredEcalHits().
|
private |
Definition at line 357 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setUseRejectedRecoveredHcalHits().