Go to the documentation of this file. 1 #ifndef RECOLOCALCALO_CALOTOWERSCREATOR_CALOTOWERSCREATIONALGO_H
2 #define RECOLOCALCALO_CALOTOWERSCREATOR_CALOTOWERSCREATIONALGO_H 1
59 bool useSymEBTreshold,
60 bool useSymEETreshold,
71 double HOthresholdPlus1,
72 double HOthresholdMinus1,
73 double HOthresholdPlus2,
74 double HOthresholdMinus2,
100 bool useEtEBTreshold,
101 bool useEtEETreshold,
102 bool useSymEBTreshold,
103 bool useSymEETreshold,
110 double HESthreshold1,
112 double HEDthreshold1,
114 double HOthresholdPlus1,
115 double HOthresholdMinus1,
116 double HOthresholdPlus2,
117 double HOthresholdMinus2,
120 const std::vector<double>&
EBGrid,
122 const std::vector<double>&
EEGrid,
124 const std::vector<double>&
HBGrid,
126 const std::vector<double>&
HESGrid,
128 const std::vector<double>&
HEDGrid,
130 const std::vector<double>&
HOGrid,
132 const std::vector<double>&
HF1Grid,
134 const std::vector<double>&
HF2Grid,
GlobalPoint emShwrLogWeightPos(const std::vector< std::pair< DetId, float >> &metaContains, float fracDepth, double totEmE)
bool theUseEtEBTresholdFlag
void setEcalChStatusFromDB(const EcalChannelStatus *s)
std::map< CaloTowerDetId, std::pair< short int, bool > > HcalDropChMap
void setHF1EScale(double scale)
GlobalPoint emCrystalShwrPos(DetId detId, float fracDepth)
std::vector< int > theEcalSeveritiesToBeUsedInBadTowers
void assignHitHcal(const CaloRecHit *recHit)
void setRecoveredHcalHitsAreUsed(bool flag)
const HcalTopology * theHcalTopology
unsigned int useRejectedRecoveredEcalHits
std::vector< HcalDetId > ids_
std::vector< double > theEBGrid
void setGeometry(const CaloTowerTopology *cttopo, const CaloTowerConstituentsMap *ctmap, const HcalTopology *htopo, const CaloGeometry *geo)
void finish(CaloTowerCollection &destCollection)
void setHOEScale(double scale)
const CaloGeometry * theGeometry
void setEcalSevLvlAlgo(const EcalSeverityLevelAlgo *a)
void rescale(const CaloTower *ct)
unsigned int hcalChanStatusForCaloTower(const CaloRecHit *hit)
std::vector< double > theHF2Grid
void convert(const CaloTowerDetId &id, const MetaTower &mt, CaloTowerCollection &collection)
void setHF2EScale(double scale)
float missingHcalRescaleFactorForEcal
std::vector< double > theEEWeights
unsigned int theHcalAcceptSeverityLevelForRejectedHit
std::vector< double > theHOGrid
void setUseRejectedRecoveredEcalHits(bool flag)
const EcalChannelStatus * theEcalChStatus
const CaloTowerConstituentsMap * theTowerConstituentsMap
GlobalPoint hadSegmentShwrPos(DetId detId, float fracDepth)
std::vector< MetaTower > MetaTowerMap
edm::Handle< EcalRecHitCollection > theEeHandle
MetaTower & find(const CaloTowerDetId &id)
looks for a given tower in the internal cache. If it can't find it, it makes it.
void setHBEScale(double scale)
std::vector< double > theHEDWeights
bool theHOIsUsed
only affects energy and ET calculation. HO is still recorded in the tower
int compactTime(float time)
std::vector< double > theHBGrid
unsigned int theTowerMapSize
GlobalPoint hadShwrPos(const std::vector< std::pair< DetId, float >> &metaContains, float fracDepth, double hadE)
void setEeHandle(const edm::Handle< EcalRecHitCollection > ee)
void assignHitEcal(const EcalRecHit *recHit)
adds a single hit to the tower
double theHOthresholdPlus1
const HcalChannelQuality * theHcalChStatus
void SetEcalSeveritiesToBeUsedInBadTowers(const std::vector< int > &ecalSev)
GlobalPoint emShwrPos(const std::vector< std::pair< DetId, float >> &metaContains, float fracDepth, double totEmE)
void setEcalSeveritiesToBeExcluded(const std::vector< int > &ecalSev)
void setHcalChStatusFromDB(const HcalChannelQuality *s)
std::vector< double > theHESWeights
void setHEDEScale(double scale)
void setHcalSevLvlComputer(const HcalSeverityLevelComputer *c)
std::vector< double > theHEDGrid
void setRecoveredEcalHitsAreUsed(bool flag)
void setEEEScale(double scale)
std::vector< double > theEEGrid
void setHcalAcceptSeverityLevel(unsigned int level)
std::vector< double > theEBWeights
std::vector< double > theHF1Weights
unsigned int theHcalAcceptSeverityLevel
void process(const HBHERecHitCollection &hbhe)
void setHcalAcceptSeverityLevelForRejectedHit(unsigned int level)
unsigned int useRejectedRecoveredHcalHits
GlobalPoint hadShwPosFromCells(DetId frontCell, DetId backCell, float fracDepth)
void rescaleTowers(const CaloTowerCollection &ctInput, CaloTowerCollection &ctResult)
void setMissingHcalRescaleFactorForEcal(float factor)
edm::Handle< EcalRecHitCollection > theEbHandle
void setEbHandle(const edm::Handle< EcalRecHitCollection > eb)
const CaloSubdetectorGeometry * theTowerGeometry
std::vector< double > theHF2Weights
const HcalSeverityLevelComputer * theHcalSevLvlComputer
double theHOthresholdMinus2
double theHOthresholdMinus1
void getThresholdAndWeight(const DetId &detId, double &threshold, double &weight) const
helper method to look up the appropriate threshold & weight
double theHOthresholdPlus2
std::vector< int > theEcalSeveritiesToBeExcluded
HcalDropChMap hcalDropChMap
std::vector< unsigned short > ecalBadChs
void setEBEScale(double scale)
std::vector< double > theHESGrid
const EcalSeverityLevelAlgo * theEcalSevLvlAlgo
void setUseRejectedHitsOnly(bool flag)
std::vector< double > theHF1Grid
std::vector< double > theHBWeights
void setHESEScale(double scale)
bool theUseEtEETresholdFlag
const CaloTowerTopology * theTowerTopology
bool theUseSymEBTresholdFlag
void setUseRejectedRecoveredHcalHits(bool flag)
std::vector< double > theHOWeights
bool theUseSymEETresholdFlag
std::tuple< unsigned int, bool > ecalChanStatusForCaloTower(const EcalRecHit *hit)
bool theRecoveredHcalHitsAreUsed
bool theRecoveredEcalHitsAreUsed