1 #ifndef __HBHE_ISOLATED_NOISE_ALGOS_H__
2 #define __HBHE_ISOLATED_NOISE_ALGOS_H__
76 double MinValidTrackPt,
double MinValidTrackPtBarrel,
int MinValidTrackNHits) :
169 return (lhs.
id < rhs.
id);
178 const edm::Handle<std::vector<reco::TrackExtrapolation> >& trackextrapcoll_h,
192 void findNeighbors(
int ieta,
int iphi, std::set<const PhysicsTower*>& neighbors)
const;
245 int nHits(
void)
const;
272 void byTowers(std::vector<twrinfo>&
v)
const;
291 std::map<const HBHERecHit*, const PhysicsTower*>
hits_;
void getHPDNeighbors(const HBHERecHit *hit, std::vector< const HBHERecHit * > &neighbors, const PhysicsTowerOrganizer &pto)
double hcalEnergySameTowers(void) const
std::set< const HBHERecHit * > hcalhits
void tracksNeighborTowers(std::set< const reco::Track * > &v) const
double ecalEnergySameTowers_
int nHcalHitsSameTowers(void) const
double MinValidTrackPtBarrel_
std::map< const HBHERecHit *, const PhysicsTower * >::const_iterator hitmap_const_iterator
std::vector< HBHEHitMap > dihits_
hitmap_const_iterator findHit(const HBHERecHit *hit) const
tuple HcalAcceptSeverityLevel
void setHcalChannelQuality(const HcalChannelQuality *q)
void getHPDs(std::vector< HBHEHitMap > &v, double energy) const
neighbor_const_iterator findNeighbor(const PhysicsTower *twr) const
virtual ~ObjectValidatorAbs()
virtual bool validTrack(const reco::Track &) const =0
int nEcalHitsNeighborTowers(void) const
virtual ~HBHEHitMapOrganizer()
bool validTrack(const reco::Track &) const
neighbor_const_iterator beginNeighbors(void) const
double hcalEnergyNeighborTowers_
void getRBXs(std::vector< HBHEHitMap > &v, double energy) const
ObjectValidator(const edm::ParameterSet &)
void ecalHitsNeighborTowers(std::set< const EcalRecHit * > &v) const
hitmap_const_iterator endHits(void) const
std::map< const HBHERecHit *, const PhysicsTower * > hits_
void getMonoHits(std::vector< HBHEHitMap > &v, double energy) const
void ecalHitsSameTowers(std::set< const EcalRecHit * > &v) const
void setHcalSeverityLevelComputer(const HcalSeverityLevelComputer *q)
double trackEnergyNeighborTowers_
PhysicsTowerOrganizer(const edm::Event &iEvent, const edm::EventSetup &evSetup, const edm::Handle< HBHERecHitCollection > &hbhehitcoll_h, const edm::Handle< EcalRecHitCollection > &ebhitcoll_h, const edm::Handle< EcalRecHitCollection > &eehitcoll_h, const edm::Handle< std::vector< reco::TrackExtrapolation > > &trackextrapcoll_h, const ObjectValidatorAbs &objectvalidator, const CaloTowerConstituentsMap &ctcm)
void calcTracksSameTowers_(void) const
double trackEnergySameTowers_
uint32_t HcalAcceptSeverityLevel_
double ecalEnergyNeighborTowers(void) const
std::set< const PhysicsTower * > neighbors_
void insert(const HBHERecHit *hit, const PhysicsTower *twr, std::set< const PhysicsTower * > &neighbors)
const PhysicsTower * findTower(const CaloTowerDetId &id) const
void tracksSameTowers(std::set< const reco::Track * > &v) const
tuple UseHcalRecoveredHits
int nHcalHitsNeighborTowers(void) const
void calcHcalSameTowers_(void) const
std::map< int, HBHEHitMap > rbxs_
bool UseHcalRecoveredHits_
int nEcalHitsNeighborTowers_
const EcalChannelStatus * theEcalChStatus_
const EcalRecHitCollection * theEERecHitCollection_
double hcalEnergyNeighborTowers(void) const
double trackEnergySameTowers(void) const
virtual ~PhysicsTowerOrganizer()
void insert_(CaloTowerDetId &id, const HBHERecHit *hit)
virtual ~ObjectValidator()
double hcalEnergySameTowers_
int nHcalHitsNeighborTowers_
const EcalRecHitCollection * theEBRecHitCollection_
ObjectValidator(double HBThreshold, double HESThreshold, double HEDThreshold, double EBThreshold, double EEThreshold, uint32_t HcalAcceptSeverityLevel, uint32_t EcalAcceptSeverityLevel, bool UseHcalRecoveredHits, bool UseEcalRecoveredHits, double MinValidTrackPt, double MinValidTrackPtBarrel, int MinValidTrackNHits)
std::set< const PhysicsTower * >::const_iterator neighbor_const_iterator
std::map< int, HBHEHitMap > hpds_
void setEcalSeverityLevelAlgo(const EcalSeverityLevelAlgo *q)
std::set< PhysicsTower, towercmp > towers_
void setEcalChannelStatus(const EcalChannelStatus *q)
double hitEnergy(void) const
void calcEcalSameTowers_(void) const
virtual bool validHit(const HBHERecHit &) const =0
double ecalEnergyNeighborTowers_
void setEERecHitCollection(const EcalRecHitCollection *q)
void calcTracksNeighborTowers_(void) const
void calcHcalNeighborTowers_(void) const
HBHEHitMapOrganizer(const edm::Handle< HBHERecHitCollection > &hbhehitcoll_h, const ObjectValidatorAbs &objvalidator, const PhysicsTowerOrganizer &pto)
const EcalSeverityLevelAlgo * theEcalSevLvlAlgo_
std::set< const EcalRecHit * > ecalhits
uint32_t EcalAcceptSeverityLevel_
double trackEnergyNeighborTowers(void) const
bool operator()(const PhysicsTower &lhs, const PhysicsTower &rhs) const
double hitEnergyTrackFiducial(void) const
void calcHits_(void) const
std::set< const reco::Track * > tracks
void calcEcalNeighborTowers_(void) const
std::vector< HBHEHitMap > monohits_
int nTracksSameTowers(void) const
void getDiHits(std::vector< HBHEHitMap > &v, double energy) const
int nTracksNeighborTowers_
double ecalEnergySameTowers(void) const
const HcalChannelQuality * theHcalChStatus_
int nEcalHitsSameTowers(void) const
int nTracksNeighborTowers(void) const
void hcalHitsSameTowers(std::set< const HBHERecHit * > &v) const
bool validHit(const HBHERecHit &) const
void setEBRecHitCollection(const EcalRecHitCollection *q)
const HcalSeverityLevelComputer * theHcalSevLvlComputer_
void byTowers(std::vector< twrinfo > &v) const
neighbor_const_iterator endNeighbors(void) const
void findNeighbors(const CaloTowerDetId &id, std::set< const PhysicsTower * > &neighbors) const
hitmap_const_iterator beginHits(void) const
bool UseEcalRecoveredHits_
void hcalHitsNeighborTowers(std::set< const HBHERecHit * > &v) const
tuple UseEcalRecoveredHits