![]() |
![]() |
#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 | setEcalAcceptSeverityLevel (unsigned int level) |
void | setEcalAcceptSeverityLevelForRejectedHit (unsigned int level) |
void | setEcalChStatusFromDB (const EcalChannelStatus *s) |
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) |
|
private |
Definition at line 321 of file CaloTowersCreationAlgo.h.
|
private |
Definition at line 316 of file CaloTowersCreationAlgo.h.
|
private |
Enumerator | |
---|---|
GoodChan | |
BadChan | |
RecoveredChan | |
ProblematicChan | |
IgnoredChan |
Definition at line 327 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(), 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, dtT0WireCalibration_cfg::threshold, CaloRecHit::time(), CaloTowerConstituentsMap::towerOf(), CommonMethods::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 1353 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(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), hadShwrPos(), CaloTowersCreationAlgo::MetaTower::hadSumEForTime, CaloTowersCreationAlgo::MetaTower::hadSumTimeTimesE, DetId::Hcal, hcalDropChMap, HcalOuter, i, if(), EcalSeverityLevelAlgo::kRecovered, CaloTowersCreationAlgo::MetaTower::metaConstituents, CaloTowersCreationAlgo::MetaTower::numBadHcalCells, CaloTowersCreationAlgo::MetaTower::numProbEcalCells, CaloTowersCreationAlgo::MetaTower::numProbHcalCells, CaloTowersCreationAlgo::MetaTower::numRecEcalCells, CaloTowersCreationAlgo::MetaTower::numRecHcalCells, L1TEmulatorMonitor_cff::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, theEcalAcceptSeverityLevel, theEcalSevLvlAlgo, theEcutTower, theEeHandle, theEESumThreshold, theHcalThreshold, theHOIsUsed, theMomConstrMethod, theMomEBDepth, theMomEEDepth, theMomHBDepth, theMomHEDepth, theRecoveredEcalHitsAreUsed, theTowerConstituentsMap, and theTowerGeometry.
Referenced by finish().
unsigned int CaloTowersCreationAlgo::ecalChanStatusForCaloTower | ( | const CaloRecHit * | hit | ) |
Definition at line 1472 of file CaloTowersCreationAlgo.cc.
References BadChan, GoodChan, IgnoredChan, EcalSeverityLevelAlgo::kGood, EcalSeverityLevelAlgo::kRecovered, ProblematicChan, RecoveredChan, EcalSeverityLevelAlgo::severityLevel(), theEcalAcceptSeverityLevel, theEcalAcceptSeverityLevelForRejectedHit, theEcalSevLvlAlgo, theRecoveredEcalHitsAreUsed, useRejectedHitsOnly, and useRejectedRecoveredEcalHits.
Referenced by assignHit().
GlobalPoint CaloTowersCreationAlgo::emCrystalShwrPos | ( | DetId | detId, |
float | fracDepth | ||
) |
Definition at line 1127 of file CaloTowersCreationAlgo.cc.
References 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 1314 of file CaloTowersCreationAlgo.cc.
References DetId::Ecal, emCrystalShwrPos(), funct::log(), L1TEmulatorMonitor_cff::p, CommonMethods::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 1284 of file CaloTowersCreationAlgo.cc.
References DetId::Ecal, emCrystalShwrPos(), L1TEmulatorMonitor_cff::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 CaloTowersCreator::produce().
|
private |
helper method to look up the appropriate threshold & weight
Definition at line 988 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 1145 of file CaloTowersCreationAlgo.cc.
References 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 1262 of file CaloTowersCreationAlgo.cc.
References 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 1164 of file CaloTowersCreationAlgo.cc.
References hadSegmentShwrPos(), DetId::Hcal, HcalOuter, L1TEmulatorMonitor_cff::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 1197 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 1411 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 1373 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 CaloTowersCreator::produce().
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().
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().
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().
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().
|
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, dtT0WireCalibration_cfg::threshold, CaloTowerConstituentsMap::towerOf(), and CommonMethods::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, dtT0WireCalibration_cfg::threshold, and CommonMethods::weight().
Referenced by CaloTowersReCreator::produce().
void CaloTowersCreationAlgo::setEBEScale | ( | double | scale | ) |
Definition at line 1086 of file CaloTowersCreationAlgo.cc.
References 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 152 of file CaloTowersCreationAlgo.h.
References testEve_cfg::level, and theEcalAcceptSeverityLevel.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 172 of file CaloTowersCreationAlgo.h.
References testEve_cfg::level, and theEcalAcceptSeverityLevelForRejectedHit.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 110 of file CaloTowersCreationAlgo.h.
References asciidump::s, and theEcalChStatus.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 162 of file CaloTowersCreationAlgo.h.
References a, and theEcalSevLvlAlgo.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setEEEScale | ( | double | scale | ) |
Definition at line 1091 of file CaloTowersCreationAlgo.cc.
References 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 1096 of file CaloTowersCreationAlgo.cc.
References theHBEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 151 of file CaloTowersCreationAlgo.h.
References testEve_cfg::level, and theHcalAcceptSeverityLevel.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 171 of file CaloTowersCreationAlgo.h.
References testEve_cfg::level, and theHcalAcceptSeverityLevelForRejectedHit.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 109 of file CaloTowersCreationAlgo.h.
References asciidump::s, and theHcalChStatus.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 159 of file CaloTowersCreationAlgo.h.
References trackerHits::c, and theHcalSevLvlComputer.
Referenced by CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHEDEScale | ( | double | scale | ) |
Definition at line 1106 of file CaloTowersCreationAlgo.cc.
References theHEDEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHESEScale | ( | double | scale | ) |
Definition at line 1101 of file CaloTowersCreationAlgo.cc.
References theHESEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHF1EScale | ( | double | scale | ) |
Definition at line 1116 of file CaloTowersCreationAlgo.cc.
References theHF1EScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHF2EScale | ( | double | scale | ) |
Definition at line 1121 of file CaloTowersCreationAlgo.cc.
References theHF2EScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
void CaloTowersCreationAlgo::setHOEScale | ( | double | scale | ) |
Definition at line 1111 of file CaloTowersCreationAlgo.cc.
References theHOEScale.
Referenced by CaloTowersReCreator::produce(), and CaloTowersCreator::produce().
|
inline |
Definition at line 156 of file CaloTowersCreationAlgo.h.
References theRecoveredEcalHitsAreUsed.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 155 of file CaloTowersCreationAlgo.h.
References theRecoveredHcalHitsAreUsed.
Referenced by CaloTowersCreator::produce().
|
inline |
Definition at line 169 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 322 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 332 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 284 of file CaloTowersCreationAlgo.h.
Referenced by convert(), ecalChanStatusForCaloTower(), and setEcalAcceptSeverityLevel().
|
private |
Definition at line 293 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and setEcalAcceptSeverityLevelForRejectedHit().
|
private |
Definition at line 270 of file CaloTowersCreationAlgo.h.
Referenced by setEcalChStatusFromDB().
|
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 333 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 299 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 303 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 304 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 305 of file CaloTowersCreationAlgo.h.
Referenced by convert().
|
private |
Definition at line 287 of file CaloTowersCreationAlgo.h.
Referenced by convert(), 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 317 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 295 of file CaloTowersCreationAlgo.h.
Referenced by ecalChanStatusForCaloTower(), and setUseRejectedRecoveredEcalHits().
|
private |
Definition at line 294 of file CaloTowersCreationAlgo.h.
Referenced by hcalChanStatusForCaloTower(), and setUseRejectedRecoveredHcalHits().