#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 HESthreshold, double HEDthreshold, 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) | |
CaloTowersCreationAlgo (double EBthreshold, double EEthreshold, bool useEtEBTreshold, bool useEtEETreshold, bool useSymEBTreshold, bool useSymEETreshold, double HcalThreshold, double HBthreshold, double HESthreshold, double HEDthreshold, 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) | |
unsigned int | ecalChanStatusForCaloTower (const CaloRecHit *hit) |
GlobalPoint | emCrystalShwrPos (DetId detId, float fracDepth) |
GlobalPoint | emShwrLogWeightPos (const std::vector< std::pair< DetId, double > > &metaContains, float fracDepth, double totEmE) |
GlobalPoint | emShwrPos (const std::vector< std::pair< DetId, double > > &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, double > > &metaContains, float fracDepth, double hadE) |
GlobalPoint | hadShwrPos (CaloTowerDetId id, float fracDepth) |
unsigned int | hcalChanStatusForCaloTower (const CaloRecHit *hit) |
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 CaloTowerConstituentsMap *cttopo, 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 | setRecoveredEcalHitsAreUsed (bool flag) |
void | setRecoveredHcalHitsAreUsed (bool flag) |
void | setUseRejectedHitsOnly (bool flag) |
void | setUseRejectedRecoveredEcalHits (bool flag) |
void | setUseRejectedRecoveredHcalHits (bool flag) |
Private Types | |
enum | ctHitCategory { GoodChan = 0, BadChan = 1, RecoveredChan = 2, ProblematicChan = 3, IgnoredChan = 99 } |
typedef std::map < CaloTowerDetId, int > | HcalDropChMap |
typedef std::map < CaloTowerDetId, MetaTower > | MetaTowerMap |
Private Member Functions | |
void | assignHit (const CaloRecHit *recHit) |
adds a single hit to the tower More... | |
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 47 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 323 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 318 of file CaloTowersCreationAlgo.h.
|
private |
Enumerator | |
---|---|
GoodChan | |
BadChan | |
RecoveredChan | |
ProblematicChan | |
IgnoredChan |
Definition at line 329 of file CaloTowersCreationAlgo.h.
CaloTowersCreationAlgo::CaloTowersCreationAlgo | ( | ) |
Definition at line 10 of file CaloTowersCreationAlgo.cc.
CaloTowersCreationAlgo::CaloTowersCreationAlgo | ( | double | EBthreshold, |
double | EEthreshold, | ||
bool | useEtEBTreshold, | ||
bool | useEtEETreshold, | ||
bool | useSymEBTreshold, | ||
bool | useSymEETreshold, | ||
double | HcalThreshold, | ||
double | HBthreshold, | ||
double | HESthreshold, | ||
double | HEDthreshold, | ||
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 | ||
) |
Definition at line 71 of file CaloTowersCreationAlgo.cc.
CaloTowersCreationAlgo::CaloTowersCreationAlgo | ( | double | EBthreshold, |
double | EEthreshold, | ||
bool | useEtEBTreshold, | ||
bool | useEtEETreshold, | ||
bool | useSymEBTreshold, | ||
bool | useSymEETreshold, | ||
double | HcalThreshold, | ||
double | HBthreshold, | ||
double | HESthreshold, | ||
double | HEDthreshold, | ||
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 | ||
) |
Definition at line 152 of file CaloTowersCreationAlgo.cc.
|
private |
adds a single hit to the tower
Definition at line 407 of file CaloTowersCreationAlgo.cc.
References BadChan, HcalDetId::depth(), DetId::det(), CaloRecHit::detid(), alignCSCRings::e, CaloTowersCreationAlgo::MetaTower::E, CaloTowersCreationAlgo::MetaTower::E_em, CaloTowersCreationAlgo::MetaTower::E_had, CaloTowersCreationAlgo::MetaTower::E_outer, DetId::Ecal, EcalBarrel, ecalChanStatusForCaloTower(), EcalEndcap, CaloTowersCreationAlgo::MetaTower::emSumEForTime, CaloTowersCreationAlgo::MetaTower::emSumTimeTimesE, CaloRecHit::energy(), relval_parameters_module::energy, eta(), find(), CaloGeometry::getGeometry(), CaloCellGeometry::getPosition(), getThresholdAndWeight(), GoodChan, CaloTowersCreationAlgo::MetaTower::hadSumEForTime, CaloTowersCreationAlgo::MetaTower::hadSumTimeTimesE, DetId::Hcal, hcalChanStatusForCaloTower(), HcalEndcap, HcalForward, HcalOuter, CaloTowerDetId::ieta(), HcalDetId::ietaAbs(), IgnoredChan, CaloTowerDetId::iphi(), CaloTowersCreationAlgo::MetaTower::metaConstituents, DetId::null(), CaloTowersCreationAlgo::MetaTower::numBadHcalCells, CaloTowersCreationAlgo::MetaTower::numProbEcalCells, CaloTowersCreationAlgo::MetaTower::numProbHcalCells, CaloTowersCreationAlgo::MetaTower::numRecEcalCells, CaloTowersCreationAlgo::MetaTower::numRecHcalCells, ProblematicChan, RecoveredChan, HcalDetId::subdet(), DetId::subdetId(), theGeometry, theHOIsUsed, theTowerConstituentsMap, theUseEtEBTresholdFlag, theUseEtEETresholdFlag, theUseSymEBTresholdFlag, theUseSymEETresholdFlag, dtDQMClient_cfg::threshold, CaloRecHit::time(), CaloTowerConstituentsMap::towerOf(), histoStyle::weight, and CaloTowerDetId::zside().
Referenced by process().
void CaloTowersCreationAlgo::begin | ( | void | ) |
Definition at line 248 of file CaloTowersCreationAlgo.cc.
References theTowerMap.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
private |
Definition at line 1354 of file CaloTowersCreationAlgo.cc.
Referenced by convert().
|
private |
Definition at line 760 of file CaloTowersCreationAlgo.cc.
References CaloTower::addConstituents(), compactTime(), CaloTowerConstituentsMap::constituentsOf(), edm::contains(), CaloTowersCreationAlgo::MetaTower::E, CaloTowersCreationAlgo::MetaTower::E_em, CaloTowersCreationAlgo::MetaTower::E_had, CaloTowersCreationAlgo::MetaTower::E_outer, DetId::Ecal, EcalBarrel, EcalEndcap, emShwrLogWeightPos(), emShwrPos(), CaloTowersCreationAlgo::MetaTower::emSumEForTime, CaloTowersCreationAlgo::MetaTower::emSumTimeTimesE, reco::LeafCandidate::energy(), PV3DBase< T, PVType, FrameType >::eta(), spr::find(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), hadShwrPos(), CaloTowersCreationAlgo::MetaTower::hadSumEForTime, CaloTowersCreationAlgo::MetaTower::hadSumTimeTimesE, DetId::Hcal, hcalDropChMap, HcalOuter, i, reco::if(), CaloTowersCreationAlgo::MetaTower::metaConstituents, CaloTowersCreationAlgo::MetaTower::numBadHcalCells, CaloTowersCreationAlgo::MetaTower::numProbEcalCells, CaloTowersCreationAlgo::MetaTower::numProbHcalCells, CaloTowersCreationAlgo::MetaTower::numRecEcalCells, CaloTowersCreationAlgo::MetaTower::numRecHcalCells, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::phi(), edm::SortedCollection< T, SORT >::push_back(), edm::second(), CaloTower::setCaloTowerStatus(), CaloTower::setEcalTime(), CaloTower::setHcalTime(), CaloTower::setHottestCellE(), EcalSeverityLevelAlgo::severityLevel(), HcalDetId::subdet(), theEbHandle, theEBSumThreshold, theEcalSeveritiesToBeExcluded, theEcalSevLvlAlgo, theEcutTower, theEeHandle, theEESumThreshold, theHcalThreshold, theHOIsUsed, theMomConstrMethod, theMomEBDepth, theMomEEDepth, theMomHBDepth, theMomHEDepth, theTowerConstituentsMap, and theTowerGeometry.
Referenced by finish().
unsigned int CaloTowersCreationAlgo::ecalChanStatusForCaloTower | ( | const CaloRecHit * | hit | ) |
Definition at line 1474 of file CaloTowersCreationAlgo.cc.
References BadChan, spr::find(), GoodChan, IgnoredChan, EcalSeverityLevel::kGood, EcalSeverityLevel::kRecovered, ProblematicChan, RecoveredChan, EcalSeverityLevelAlgo::severityLevel(), theEcalSeveritiesToBeExcluded, theEcalSeveritiesToBeUsedInBadTowers, theEcalSevLvlAlgo, theRecoveredEcalHitsAreUsed, useRejectedHitsOnly, and useRejectedRecoveredEcalHits.
Referenced by assignHit().
GlobalPoint CaloTowersCreationAlgo::emCrystalShwrPos | ( | DetId | detId, |
float | fracDepth | ||
) |
Definition at line 1128 of file CaloTowersCreationAlgo.cc.
References cuy::cv, CaloCellGeometry::getCorners(), CaloGeometry::getGeometry(), CaloCellGeometry::getPosition(), point, theGeometry, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by emShwrLogWeightPos(), and emShwrPos().
GlobalPoint CaloTowersCreationAlgo::emShwrLogWeightPos | ( | const std::vector< std::pair< DetId, double > > & | metaContains, |
float | fracDepth, | ||
double | totEmE | ||
) |
Definition at line 1315 of file CaloTowersCreationAlgo.cc.
References DetId::Ecal, emCrystalShwrPos(), create_public_lumi_plots::log, AlCaHLTBitMon_ParallelJobs::p, histoStyle::weight, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by convert().
GlobalPoint CaloTowersCreationAlgo::emShwrPos | ( | const std::vector< std::pair< DetId, double > > & | metaContains, |
float | fracDepth, | ||
double | totEmE | ||
) |
Definition at line 1285 of file CaloTowersCreationAlgo.cc.
References alignCSCRings::e, DetId::Ecal, emCrystalShwrPos(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
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 744 of file CaloTowersCreationAlgo.cc.
References theTowerMap.
Referenced by assignHit(), and rescale().
void CaloTowersCreationAlgo::finish | ( | CaloTowerCollection & | destCollection | ) |
Definition at line 290 of file CaloTowersCreationAlgo.cc.
References convert(), and theTowerMap.
Referenced by progressbar.ProgressBar::__next__(), and CaloTowersCreator::produce().
|
private |
helper method to look up the appropriate threshold & weight
Definition at line 989 of file CaloTowersCreationAlgo.cc.
References HcalDetId::depth(), DetId::det(), DetId::Ecal, EcalBarrel, EcalEndcap, HcalTopology::firstHEDoublePhiRing(), DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::subdet(), DetId::subdetId(), theEBEScale, theEBGrid, theEBthreshold, theEBweight, theEBWeights, theEEEScale, theEEGrid, theEEthreshold, theEEweight, theEEWeights, theHBEScale, theHBGrid, theHBthreshold, theHBweight, theHBWeights, theHcalTopology, theHEDEScale, theHEDGrid, theHEDthreshold, theHEDweight, theHEDWeights, theHESEScale, theHESGrid, theHESthreshold, theHESweight, theHESWeights, theHF1EScale, theHF1Grid, theHF1threshold, theHF1weight, theHF1Weights, theHF2EScale, theHF2Grid, theHF2threshold, theHF2weight, theHF2Weights, theHOEScale, theHOGrid, theHOthreshold0, theHOthresholdMinus1, theHOthresholdMinus2, theHOthresholdPlus1, theHOthresholdPlus2, theHOweight, and theHOWeights.
Referenced by assignHit(), rescale(), and rescaleTowers().
GlobalPoint CaloTowersCreationAlgo::hadSegmentShwrPos | ( | DetId | detId, |
float | fracDepth | ||
) |
Definition at line 1146 of file CaloTowersCreationAlgo.cc.
References cuy::cv, CaloCellGeometry::getCorners(), CaloGeometry::getGeometry(), CaloCellGeometry::getPosition(), point, theGeometry, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by hadShwrPos().
GlobalPoint CaloTowersCreationAlgo::hadShwPosFromCells | ( | DetId | frontCell, |
DetId | backCell, | ||
float | fracDepth | ||
) |
Definition at line 1263 of file CaloTowersCreationAlgo.cc.
References cuy::cv, CaloCellGeometry::getCorners(), CaloGeometry::getGeometry(), CaloCellGeometry::getPosition(), point, theGeometry, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by hadShwrPos().
GlobalPoint CaloTowersCreationAlgo::hadShwrPos | ( | const std::vector< std::pair< DetId, double > > & | metaContains, |
float | fracDepth, | ||
double | hadE | ||
) |
Definition at line 1165 of file CaloTowersCreationAlgo.cc.
References hadSegmentShwrPos(), DetId::Hcal, HcalOuter, AlCaHLTBitMon_ParallelJobs::p, HcalDetId::subdet(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by convert().
GlobalPoint CaloTowersCreationAlgo::hadShwrPos | ( | CaloTowerDetId | id, |
float | fracDepth | ||
) |
Definition at line 1198 of file CaloTowersCreationAlgo.cc.
References hadShwPosFromCells(), HcalBarrel, HcalEndcap, HcalForward, CaloTowerDetId::ieta(), CaloTowerDetId::ietaAbs(), CaloTowerDetId::iphi(), and point.
unsigned int CaloTowersCreationAlgo::hcalChanStatusForCaloTower | ( | const CaloRecHit * | hit | ) |
Definition at line 1412 of file CaloTowersCreationAlgo.cc.
References BadChan, CaloRecHit::detid(), CaloRecHit::flags(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), GoodChan, IgnoredChan, ProblematicChan, RecoveredChan, HcalSeverityLevelComputer::recoveredRecHit(), theHcalAcceptSeverityLevel, theHcalAcceptSeverityLevelForRejectedHit, theHcalChStatus, theHcalSevLvlComputer, theRecoveredHcalHitsAreUsed, useRejectedHitsOnly, and useRejectedRecoveredHcalHits.
Referenced by assignHit().
void CaloTowersCreationAlgo::makeHcalDropChMap | ( | ) |
Definition at line 1374 of file CaloTowersCreationAlgo.cc.
References HcalDetId::depth(), HcalSeverityLevelComputer::dropChannel(), HcalCondObjectContainer< Item >::getAllChannels(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), hcalDropChMap, HcalEndcap, CaloTowerDetId::ieta(), HcalDetId::ietaAbs(), CaloTowerDetId::iphi(), HcalDetId::subdet(), theHcalChStatus, theHcalSevLvlComputer, theTowerConstituentsMap, CaloTowerConstituentsMap::towerOf(), and CaloTowerDetId::zside().
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::process | ( | const HBHERecHitCollection & | hbhe | ) |
Definition at line 253 of file CaloTowersCreationAlgo.cc.
References assignHit(), edm::SortedCollection< T, SORT >::begin(), and edm::SortedCollection< T, SORT >::end().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), CaloTowersCreator::produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void CaloTowersCreationAlgo::process | ( | const HORecHitCollection & | ho | ) |
Definition at line 259 of file CaloTowersCreationAlgo.cc.
References assignHit(), edm::SortedCollection< T, SORT >::begin(), and edm::SortedCollection< T, SORT >::end().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void CaloTowersCreationAlgo::process | ( | const HFRecHitCollection & | hf | ) |
Definition at line 265 of file CaloTowersCreationAlgo.cc.
References assignHit(), edm::SortedCollection< T, SORT >::begin(), and edm::SortedCollection< T, SORT >::end().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void CaloTowersCreationAlgo::process | ( | const EcalRecHitCollection & | ecal | ) |
Definition at line 271 of file CaloTowersCreationAlgo.cc.
References assignHit(), edm::SortedCollection< T, SORT >::begin(), and edm::SortedCollection< T, SORT >::end().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void CaloTowersCreationAlgo::process | ( | const CaloTowerCollection & | ctc | ) |
Definition at line 281 of file CaloTowersCreationAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), and rescale().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Definition at line 695 of file CaloTowersCreationAlgo.cc.
References CaloTower::constituent(), CaloTower::constituentsSize(), HcalDetId::depth(), DetId::det(), CaloTowersCreationAlgo::MetaTower::E, CaloTowersCreationAlgo::MetaTower::E_em, CaloTowersCreationAlgo::MetaTower::E_had, CaloTowersCreationAlgo::MetaTower::E_outer, DetId::Ecal, CaloTower::ecalTime(), CaloTower::emEnergy(), CaloTowersCreationAlgo::MetaTower::emSumEForTime, CaloTowersCreationAlgo::MetaTower::emSumTimeTimesE, find(), getThresholdAndWeight(), CaloTower::hadEnergy(), CaloTowersCreationAlgo::MetaTower::hadSumEForTime, CaloTowersCreationAlgo::MetaTower::hadSumTimeTimesE, HcalForward, HcalOuter, CaloTower::hcalTime(), i, CaloTower::id(), CaloTowersCreationAlgo::MetaTower::metaConstituents, DetId::null(), CaloTower::outerEnergy(), HcalDetId::subdet(), theTowerConstituentsMap, dtDQMClient_cfg::threshold, CaloTowerConstituentsMap::towerOf(), and histoStyle::weight.
Referenced by process().
void CaloTowersCreationAlgo::rescaleTowers | ( | const CaloTowerCollection & | ctInput, |
CaloTowerCollection & | ctResult | ||
) |
Definition at line 304 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(), getThresholdAndWeight(), DetId::Hcal, HcalOuter, CaloTowerDetId::ietaAbs(), PV3DBase< T, PVType, FrameType >::phi(), edm::SortedCollection< T, SORT >::push_back(), CaloTower::setCaloTowerStatus(), CaloTower::setEcalTime(), CaloTower::setHcalTime(), HcalDetId::subdet(), theHF1weight, theHF2weight, theHOIsUsed, dtDQMClient_cfg::threshold, and histoStyle::weight.
Referenced by CaloTowersReCreator::produce().
void CaloTowersCreationAlgo::setEBEScale | ( | double | scale | ) |
Definition at line 1087 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theEBEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 183 of file CaloTowersCreationAlgo.h.
References theEbHandle.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 108 of file CaloTowersCreationAlgo.h.
References alignCSCRings::s, and theEcalChStatus.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 150 of file CaloTowersCreationAlgo.h.
References theEcalSeveritiesToBeExcluded.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 171 of file CaloTowersCreationAlgo.h.
References theEcalSeveritiesToBeUsedInBadTowers.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 160 of file CaloTowersCreationAlgo.h.
References a, and theEcalSevLvlAlgo.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setEEEScale | ( | double | scale | ) |
Definition at line 1092 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theEEEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 184 of file CaloTowersCreationAlgo.h.
References theEeHandle.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setGeometry | ( | const CaloTowerConstituentsMap * | cttopo, |
const HcalTopology * | htopo, | ||
const CaloGeometry * | geo | ||
) |
Definition at line 241 of file CaloTowersCreationAlgo.cc.
References DetId::Calo, CaloGeometry::getSubdetectorGeometry(), CaloTowerDetId::SubdetId, theGeometry, theHcalTopology, theTowerConstituentsMap, and theTowerGeometry.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHBEScale | ( | double | scale | ) |
Definition at line 1097 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theHBEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 149 of file CaloTowersCreationAlgo.h.
References testEve_cfg::level, and theHcalAcceptSeverityLevel.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 169 of file CaloTowersCreationAlgo.h.
References testEve_cfg::level, and theHcalAcceptSeverityLevelForRejectedHit.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 107 of file CaloTowersCreationAlgo.h.
References alignCSCRings::s, and theHcalChStatus.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 157 of file CaloTowersCreationAlgo.h.
References trackerHits::c, and theHcalSevLvlComputer.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHEDEScale | ( | double | scale | ) |
Definition at line 1107 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theHEDEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHESEScale | ( | double | scale | ) |
Definition at line 1102 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theHESEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHF1EScale | ( | double | scale | ) |
Definition at line 1117 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theHF1EScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHF2EScale | ( | double | scale | ) |
Definition at line 1122 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theHF2EScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHOEScale | ( | double | scale | ) |
Definition at line 1112 of file CaloTowersCreationAlgo.cc.
References pileupReCalc_HLTpaths::scale, and theHOEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 154 of file CaloTowersCreationAlgo.h.
References theRecoveredEcalHitsAreUsed.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 153 of file CaloTowersCreationAlgo.h.
References theRecoveredHcalHitsAreUsed.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 167 of file CaloTowersCreationAlgo.h.
References useRejectedHitsOnly.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 175 of file CaloTowersCreationAlgo.h.
References useRejectedRecoveredEcalHits.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 174 of file CaloTowersCreationAlgo.h.
References useRejectedRecoveredHcalHits.
Referenced by CaloTowersCreator::produce().
|
private |
Definition at line 324 of file CaloTowersCreationAlgo.h.
Referenced by convert(), and makeHcalDropChMap().
|
private |
Definition at line 256 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setEBEScale().
|
private |
Definition at line 244 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 334 of file CaloTowersCreationAlgo.h.
Referenced by convert(), and setEbHandle().
|
private |
Definition at line 254 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 234 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 252 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 244 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 270 of file CaloTowersCreationAlgo.h.
Referenced by setEcalChStatusFromDB().
|
private |
Definition at line 284 of file CaloTowersCreationAlgo.h.
Referenced by convert(), ecalChanStatusForCaloTower(), and setEcalSeveritiesToBeExcluded().
|
private |
Definition at line 293 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and SetEcalSeveritiesToBeUsedInBadTowers().
|
private |
Definition at line 277 of file CaloTowersCreationAlgo.h.
Referenced by convert(), ecalChanStatusForCaloTower(), and setEcalSevLvlAlgo().
|
private |
Definition at line 254 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 257 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setEEEScale().
|
private |
Definition at line 245 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 335 of file CaloTowersCreationAlgo.h.
Referenced by convert(), and setEeHandle().
|
private |
Definition at line 254 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 234 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 252 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 245 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 265 of file CaloTowersCreationAlgo.h.
Referenced by assignHit(), emCrystalShwrPos(), hadSegmentShwrPos(), hadShwPosFromCells(), and setGeometry().
|
private |
Definition at line 258 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHBEScale().
|
private |
Definition at line 246 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 241 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 253 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 246 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 283 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setHcalAcceptSeverityLevel().
|
private |
Definition at line 292 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setHcalAcceptSeverityLevelForRejectedHit().
|
private |
Definition at line 271 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), makeHcalDropChMap(), and setHcalChStatusFromDB().
|
private |
Definition at line 274 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), makeHcalDropChMap(), and setHcalSevLvlComputer().
|
private |
Definition at line 239 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 264 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setGeometry().
|
private |
Definition at line 260 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHEDEScale().
|
private |
Definition at line 248 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 241 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 253 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 248 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 259 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHESEScale().
|
private |
Definition at line 247 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 241 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 253 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 247 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 262 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHF1EScale().
|
private |
Definition at line 250 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 243 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 253 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and rescaleTowers().
|
private |
Definition at line 250 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 263 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHF2EScale().
|
private |
Definition at line 251 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 243 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 253 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and rescaleTowers().
|
private |
Definition at line 251 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 261 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight(), and setHOEScale().
|
private |
Definition at line 249 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
only affects energy and ET calculation. HO is still recorded in the tower
Definition at line 301 of file CaloTowersCreationAlgo.h.
Referenced by assignHit(), convert(), and rescaleTowers().
|
private |
Definition at line 242 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 242 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 243 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 242 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 243 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 253 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 249 of file CaloTowersCreationAlgo.h.
Referenced by getThresholdAndWeight().
|
private |
Definition at line 305 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 308 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 309 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 306 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 307 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 287 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and setRecoveredEcalHitsAreUsed().
|
private |
Definition at line 286 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setRecoveredHcalHitsAreUsed().
|
private |
Definition at line 266 of file CaloTowersCreationAlgo.h.
Referenced by assignHit(), convert(), makeHcalDropChMap(), rescale(), and setGeometry().
|
private |
Definition at line 267 of file CaloTowersCreationAlgo.h.
Referenced by convert(), and setGeometry().
|
private |
Definition at line 319 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 235 of file CaloTowersCreationAlgo.h.
Referenced by assignHit().
|
private |
Definition at line 235 of file CaloTowersCreationAlgo.h.
Referenced by assignHit().
|
private |
Definition at line 236 of file CaloTowersCreationAlgo.h.
Referenced by assignHit().
|
private |
Definition at line 236 of file CaloTowersCreationAlgo.h.
Referenced by assignHit().
|
private |
Definition at line 291 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), hcalChanStatusForCaloTower(), and setUseRejectedHitsOnly().
|
private |
Definition at line 297 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and setUseRejectedRecoveredEcalHits().
|
private |
Definition at line 296 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setUseRejectedRecoveredHcalHits().