Classes | |
struct | caloSimInfo |
struct | energyMap |
struct | EtaPhi |
struct | genSimInfo |
struct | propagatedGenParticleID |
struct | propagatedGenTrackID |
struct | propagatedTrack |
struct | propagatedTrackDirection |
struct | propagatedTrackID |
struct | simTkInfo |
struct | trackAtOrigin |
struct | trackSelectionParameters |
Functions | |
template<typename T > | |
energyMap | caloSimInfoMatrix (const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, std::vector< typename T::const_iterator > hit, edm::SimTrackContainer::const_iterator trkInfo, double timeCut=150, bool includeHO=false, bool debug=false) |
void | cGenSimInfo (std::vector< DetId > &vdets, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, bool ifECAL, spr::genSimInfo &info, bool debug=false) |
void | cGenSimInfo (std::vector< DetId > &vdets, reco::GenParticleCollection::const_iterator trkItr, std::vector< spr::propagatedGenParticleID > &trackIds, bool ifECAL, spr::genSimInfo &info, bool debug=false) |
void | cGenSimInfo (int charge, int pdgid, double p, spr::genSimInfo &info, bool debug=false) |
double | chargeIsolation (const edm::Event &iEvent, const edm::EventSetup &iSetup, CaloNavigator< DetId > &theNavigator, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, const CaloSubdetectorGeometry *gEB, const CaloSubdetectorGeometry *gEE, TrackDetectorAssociator &associator, TrackAssociatorParameters ¶meters_, int ieta, int iphi, std::string theTrackQuality, bool debug) |
double | chargeIsolation (const edm::Event &iEvent, const edm::EventSetup &iSetup, CaloNavigator< DetId > &navigator, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, const CaloSubdetectorGeometry *gEB, const CaloSubdetectorGeometry *gEE, TrackDetectorAssociator &associator, TrackAssociatorParameters ¶meters_, int ieta, int iphi, std::string &theTrackQuality, bool debug=false) |
bool | chargeIsolation (const DetId anyCell, CaloNavigator< DetId > &navigator, int deta, int dphi) |
bool | chargeIsolation (const DetId anyCell, std::vector< DetId > &vdets) |
double | chargeIsolationCone (unsigned int trkIndex, std::vector< spr::propagatedTrackDirection > &trkDirs, double dR, int &nNearTRKs, bool debug=false) |
double | chargeIsolationEcal (const edm::Event &iEvent, const edm::EventSetup &iSetup, const DetId &coreDet, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, const CaloGeometry *geo, const CaloTopology *caloTopology, TrackDetectorAssociator &associator, TrackAssociatorParameters ¶meters_, int ieta, int iphi, std::string &theTrackQuality, bool debug=false) |
double | chargeIsolationEcal (unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, bool debug=false) |
double | chargeIsolationEcal (const DetId &coreDet, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, const CaloGeometry *geo, const CaloTopology *caloTopology, const MagneticField *bField, int ieta, int iphi, std::string &theTrackQuality, bool debug=false) |
double | chargeIsolationHcal (const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, const DetId ClosestCell, const HcalTopology *topology, const CaloSubdetectorGeometry *gHB, TrackDetectorAssociator &associator, TrackAssociatorParameters ¶meters_, int ieta, int iphi, std::string &theTrackQuality, bool debug=false) |
double | chargeIsolationHcal (unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const HcalTopology *topology, int ieta, int iphi, bool debug=false) |
double | chargeIsolationHcal (reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, const DetId ClosestCell, const HcalTopology *topology, const CaloSubdetectorGeometry *gHB, const MagneticField *bField, int ieta, int iphi, std::string &theTrackQuality, bool debug=false) |
double | coneChargeIsolation (const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, TrackDetectorAssociator &associator, TrackAssociatorParameters ¶meters_, std::string theTrackQuality, int &nNearTRKs, int &nLayers_maxNearP, int &trkQual_maxNearP, double &maxNearP_goodTrk, const GlobalPoint &hpoint1, const GlobalVector &trackMom, double dR) |
int | coneChargeIsolation (const GlobalPoint &hpoint1, const GlobalPoint &point2, const GlobalVector &trackMom, double dR) |
void | debugEcalDets (unsigned int, const DetId &, bool) |
void | debugEcalDets (unsigned int, std::vector< DetId > &) |
void | debugEcalDets (unsigned int, std::vector< DetId > &, std::vector< CaloDirection > &) |
void | debugHcalDets (unsigned int, std::vector< DetId > &) |
template<typename T > | |
void | eCaloSimInfo (std::vector< DetId > vdets, const CaloGeometry *geo, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, edm::SimTrackContainer::const_iterator trkInfo, caloSimInfo &info, double timeCut=150, bool debug=false) |
template<typename T > | |
void | eCaloSimInfo (const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, std::vector< typename T::const_iterator > hit, edm::SimTrackContainer::const_iterator trkInfo, caloSimInfo &info, double timeCut=150, bool includeHO=false, bool debug=false) |
std::map< std::string, double > | eCaloSimInfo (caloSimInfo &info) |
template<typename T > | |
double | eCaloSimInfo (const edm::Event &, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, double timeCut=150, bool includeHO=false, bool debug=false) |
template<typename T > | |
double | eCaloSimInfo (const edm::Event &, const CaloGeometry *geo, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, double timeCut=150, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eCaloSimInfo (edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, std::vector< typename T::const_iterator > hit, edm::SimTrackContainer::const_iterator trkInfo, std::vector< int > &multiplicityVector, bool debug=false) |
template<typename T > | |
double | eCone_ecal (const CaloGeometry *geo, edm::Handle< T > &barrelhits, edm::Handle< T > &endcaphits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | eCone_hcal (const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, int detOnly=-1, bool debug=false) |
template<typename T > | |
double | eCone_hcal (const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, std::vector< DetId > &coneRecHitDetIds, double &distFromHotCell, int &ietaHotCell, int &iphiHotCell, GlobalPoint &gposHotCell, int detOnly=-1, bool debug=false) |
template<typename T > | |
double | eCone_hcal (const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, std::vector< DetId > &coneRecHitDetIds, std::vector< double > &eHit, bool debug=false) |
template<typename T > | |
double | eCone_hcal (const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, std::vector< DetId > &coneRecHitDetIds, double &distFromHotCell, int &ietaHotCell, int &iphiHotCell, GlobalPoint &gposHotCell, int detOnly=-1, bool debug=false) |
template<typename T > | |
double | eECALmatrix (CaloNavigator< DetId > &navigator, edm::Handle< T > &hits, int ieta, int iphi, bool debug=false) |
template<typename T > | |
double | eECALmatrix (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | eECALmatrix (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, const EcalTrigTowerConstituentsMap &ttMap, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | eECALmatrix (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ietaE, int ietaW, int iphiN, int iphiS, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
std::pair< double, bool > | eECALmatrix (const DetId &detId, edm::Handle< EcalRecHitCollection > &hitsEB, edm::Handle< EcalRecHitCollection > &hitsEE, const EcalChannelStatus &chStatus, const CaloGeometry *geo, const CaloTopology *caloTopology, const EcalSeverityLevelAlgo *sevlv, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
std::pair< double, bool > | eECALmatrix (const DetId &detId, edm::Handle< EcalRecHitCollection > &hitsEB, edm::Handle< EcalRecHitCollection > &hitsEE, const EcalChannelStatus &chStatus, const CaloGeometry *geo, const CaloTopology *caloTopology, const EcalSeverityLevelAlgo *sevlv, const EcalTrigTowerConstituentsMap &ttMap, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
std::vector< std::pair< DetId, double > > | eECALmatrixCell (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, bool debug=false) |
template<typename T > | |
std::pair< double, int > | eECALmatrixTotal (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eECALSimInfo (const edm::Event &, CaloNavigator< DetId > &navigator, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, double timeCut=150, bool debug=false) |
template<typename T > | |
void | eECALSimInfo (const edm::Event &, const DetId &det, const CaloGeometry *geo, const CaloTopology *caloTopology, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, caloSimInfo &info, double timeCut=150, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eECALSimInfo (const edm::Event &, const DetId &det, const CaloGeometry *geo, const CaloTopology *caloTopology, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, double timeCut=150, bool debug=false) |
template<typename T > | |
void | eECALSimInfo (const edm::Event &, const DetId &det, const CaloGeometry *geo, const CaloTopology *caloTopology, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ietaE, int ietaW, int iphiN, int iphiS, caloSimInfo &info, double timeCut=150, bool debug=false) |
template<typename T > | |
energyMap | eECALSimInfoMatrix (const edm::Event &, const DetId &det, const CaloGeometry *geo, const CaloTopology *caloTopology, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, double timeCut=150, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eECALSimInfoTotal (const edm::Event &, const DetId &det, const CaloGeometry *geo, const CaloTopology *caloTopology, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, int itry=-1, double timeCut=150, bool debug=false) |
void | eGenSimInfo (const DetId &coreDet, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, spr::genSimInfo &info, bool debug=false) |
void | eGenSimInfo (const DetId &coreDet, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, const CaloGeometry *geo, const CaloTopology *caloTopology, double dR, const GlobalVector &trackMom, spr::genSimInfo &info, bool debug=false) |
void | eGenSimInfo (const DetId &coreDet, reco::GenParticleCollection::const_iterator trkItr, std::vector< spr::propagatedGenParticleID > &trackIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, spr::genSimInfo &info, bool debug=false) |
void | eGenSimInfo (const DetId &coreDet, reco::GenParticleCollection::const_iterator trkItr, std::vector< spr::propagatedGenParticleID > &trackIds, const CaloGeometry *geo, const CaloTopology *caloTopology, double dR, const GlobalVector &trackMom, spr::genSimInfo &info, bool debug=false) |
template<typename T > | |
double | eHCALmatrix (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, bool algoNew=true, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | eHCALmatrix (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ietaE, int ietaW, int iphiN, int iphiS, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | eHCALmatrix (const CaloGeometry *geo, const HcalTopology *topology, const DetId &det0, edm::Handle< T > &hits, int ieta, int iphi, int &nRecHits, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, GlobalPoint &gPosHotCell) |
template<typename T > | |
double | eHCALmatrix (const HcalTopology *topology, const DetId &det0, edm::Handle< T > &hits, int ieta, int iphi, int &nRecHits, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, std::set< int > &uniqueIdset) |
template<typename T > | |
double | eHCALmatrix (const HcalTopology *topology, const DetId &det0, edm::Handle< T > &hits, int ieta, int iphi, HcalDetId &hotCell, bool includeHO=false, bool debug=false) |
template<typename T > | |
std::vector< std::pair< DetId, double > > | eHCALmatrixCell (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, bool debug=false) |
template<typename T > | |
std::pair< double, int > | eHCALmatrixTotal (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eHCALSimInfo (const edm::Event &, const HcalTopology *topology, const DetId &det, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, double timeCut=150, bool includeHO=false, bool debug=false) |
template<typename T > | |
void | eHCALSimInfo (const edm::Event &, const HcalTopology *topology, const DetId &det, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, caloSimInfo &info, double timeCut=150, bool includeHO=false, bool debug=false) |
template<typename T > | |
void | eHCALSimInfo (const edm::Event &, const HcalTopology *topology, const DetId &det, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ietaE, int ietaW, int iphiN, int iphiS, caloSimInfo &info, double timeCut=150, bool includeHO=false, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eHCALSimInfo (const edm::Event &iEvent, const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, std::vector< int > &multiplicityVector, bool debug=false) |
template<typename T > | |
energyMap | eHCALSimInfoMatrix (const edm::Event &, const HcalTopology *topology, const DetId &det, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, double timeCut=150, bool includeHO=false, bool debug=false) |
template<typename T > | |
std::map< std::string, double > | eHCALSimInfoTotal (const edm::Event &, const HcalTopology *topology, const DetId &det, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, int itry=-1, double timeCut=150, bool includeHO=false, bool debug=false) |
template<typename T > | |
std::vector< std::pair< DetId, double > > | energyDetIdHCAL (std::vector< DetId > &vdets, edm::Handle< T > &hits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, bool debug=false) |
template<typename T > | |
double | energyECAL (std::vector< DetId > &vdets, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | energyECAL (std::vector< DetId > &vdets, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const EcalTrigTowerConstituentsMap &ttMap, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
std::vector< std::pair< DetId, double > > | energyECALCell (std::vector< DetId > &vdets, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, double ebThr=-100, double eeThr=-100, bool debug=false) |
template<typename T > | |
double | energyECALTower (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const EcalTrigTowerConstituentsMap &ttMap, bool debug=false) |
template<typename T > | |
double | energyHCAL (std::vector< DetId > &vNeighboursDetId, std::vector< DetId > &dets, const HcalTopology *topology, edm::Handle< T > &hits, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, bool debug=false) |
template<typename T > | |
double | energyHCAL (std::vector< DetId > &vdets, edm::Handle< T > &hits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
void | energyHCALCell (HcalDetId detId, edm::Handle< T > &hits, std::vector< std::pair< double, int > > &energyCell, int maxDepth=1, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | energyHCALmatrix (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, bool debug=false) |
template<typename T > | |
double | energyHCALmatrixNew (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
double | energyHCALmatrixTotal (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ietaE, int ietaW, int iphiN, int iphiS, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false) |
void | extraIds (const DetId &det, std::vector< DetId > &dets, int ietaE, int ietaW, int iphiN, int iphiS, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom, std::vector< DetId > &cells, bool debug=false) |
void | find (edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false) |
void | find (edm::Handle< HBHERecHitCollection > &hits, DetId thisDet, std::vector< HBHERecHitCollection::const_iterator > &hit, bool debug=false) |
void | find (edm::Handle< edm::PCaloHitContainer > &hits, DetId thisDet, std::vector< edm::PCaloHitContainer::const_iterator > &hit, bool debug=false) |
std::vector < EcalRecHitCollection::const_iterator > | findCone (const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, bool debug) |
std::vector < EcalRecHitCollection::const_iterator > | findCone (const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, bool debug=false) |
std::vector < EcalRecHitCollection::const_iterator > | findCone (const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &barrelhits, edm::Handle< EcalRecHitCollection > &endcaphits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, bool debug=false) |
std::vector < HBHERecHitCollection::const_iterator > | findCone (const CaloGeometry *geo, edm::Handle< HBHERecHitCollection > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, bool debug=false) |
std::vector < edm::PCaloHitContainer::const_iterator > | findCone (const CaloGeometry *geo, edm::Handle< edm::PCaloHitContainer > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, bool debug=false) |
const DetId | findDetIdCalo (const CaloSubdetectorGeometry *geo, double theta, double phi, double radius, bool debug=false) |
const DetId | findDetIdECAL (const CaloGeometry *geo, double eta, double phi, bool debug=false) |
const DetId | findDetIdHCAL (const CaloGeometry *geo, double eta, double phi, bool debug=false) |
template<typename T > | |
std::vector< typename T::const_iterator > | findHit (edm::Handle< T > &hits, DetId thisDet, bool debug=false) |
template<typename T > | |
void | findHit (edm::Handle< T > &hits, DetId thisDet, std::vector< typename T::const_iterator > &hit, bool debug=false) |
template<typename T > | |
std::vector< typename T::const_iterator > | findHitCone (const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, bool debug=false) |
template<typename T > | |
std::vector< typename T::const_iterator > | findHitCone (const CaloGeometry *geo, edm::Handle< T > &barrelhits, edm::Handle< T > &endcaphits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, bool debug=false) |
double | getDistInCMatEcal (double eta1, double phi1, double eta2, double phi2, bool debug=false) |
double | getDistInCMatHcal (double eta1, double phi1, double eta2, double phi2, bool debug=false) |
double | getDistInPlaneTrackDir (const GlobalPoint &caloPoint, const GlobalVector &caloVector, const GlobalPoint &rechitPoint, bool debug=false) |
double | getEnergy (HBHERecHitCollection::const_iterator hit, bool debug=false) |
double | getEnergy (edm::PCaloHitContainer::const_iterator hit, bool debug=false) |
EtaPhi | getEtaPhi (int ieta, int iphi, bool debug=false) |
void | getEtaPhi (HBHERecHitCollection::const_iterator hit, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, bool debug=false) |
void | getEtaPhi (edm::PCaloHitContainer::const_iterator hit, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, bool debug=false) |
void | getEtaPhi (HBHERecHitCollection::const_iterator hit, int &ieta, int &iphi, bool debug=false) |
void | getEtaPhi (edm::PCaloHitContainer::const_iterator hit, int &ieta, int &iphi, bool debug=false) |
GlobalPoint | getGpos (const CaloGeometry *geo, HBHERecHitCollection::const_iterator hit, bool debug=false) |
GlobalPoint | getGpos (const CaloGeometry *geo, edm::PCaloHitContainer::const_iterator hit, bool debug=false) |
HcalDetId | getHotCell (std::vector< HBHERecHitCollection::const_iterator > &hit, bool &includeHO, bool &debug) |
bool | goodTrack (const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false) |
void | hGenSimInfo (const DetId &coreDet, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, const HcalTopology *topology, int ieta, int iphi, spr::genSimInfo &info, bool includeHO=false, bool debug=false) |
void | hGenSimInfo (const DetId &coreDet, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, const CaloGeometry *geo, const HcalTopology *topology, double dR, const GlobalVector &trackMom, spr::genSimInfo &info, bool includeHO=false, bool debug=false) |
void | hGenSimInfo (const DetId &coreDet, reco::GenParticleCollection::const_iterator trkItr, std::vector< spr::propagatedGenParticleID > &trackIds, const HcalTopology *topology, int ieta, int iphi, spr::genSimInfo &info, bool includeHO=false, bool debug=false) |
void | hGenSimInfo (const DetId &coreDet, reco::GenParticleCollection::const_iterator trkItr, std::vector< spr::propagatedGenParticleID > &trackIds, const CaloGeometry *geo, const HcalTopology *topology, double dR, const GlobalVector &trackMom, spr::genSimInfo &info, bool includeHO=false, bool debug=false) |
template<typename T > | |
void | hitECALmatrix (CaloNavigator< DetId > &navigator, edm::Handle< T > &hits, int ieta, int iphi, std::vector< typename T::const_iterator > &hitlist, bool debug=false) |
template<typename T > | |
void | hitHCALmatrix (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, std::vector< typename T::const_iterator > &hitlist, bool includeHO=false, bool debug=false) |
template<typename T > | |
void | hitHCALmatrixTotal (const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ietaE, int ietaW, int iphiN, int iphiS, std::vector< typename T::const_iterator > &hitlist, bool includeHO=false, bool debug=false) |
template<typename T > | |
void | hitsHCAL (std::vector< DetId > &vdets, edm::Handle< T > &hits, std::vector< typename T::const_iterator > &hitlist, bool debug=false) |
template<typename T > | |
DetId | hotCrystal (const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double tMin=-500, double tMax=500, bool debug=false) |
template<typename T > | |
DetId | hotCrystal (std::vector< DetId > &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, double tMin=-500, double tMax=500, bool debug=false) |
edm::SimTrackContainer::const_iterator | matchedSimTrack (const edm::Event &iEvent, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, bool debug=false) |
std::vector< int > | matchedSimTrackId (const edm::Event &, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, bool debug=false) |
simTkInfo | matchedSimTrackInfo (unsigned int simTkId, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, bool debug=false) |
void | matrixECALIds (const DetId &det, int ieta, int iphi, const CaloGeometry *geo, const CaloTopology *caloTopology, std::vector< DetId > &vdets, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | matrixECALIds (const DetId &det, int ieta, int iphi, const CaloGeometry *geo, const CaloTopology *caloTopology, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | matrixECALIds (const DetId &det, double dR, const GlobalVector &trackMom, const CaloGeometry *geo, const CaloTopology *caloTopology, bool debug=false, bool igNoreTransition=true) |
void | matrixECALIds (const DetId &det, int ietaE, int ietaW, int iphiN, int iphiS, const CaloGeometry *geo, const CaloTopology *caloTopology, std::vector< DetId > &vdets, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | matrixECALIds (const DetId &det, int ietaE, int ietaW, int iphiN, int iphiS, const CaloGeometry *geo, const CaloTopology *caloTopology, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | matrixHCALIds (std::vector< DetId > &dets, const HcalTopology *topology, int ieta, int iphi, bool includeHO=false, bool debug=false) |
std::vector< DetId > | matrixHCALIds (const DetId &det, const CaloGeometry *geo, const HcalTopology *topology, double dR, const GlobalVector &trackMom, bool includeHO=false, bool debug=false) |
std::vector< DetId > | matrixHCALIds (std::vector< DetId > &dets, const HcalTopology *topology, int ietaE, int ietaW, int iphiN, int iphiS, bool includeHO=false, bool debug=false) |
std::vector< DetId > | matrixHCALIdsDepth (std::vector< DetId > &dets, const HcalTopology *topology, bool includeHO=false, bool debug=false) |
template<typename T > | |
std::vector< typename T::const_iterator > | missedCaloHits (edm::Handle< T > &hits, std::vector< int > matchedId, std::vector< typename T::const_iterator > caloHits, bool flag, bool includeHO=false, bool debug=false) |
template<typename T > | |
std::vector< typename T::const_iterator > | missedECALHits (const edm::Event &, CaloNavigator< DetId > &navigator, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, bool flag, bool debug=false) |
template<typename T > | |
std::vector< typename T::const_iterator > | missedHCALHits (const edm::Event &, const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, bool flag, bool includeHO=false, bool debug=false) |
std::vector< DetId > | newECALIdEW (std::vector< DetId > &dets, unsigned int last, int ieta, std::vector< CaloDirection > &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | newECALIdEW (std::vector< DetId > &dets, unsigned int last, std::vector< int > &ietaE, std::vector< int > &ietaW, std::vector< CaloDirection > &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | newECALIdNS (std::vector< DetId > &dets, unsigned int last, int ieta, int iphi, std::vector< CaloDirection > &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | newECALIdNS (std::vector< DetId > &dets, unsigned int last, std::vector< int > &ietaE, std::vector< int > &ietaW, std::vector< int > &iphiN, std::vector< int > &iphiS, std::vector< CaloDirection > &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom, bool debug=false, bool igNoreTransition=true) |
std::vector< DetId > | newHCALIdEW (std::vector< DetId > &dets, unsigned int last, const HcalTopology *topology, bool shiftEast, int ieta, bool debug=false) |
std::vector< DetId > | newHCALIdEW (std::vector< DetId > &dets, unsigned int last, const HcalTopology *topology, bool shiftEast, int ietaE, int ietaW, bool debug=false) |
std::vector< DetId > | newHCALIdNS (std::vector< DetId > &dets, unsigned int last, const HcalTopology *topology, bool shiftNorth, int ieta, int iphi, bool debug=false) |
std::vector< DetId > | newHCALIdNS (std::vector< DetId > &dets, unsigned int last, const HcalTopology *topology, bool shiftNorth, int ietaE, int ietaW, int iphiN, int iphiS, bool debug=false) |
edm::SimTrackContainer::const_iterator | parentSimTrack (edm::SimTrackContainer::const_iterator thisTrkItr, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, bool debug=false) |
std::vector < spr::propagatedTrackID > | propagateCALO (edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, std::string &theTrackQuality, bool debug=false) |
void | propagateCALO (edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, std::string &theTrackQuality, std::vector< spr::propagatedTrackID > &vdets, bool debug=false) |
void | propagateCALO (edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, std::string &theTrackQuality, std::vector< spr::propagatedTrackDirection > &trkDir, bool debug=false) |
spr::propagatedTrackID | propagateCALO (const reco::Track *, const CaloGeometry *geo, const MagneticField *bField, bool debug=false) |
std::vector < spr::propagatedGenTrackID > | propagateCALO (const HepMC::GenEvent *genEvent, edm::ESHandle< ParticleDataTable > &pdt, const CaloGeometry *geo, const MagneticField *bField, double etaMax=3.0, bool debug=false) |
std::vector < spr::propagatedGenParticleID > | propagateCALO (edm::Handle< reco::GenParticleCollection > &genParticles, edm::ESHandle< ParticleDataTable > &pdt, const CaloGeometry *geo, const MagneticField *bField, double etaMax=3.0, bool debug=false) |
spr::propagatedTrackDirection | propagateCALO (unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const CaloGeometry *geo, const MagneticField *bField, bool debug=false) |
spr::propagatedTrack | propagateCalo (const GlobalPoint &vertex, const GlobalVector &momentum, int charge, const MagneticField *, float zdist, float radius, float corner, bool debug=false) |
std::vector < spr::propagatedTrackID > | propagateCosmicCALO (edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, std::string &theTrackQuality, bool debug=false) |
std::pair< math::XYZPoint, bool > | propagateECAL (const reco::Track *, const MagneticField *, bool debug=false) |
std::pair< math::XYZPoint, bool > | propagateECAL (const GlobalPoint &vertex, const GlobalVector &momentum, int charge, const MagneticField *, bool debug=false) |
std::pair< math::XYZPoint, bool > | propagateHCAL (const reco::Track *, const MagneticField *, bool debug=false) |
std::pair< math::XYZPoint, bool > | propagateHCAL (const GlobalPoint &vertex, const GlobalVector &momentum, int charge, const MagneticField *, bool debug=false) |
std::pair< math::XYZPoint, bool > | propagateTracker (const reco::Track *, const MagneticField *, bool debug=false) |
std::pair< math::XYZPoint, double > | propagateTrackerEnd (const reco::Track *, const MagneticField *, bool debug=false) |
spr::propagatedTrack | propagateTrackToECAL (const reco::Track *, const MagneticField *, bool debug=false) |
spr::propagatedTrack | propagateTrackToECAL (unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const MagneticField *, bool debug=false) |
spr::propagatedTrack | propagateTrackToHCAL (const reco::Track *, const MagneticField *, bool debug=false) |
spr::propagatedTrack | propagateTrackToHCAL (unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const MagneticField *, bool debug=false) |
void | simpleMove (DetId &det, const CaloDirection &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom, std::vector< DetId > &cells, int &flag, bool debug=false, bool igNoreTransition=true) |
spr::trackAtOrigin | simTrackAtOrigin (unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, bool debug=false) |
double | timeOfFlight (DetId id, const CaloGeometry *geo, bool debug=false) |
bool | validSimTrack (unsigned int simTkId, edm::SimTrackContainer::const_iterator thisTrkItr, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, bool debug=false) |
energyMap spr::caloSimInfoMatrix | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
std::vector< typename T::const_iterator > | hit, | ||
edm::SimTrackContainer::const_iterator | trkInfo, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
void spr::cGenSimInfo | ( | std::vector< DetId > & | vdets, |
HepMC::GenEvent::particle_const_iterator | trkItr, | ||
std::vector< spr::propagatedGenTrackID > & | trackIds, | ||
bool | ifECAL, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 87 of file GenSimInfo.cc.
References spr::genSimInfo::cHadronEne, spr::genSimInfo::cHadronEne_, chargeIsolation(), gather_cfg::cout, spr::genSimInfo::eleEne, citk::for(), i, spr::genSimInfo::isChargedIso, spr::genSimInfo::maxNearP, spr::genSimInfo::muEne, spr::genSimInfo::nHadronEne, AlCaHLTBitMon_ParallelJobs::p, and spr::genSimInfo::photonEne.
Referenced by cGenSimInfo(), eGenSimInfo(), and hGenSimInfo().
void spr::cGenSimInfo | ( | std::vector< DetId > & | vdets, |
reco::GenParticleCollection::const_iterator | trkItr, | ||
std::vector< spr::propagatedGenParticleID > & | trackIds, | ||
bool | ifECAL, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 122 of file GenSimInfo.cc.
References cGenSimInfo(), spr::genSimInfo::cHadronEne, spr::genSimInfo::cHadronEne_, chargeIsolation(), gather_cfg::cout, spr::genSimInfo::eleEne, citk::for(), i, spr::genSimInfo::isChargedIso, spr::genSimInfo::maxNearP, spr::genSimInfo::muEne, spr::genSimInfo::nHadronEne, AlCaHLTBitMon_ParallelJobs::p, and spr::genSimInfo::photonEne.
void spr::cGenSimInfo | ( | int | charge, |
int | pdgid, | ||
double | p, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 158 of file GenSimInfo.cc.
References funct::abs(), spr::genSimInfo::cHadronEne, spr::genSimInfo::cHadronEne_, spr::genSimInfo::eleEne, spr::genSimInfo::isChargedIso, spr::genSimInfo::maxNearP, spr::genSimInfo::muEne, spr::genSimInfo::nHadronEne, AlCaHLTBitMon_ParallelJobs::p, and spr::genSimInfo::photonEne.
double spr::chargeIsolation | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
CaloNavigator< DetId > & | theNavigator, | ||
reco::TrackCollection::const_iterator | trkItr, | ||
edm::Handle< reco::TrackCollection > | trkCollection, | ||
const CaloSubdetectorGeometry * | gEB, | ||
const CaloSubdetectorGeometry * | gEE, | ||
TrackDetectorAssociator & | associator, | ||
TrackAssociatorParameters & | parameters_, | ||
int | ieta, | ||
int | iphi, | ||
std::string | theTrackQuality, | ||
bool | debug | ||
) |
Definition at line 13 of file ChargeIsolationExtra.cc.
References funct::abs(), TrackDetectorAssociator::associate(), chargeIsolation(), gather_cfg::cout, CaloSubdetectorGeometry::getClosestCell(), TrackDetectorAssociator::getFreeTrajectoryState(), TrackDetMatchInfo::isGoodEcal, AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), and TrackDetMatchInfo::trkGlobPosAtEcal.
double spr::chargeIsolation | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
CaloNavigator< DetId > & | navigator, | ||
reco::TrackCollection::const_iterator | trkItr, | ||
edm::Handle< reco::TrackCollection > | trkCollection, | ||
const CaloSubdetectorGeometry * | gEB, | ||
const CaloSubdetectorGeometry * | gEE, | ||
TrackDetectorAssociator & | associator, | ||
TrackAssociatorParameters & | parameters_, | ||
int | ieta, | ||
int | iphi, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
bool spr::chargeIsolation | ( | const DetId | anyCell, |
CaloNavigator< DetId > & | navigator, | ||
int | deta, | ||
int | dphi | ||
) |
Definition at line 53 of file ChargeIsolationExtra.cc.
References CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::offsetBy().
Definition at line 167 of file ChargeIsolation.cc.
References i.
Referenced by cGenSimInfo(), chargeIsolation(), chargeIsolationEcal(), and chargeIsolationHcal().
double spr::chargeIsolationCone | ( | unsigned int | trkIndex, |
std::vector< spr::propagatedTrackDirection > & | trkDirs, | ||
double | dR, | ||
int & | nNearTRKs, | ||
bool | debug = false |
||
) |
Definition at line 235 of file ChargeIsolation.cc.
References coneChargeIsolation(), gather_cfg::cout, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, and reco::TrackBase::p().
Referenced by IsoTrackCalib::analyze(), IsoTrackCalibration::analyze(), IsolatedTracksHcalScale::analyze(), IsoTrig::chgIsolation(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
double spr::chargeIsolationEcal | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const DetId & | coreDet, | ||
reco::TrackCollection::const_iterator | trkItr, | ||
edm::Handle< reco::TrackCollection > | trkCollection, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
TrackDetectorAssociator & | associator, | ||
TrackAssociatorParameters & | parameters_, | ||
int | ieta, | ||
int | iphi, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
Definition at line 78 of file ChargeIsolationExtra.cc.
References funct::abs(), TrackDetectorAssociator::associate(), chargeIsolation(), gather_cfg::cout, DetId::Ecal, EcalBarrel, EcalEndcap, EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), TrackDetectorAssociator::getFreeTrajectoryState(), CaloGeometry::getSubdetectorGeometry(), TrackDetMatchInfo::isGoodEcal, matrixECALIds(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), and TrackDetMatchInfo::trkGlobPosAtEcal.
double spr::chargeIsolationEcal | ( | unsigned int | trkIndex, |
std::vector< spr::propagatedTrackID > & | vdetIds, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
bool | debug = false |
||
) |
Definition at line 13 of file ChargeIsolation.cc.
References chargeIsolation(), gather_cfg::cout, EcalBarrel, matrixECALIds(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), and DetId::subdetId().
Referenced by StudyHLT::analyze(), and IsolatedTracksNxN::analyze().
double spr::chargeIsolationEcal | ( | const DetId & | coreDet, |
reco::TrackCollection::const_iterator | trkItr, | ||
edm::Handle< reco::TrackCollection > | trkCollection, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
const MagneticField * | bField, | ||
int | ieta, | ||
int | iphi, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
Definition at line 43 of file ChargeIsolation.cc.
References funct::abs(), chargeIsolation(), gather_cfg::cout, DetId::Ecal, EcalBarrel, EcalEndcap, EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), info(), matrixECALIds(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), propagateECAL(), reco::TrackBase::quality(), and reco::TrackBase::qualityByName().
double spr::chargeIsolationHcal | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
reco::TrackCollection::const_iterator | trkItr, | ||
edm::Handle< reco::TrackCollection > | trkCollection, | ||
const DetId | ClosestCell, | ||
const HcalTopology * | topology, | ||
const CaloSubdetectorGeometry * | gHB, | ||
TrackDetectorAssociator & | associator, | ||
TrackAssociatorParameters & | parameters_, | ||
int | ieta, | ||
int | iphi, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
Definition at line 124 of file ChargeIsolationExtra.cc.
References TrackDetectorAssociator::associate(), chargeIsolation(), gather_cfg::cout, reco::TrackBase::eta(), CaloSubdetectorGeometry::getClosestCell(), TrackDetectorAssociator::getFreeTrajectoryState(), i, TrackDetMatchInfo::isGoodHcal, matrixHCALIds(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), reco::TrackBase::phi(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), and TrackDetMatchInfo::trkGlobPosAtHcal.
double spr::chargeIsolationHcal | ( | unsigned int | trkIndex, |
std::vector< spr::propagatedTrackID > & | vdetIds, | ||
const HcalTopology * | topology, | ||
int | ieta, | ||
int | iphi, | ||
bool | debug = false |
||
) |
Definition at line 88 of file ChargeIsolation.cc.
References chargeIsolation(), gather_cfg::cout, matrixHCALIds(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, and reco::TrackBase::p().
Referenced by StudyHLT::analyze(), and IsolatedTracksNxN::analyze().
double spr::chargeIsolationHcal | ( | reco::TrackCollection::const_iterator | trkItr, |
edm::Handle< reco::TrackCollection > | trkCollection, | ||
const DetId | ClosestCell, | ||
const HcalTopology * | topology, | ||
const CaloSubdetectorGeometry * | gHB, | ||
const MagneticField * | bField, | ||
int | ieta, | ||
int | iphi, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
Definition at line 116 of file ChargeIsolation.cc.
References chargeIsolation(), gather_cfg::cout, reco::TrackBase::eta(), CaloSubdetectorGeometry::getClosestCell(), i, info(), matrixHCALIds(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), reco::TrackBase::phi(), propagateHCAL(), reco::TrackBase::quality(), and reco::TrackBase::qualityByName().
double spr::coneChargeIsolation | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
reco::TrackCollection::const_iterator | trkItr, | ||
edm::Handle< reco::TrackCollection > | trkCollection, | ||
TrackDetectorAssociator & | associator, | ||
TrackAssociatorParameters & | parameters_, | ||
std::string | theTrackQuality, | ||
int & | nNearTRKs, | ||
int & | nLayers_maxNearP, | ||
int & | trkQual_maxNearP, | ||
double & | maxNearP_goodTrk, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalVector & | trackMom, | ||
double | dR | ||
) |
Definition at line 180 of file ChargeIsolation.cc.
References TrackDetectorAssociator::associate(), TrackDetectorAssociator::getFreeTrajectoryState(), reco::TrackBase::hitPattern(), TrackDetMatchInfo::isGoodHcal, AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), reco::HitPattern::trackerLayersWithMeasurement(), and TrackDetMatchInfo::trkGlobPosAtHcal.
Referenced by IsolatedTracksCone::analyze(), and chargeIsolationCone().
int spr::coneChargeIsolation | ( | const GlobalPoint & | hpoint1, |
const GlobalPoint & | point2, | ||
const GlobalVector & | trackMom, | ||
double | dR | ||
) |
Definition at line 257 of file ChargeIsolation.cc.
References getDistInPlaneTrackDir().
void spr::debugEcalDets | ( | unsigned int | i, |
const DetId & | det, | ||
bool | flag | ||
) |
Definition at line 11 of file DebugInfo.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalBarrel, EcalEndcap, and DetId::subdetId().
Referenced by debugEcalDets(), eGenSimInfo(), extraIds(), matrixECALIds(), newECALIdEW(), and newECALIdNS().
void spr::debugEcalDets | ( | unsigned int | last, |
std::vector< DetId > & | vdets | ||
) |
void spr::debugEcalDets | ( | unsigned int | last, |
std::vector< DetId > & | vdets, | ||
std::vector< CaloDirection > & | dirs | ||
) |
void spr::debugHcalDets | ( | unsigned int | last, |
std::vector< DetId > & | vdets | ||
) |
Definition at line 42 of file DebugInfo.cc.
References gather_cfg::cout, TauDecayModes::dec, and i.
Referenced by hGenSimInfo(), matrixHCALIds(), matrixHCALIdsDepth(), newHCALIdEW(), and newHCALIdNS().
void spr::eCaloSimInfo | ( | std::vector< DetId > | vdets, |
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
edm::SimTrackContainer::const_iterator | trkInfo, | ||
caloSimInfo & | info, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
Referenced by IsolatedTracksCone::analyze(), and IsolatedTracksNxN::analyze().
void spr::eCaloSimInfo | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
std::vector< typename T::const_iterator > | hit, | ||
edm::SimTrackContainer::const_iterator | trkInfo, | ||
caloSimInfo & | info, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eCaloSimInfo | ( | caloSimInfo & | info | ) |
double spr::eCaloSimInfo | ( | const edm::Event & | , |
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
double spr::eCaloSimInfo | ( | const edm::Event & | , |
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eCaloSimInfo | ( | edm::Handle< T > & | hits, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
std::vector< typename T::const_iterator > | hit, | ||
edm::SimTrackContainer::const_iterator | trkInfo, | ||
std::vector< int > & | multiplicityVector, | ||
bool | debug = false |
||
) |
double spr::eCone_ecal | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | barrelhits, | ||
edm::Handle< T > & | endcaphits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
int & | nRecHits, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
double spr::eCone_hcal | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
int & | nRecHits, | ||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
int | detOnly = -1 , |
||
bool | debug = false |
||
) |
double spr::eCone_hcal | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
int & | nRecHits, | ||
std::vector< DetId > & | coneRecHitDetIds, | ||
double & | distFromHotCell, | ||
int & | ietaHotCell, | ||
int & | iphiHotCell, | ||
GlobalPoint & | gposHotCell, | ||
int | detOnly = -1 , |
||
bool | debug = false |
||
) |
double spr::eCone_hcal | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
int & | nRecHits, | ||
std::vector< DetId > & | coneRecHitDetIds, | ||
std::vector< double > & | eHit, | ||
bool | debug = false |
||
) |
double spr::eCone_hcal | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
int & | nRecHits, | ||
std::vector< int > & | RH_ieta, | ||
std::vector< int > & | RH_iphi, | ||
std::vector< double > & | RH_ene, | ||
std::vector< DetId > & | coneRecHitDetIds, | ||
double & | distFromHotCell, | ||
int & | ietaHotCell, | ||
int & | iphiHotCell, | ||
GlobalPoint & | gposHotCell, | ||
int | detOnly = -1 , |
||
bool | debug = false |
||
) |
double spr::eECALmatrix | ( | CaloNavigator< DetId > & | navigator, |
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
bool | debug = false |
||
) |
double spr::eECALmatrix | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
double spr::eECALmatrix | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
const EcalTrigTowerConstituentsMap & | ttMap, | ||
int | ieta, | ||
int | iphi, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
double spr::eECALmatrix | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
std::pair< double, bool > spr::eECALmatrix | ( | const DetId & | detId, |
edm::Handle< EcalRecHitCollection > & | hitsEB, | ||
edm::Handle< EcalRecHitCollection > & | hitsEE, | ||
const EcalChannelStatus & | chStatus, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
const EcalSeverityLevelAlgo * | sevlv, | ||
int | ieta, | ||
int | iphi, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
Definition at line 8 of file eECALMatrix.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalBarrel, EcalEndcap, CastorDataFrameFilter_impl::energySum(), findHit(), archive::flag, edm::HandleBase::isValid(), EcalSeverityLevel::kWeird, matrixECALIds(), convertSQLiteXML::ok, edm::Handle< T >::product(), EcalSeverityLevelAlgo::severityLevel(), and groupFilesInBlocks::tt.
std::pair< double, bool > spr::eECALmatrix | ( | const DetId & | detId, |
edm::Handle< EcalRecHitCollection > & | hitsEB, | ||
edm::Handle< EcalRecHitCollection > & | hitsEE, | ||
const EcalChannelStatus & | chStatus, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
const EcalSeverityLevelAlgo * | sevlv, | ||
const EcalTrigTowerConstituentsMap & | ttMap, | ||
int | ieta, | ||
int | iphi, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
Definition at line 64 of file eECALMatrix.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalBarrel, EcalEndcap, energyECALTower(), CastorDataFrameFilter_impl::energySum(), findHit(), archive::flag, edm::HandleBase::isValid(), EcalSeverityLevel::kWeird, matrixECALIds(), convertSQLiteXML::ok, edm::Handle< T >::product(), EcalSeverityLevelAlgo::severityLevel(), and groupFilesInBlocks::tt.
std::vector<std::pair<DetId,double> > spr::eECALmatrixCell | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
bool | debug = false |
||
) |
std::pair<double,int> spr::eECALmatrixTotal | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eECALSimInfo | ( | const edm::Event & | , |
CaloNavigator< DetId > & | navigator, | ||
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
void spr::eECALSimInfo | ( | const edm::Event & | , |
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
caloSimInfo & | info, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
Referenced by IsolatedTracksNxN::analyze().
std::map<std::string,double> spr::eECALSimInfo | ( | const edm::Event & | , |
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
void spr::eECALSimInfo | ( | const edm::Event & | , |
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
caloSimInfo & | info, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
energyMap spr::eECALSimInfoMatrix | ( | const edm::Event & | , |
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eECALSimInfoTotal | ( | const edm::Event & | , |
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
int | itry = -1 , |
||
double | timeCut = 150 , |
||
bool | debug = false |
||
) |
void spr::eGenSimInfo | ( | const DetId & | coreDet, |
HepMC::GenEvent::particle_const_iterator | trkItr, | ||
std::vector< spr::propagatedGenTrackID > & | trackIds, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 11 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugEcalDets(), and matrixECALIds().
Referenced by IsolatedGenParticles::analyze().
void spr::eGenSimInfo | ( | const DetId & | coreDet, |
HepMC::GenEvent::particle_const_iterator | trkItr, | ||
std::vector< spr::propagatedGenTrackID > & | trackIds, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 20 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugEcalDets(), and matrixECALIds().
void spr::eGenSimInfo | ( | const DetId & | coreDet, |
reco::GenParticleCollection::const_iterator | trkItr, | ||
std::vector< spr::propagatedGenParticleID > & | trackIds, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 29 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugEcalDets(), and matrixECALIds().
void spr::eGenSimInfo | ( | const DetId & | coreDet, |
reco::GenParticleCollection::const_iterator | trkItr, | ||
std::vector< spr::propagatedGenParticleID > & | trackIds, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
spr::genSimInfo & | info, | ||
bool | debug = false |
||
) |
Definition at line 38 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugEcalDets(), and matrixECALIds().
double spr::eHCALmatrix | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
bool | includeHO = false , |
||
bool | algoNew = true , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
Referenced by StudyHLT::analyze(), IsolatedTracksCone::analyze(), and IsolatedTracksNxN::analyze().
double spr::eHCALmatrix | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
double spr::eHCALmatrix | ( | const CaloGeometry * | geo, |
const HcalTopology * | topology, | ||
const DetId & | det0, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
int & | nRecHits, | ||
std::vector< int > & | RH_ieta, | ||
std::vector< int > & | RH_iphi, | ||
std::vector< double > & | RH_ene, | ||
GlobalPoint & | gPosHotCell | ||
) |
double spr::eHCALmatrix | ( | const HcalTopology * | topology, |
const DetId & | det0, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
int & | nRecHits, | ||
std::vector< int > & | RH_ieta, | ||
std::vector< int > & | RH_iphi, | ||
std::vector< double > & | RH_ene, | ||
std::set< int > & | uniqueIdset | ||
) |
double spr::eHCALmatrix | ( | const HcalTopology * | topology, |
const DetId & | det0, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
HcalDetId & | hotCell, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::vector< std::pair< DetId,double> > spr::eHCALmatrixCell | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
bool | debug = false |
||
) |
Referenced by IsolatedTracksNxN::analyze().
std::pair<double,int> spr::eHCALmatrixTotal | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eHCALSimInfo | ( | const edm::Event & | , |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Referenced by IsolatedTracksCone::analyze(), and IsolatedTracksNxN::analyze().
void spr::eHCALSimInfo | ( | const edm::Event & | , |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
caloSimInfo & | info, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
void spr::eHCALSimInfo | ( | const edm::Event & | , |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
caloSimInfo & | info, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eHCALSimInfo | ( | const edm::Event & | iEvent, |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
std::vector< int > & | multiplicityVector, | ||
bool | debug = false |
||
) |
energyMap spr::eHCALSimInfoMatrix | ( | const edm::Event & | , |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::map<std::string,double> spr::eHCALSimInfoTotal | ( | const edm::Event & | , |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
const CaloGeometry * | geo, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
int | itry = -1 , |
||
double | timeCut = 150 , |
||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::vector<std::pair<DetId,double> > spr::energyDetIdHCAL | ( | std::vector< DetId > & | vdets, |
edm::Handle< T > & | hits, | ||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
bool | debug = false |
||
) |
double spr::energyECAL | ( | std::vector< DetId > & | vdets, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
Referenced by cms::ProducerAnalyzer::analyze().
double spr::energyECAL | ( | std::vector< DetId > & | vdets, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const EcalTrigTowerConstituentsMap & | ttMap, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
std::vector<std::pair<DetId,double> > spr::energyECALCell | ( | std::vector< DetId > & | vdets, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
double | ebThr = -100 , |
||
double | eeThr = -100 , |
||
bool | debug = false |
||
) |
double spr::energyECALTower | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const EcalTrigTowerConstituentsMap & | ttMap, | ||
bool | debug = false |
||
) |
Referenced by eECALmatrix().
double spr::energyHCAL | ( | std::vector< DetId > & | vNeighboursDetId, |
std::vector< DetId > & | dets, | ||
const HcalTopology * | topology, | ||
edm::Handle< T > & | hits, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
bool | debug = false |
||
) |
double spr::energyHCAL | ( | std::vector< DetId > & | vdets, |
edm::Handle< T > & | hits, | ||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
Referenced by cms::ProducerAnalyzer::analyze().
void spr::energyHCALCell | ( | HcalDetId | detId, |
edm::Handle< T > & | hits, | ||
std::vector< std::pair< double, int > > & | energyCell, | ||
int | maxDepth = 1 , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
double spr::energyHCALmatrix | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
bool | debug = false |
||
) |
double spr::energyHCALmatrixNew | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
double spr::energyHCALmatrixTotal | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
bool | includeHO = false , |
||
double | hbThr = -100 , |
||
double | heThr = -100 , |
||
double | hfThr = -100 , |
||
double | hoThr = -100 , |
||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
void spr::extraIds | ( | const DetId & | det, |
std::vector< DetId > & | dets, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
const EcalBarrelGeometry & | barrelGeom, | ||
const EcalEndcapGeometry & | endcapGeom, | ||
std::vector< DetId > & | cells, | ||
bool | debug = false |
||
) |
Definition at line 686 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), EcalBarrel, EcalEndcap, eta(), phi, CaloSubdetectorGeometry::present(), DetId::subdetId(), EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by matrixECALIds().
void spr::find | ( | edm::Handle< EcalRecHitCollection > & | hits, |
DetId | thisDet, | ||
std::vector< EcalRecHitCollection::const_iterator > & | hit, | ||
bool | debug = false |
||
) |
Definition at line 7 of file FindCaloHit.cc.
Referenced by ParticleDecayDrawer::accept(), ParticleTreeDrawer::accept(), HcalHitFilter::accepts(), DTVDriftCalibration::cellInfo::add(), Measurement::addAffectingEntriesFromOptO(), reco::NamedCompositeCandidate::addDaughter(), reco::CompositeCandidate::addDaughter(), GenParticlePruner::addDaughterRefs(), CRackTrajectoryBuilder::AddHit(), CSCNeutronReader::addHits(), SimpleMetricsUpdator::additionalAlignables(), DummyMetricsUpdator::additionalAlignables(), DummyMetricsUpdator::additionalAlignablesWithDistances(), GenParticlePruner::addMotherRefs(), pat::TriggerEvent::addObjectMatchResult(), SiStripQualityHotStripIdentifier::algoAnalyze(), reco::Conversion::algoByName(), reco::TrackBase::algoByName(), EcalMatacqAnalyzer::analyze(), EcalPnGraphs::analyze(), EcalDumpRaw::analyze(), DTT0Calibration::analyze(), SiStripApvGainBuilderFromTag::analyze(), DTT0CalibrationNew::analyze(), DTNoiseCalibration::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), HcalQIEDataCheck::analyze(), ParticleListDrawer::analyze(), HcalAutoPedestalValidator::analyze(), HcalPedestalsCheck::analyze(), HcalPedestalWidthsCheck::analyze(), HLTBTagPerformanceAnalyzer::analyze(), HLTAlCaMonPi0::analyze(), EcalLaserAnalyzer2::analyze(), edmtest::HcalDumpConditions::analyze(), EcalLaserAnalyzer::analyze(), DQMSourcePi0::analyze(), HcalGainsCheck::analyze(), TestPythiaDecays::analyze(), HeavyFlavorValidation::analyze(), L1TGT::analyze(), TestTrackHits::analyze(), EcalURecHitHists::analyze(), CastorDumpConditions::analyze(), TestOutliers::analyze(), HLTAlCa::analyze(), HLTMuonPlotter::analyze(), IsoTrig::analyze(), DTDigiTask::analyze(), EcalCosmicsHists::analyze(), IsoTrackCalib::analyze(), IsoTrackCalibration::analyze(), PrimaryVertexAnalyzer4PUSlimmed::analyze(), any(), CaloTowersCreationAlgo::assignHitEcal(), MuonTruth::associateCSCHitId(), MuonTruth::associateHitId(), TrackerHitAssociator::associateMatchedRecHit(), TrackerHitAssociator::associatePixelRecHit(), RPCHitAssociator::associateRecHit(), TrackerHitAssociator::associateSimpleRecHitCluster(), AlignmentParameterStore::attachCorrelations(), ClusterProducerFP420::badChannel(), ProfilerService::beginPath(), PileUpProducer::beginRun(), PhysicalPartsTree::beginRun(), DTDCSByLumiTask::beginRun(), HLTJetMETDQMSource::beginRun(), HLTHiggsSubAnalysis::beginRun(), EgHLTOfflineSource::beginRun(), GctFormatTranslateV35::blockToGctInternEmCand(), CalibrationScanTask::book(), CalibrationTask::book(), SiStripFedCabling::buildFedCabling(), SiStripDetVOffBuilder::buildPSUdetIdMap(), PFEGammaAlgo::buildRefinedSuperCluster(), PFECALSuperClusterAlgo::buildSuperCluster(), VirtualJetProducer::JetType::byName(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), PFEGammaAlgo::calculate_ele_mva(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), JetPlusTrackProducerAA::calculateBGtracksJet(), PileUpSubtractor::calculateOrphanInput(), ValidationOptions_cff::calledBycmsRun(), reco::modules::CandCombinerBase::CandCombinerBase(), CastorDbProducer::channelQualityCallback(), HcalDbProducer::channelQualityCallback(), MulticoreRunLumiEventChecker::check(), CSCDCCExaminer::check(), HLTOniaSource::checkHLTConfiguration(), Config::checkImportPermission(), Multi5x5ClusterAlgo::checkMaxima(), GlobalTag.GlobalTag::checkPrefix(), BlockFormatter::CleanUp(), cmsswRelease::cmsswIs44X(), cmsswRelease::cmsswIs52X(), edm::Exception::codeToString(), egammaisolation::EgammaRecHitExtractor::collect(), EgammaTowerIsolationNew< NC >::compute(), PileupJetIdAlgo::computeIdVariables(), HDQMInspectorConfigBase::computeIntegral(), vertexTools::computeSharedTracks(), HLTMonBitSummary::configSelector(), HCALConfigDB::connect(), FastFedCablingHistosUsingDb::connections(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::ConstrainedFitCandProducer(), HiHelperTools::contains(), helpers::contains(), Model::copyMeasurements(), createPayload::copyToWorkflowdir(), SiStripFecCabling::countDevices(), DefaultFFTJetObjectFactory< AbsFFTSpecificScaleCalculator >::create(), cmsHarvester::create_and_check_castor_dir(), edm::SharedResourcesRegistry::createAcquirer(), ESDigitizer::createNoisyList(), LaunchOnCondor::CreateTheCmdFile(), DDfetch(), ParticleDecayDrawer::decay(), gen::Py8InterfaceBase::declareSpecialSettings(), gen::Pythia6Hadronizer::declareSpecialSettings(), Model::deleteOptO(), muonisolation::CaloExtractor::deposit(), SiStripFineDelayHit::detId(), TowerBlockFormatter::DigiToRaw(), SiPixelGainCalibrationAnalysis::doFits(), ThePEG::LesHouchesInterface::doReadEvent(), HLTEcalResonanceFilter::doSelection(), HLTRegionalEcalResonanceFilter::doSelection(), SUSY_HLT_DoubleMuon_Hadronic::dqmBeginRun(), SUSY_HLT_Muon_BJet::dqmBeginRun(), SUSY_HLT_DoubleEle_Hadronic::dqmBeginRun(), SUSY_HLT_Electron_BJet::dqmBeginRun(), SUSY_HLT_alphaT::dqmBeginRun(), SUSY_HLT_DiJet_MET::dqmBeginRun(), SUSY_HLT_MuEle_Hadronic::dqmBeginRun(), SUSY_HLT_Muon_Hadronic::dqmBeginRun(), SusyPostProcessor::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), DTSegtoRPC::DTSegtoRPC(), RPCLinkSynchroStat::dumpDelays(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool::dumpPython(), CaloTowersCreationAlgo::ecalChanStatusForCaloTower(), EcalPreshowerMonitorClient::EcalPreshowerMonitorClient(), EcalListOfFEDSProducer::Egamma(), ESListOfFEDSProducer::Egamma(), CastorDbProducer::electronicsMapCallback(), HcalDbProducer::electronicsMapCallback(), L1ScalersClient::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), GsfVertexTrackCompatibilityEstimator::estimate(), KalmanVertexTrackCompatibilityEstimator< N >::estimate(), L1GtAlgorithmEvaluation::evaluateAlgorithm(), l1t::AlgorithmEvaluation::evaluateAlgorithm(), JetPlusTrackCorrector::excludeJta(), edm::ParameterSet::existsAs(), CompositeAlignmentParameters::extractAlignables(), CompositeAlignmentParameters::extractPositionAndLength(), CompositeAlignmentDerivativesExtractor::extractWithMultipleHits(), SiPixelFedCablingMap::fedIds(), VertexFitterResult::fill(), tnp::ProbeFlag::fill(), JetPartonMatcher::fillAlgoritDefinition(), SiPixelActionExecutor::fillFEDErrorSummary(), PhysicsTools::MVATrainer::fillInputVars(), Py8toJetInput::fillJetAlgoInput(), MuonMesh::fillMesh(), JetPartonMatcher::fillPhysicsDefinition(), MuonAnalyzerSBSM::FillPlots(), edm::Principal::fillPrincipal(), CastorShowerLibraryMaker::FillShowerEvent(), SiPixelActionExecutor::fillSummary(), SiStripCommissioningRunTypeFilter::filter(), LogErrorFilter::filter(), HltComparator::filter(), ErrorSummaryFilter::filter(), HLTEcalResonanceFilter::filter(), HLTRegionalEcalResonanceFilter::filter(), TTUTrackingAlg::filter(), commentSkipper.buildFileCommentSkipper::filterMultilineComment(), commentSkipper.buildFileCommentSkipper::filterOneLineComment(), MuonSeedOrcaPatternRecognition::filterOverlappingChambers(), find(), FourVectorHLT::PathInfoCollection::find(), HLTMonSimpleBTag::PathInfoCollection::find(), edm::Trie< T >::find(), HLTInclusiveVBFSource::PathInfoCollection::find(), HLTJetMETDQMSource::PathInfoCollection::find(), FourVectorHLTOnline::PathInfoCollection::find(), TrigResRateMon::PathInfoCollection::find(), JetMETHLTOfflineSource::PathInfoCollection::find(), edm::find_in_all(), DTCombinatorialExtendedPatternReco::findCompatibleHits(), SiStripPsuDetIdMap::findDcuIdFromDeviceAddress(), Vispa.Main.Application.Application::findEvent(), GenHFHadronMatcher::findHadronJets(), JetCorrectorParametersCollection::findKey(), MSLayersAtAngle::findLayer(), HLTPerformanceInfo::findModule(), HLTPerformanceInfo::findPath(), JetPlusTrackCorrector::findTrack(), EcalTBReadout::findTTlist(), cond::BlobStreamingService::findVariant(), edm::IndexIntoFile::fixIndexes(), HcalDQMChannelQuality::flagAlgo(), cmsHarvester.CMSHarvester::format_conditions_string(), ecaldqm::DependencySet::formSequence(), ecaldqm::DependencySet::formSequenceFragment_(), XtoFFbarFilter::found(), getRunInfo::Func_FillInfoDBS(), getRunInfo::Func_FillInfoRunRegistry(), CastorDbProducer::gainsCallback(), HcalDbProducer::gainsCallback(), CastorDbProducer::gainWidthsCallback(), HcalDbProducer::gainWidthsCallback(), pkg.AbstractPkg::generate(), SubsystemNeutronReader::generateChamberNoise(), pat::PATGenCandsFromSimTracksProducer::generatorRef_(), GenJetParticleSelector::GenJetParticleSelector(), VertexClassifier::genPrimaryVertices(), TrackClassifier::genPrimaryVertices(), harvestRelVal::get_cond_from_dsetpath(), egHLT::trigTools::getActiveFilters(), EcalSelectiveReadoutProducer::getBinOfMax(), ComponentFactoryByName< B >::getBuilder(), PhysicsTools::MVATrainer::getCalibration(), CastorCalibrationsSet::getCalibrations(), HcalCalibrationsSet::getCalibrations(), HcalCalibrationWidthsSet::getCalibrationWidths(), CastorCalibrationWidthsSet::getCalibrationWidths(), generateWrappers::getClasses(), hcalCalib::GetCoefFromMtrxInvOfAve(), HcalLutManager::getCompressionLutXmlFromAsciiMaster(), HcalLutManager::getCompressionLutXmlFromCoder(), L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu(), HLTScalersClient::CountLSFifo_t::getCount(), EgammaHadTower::getDepth1HcalESum(), EgammaHadTower::getDepth2HcalESum(), EcalElectronicsMapping::getDetId(), QuickTrackAssociatorByHits::getDoubleCount(), TrackAssociatorByHits::getDoubleCount(), EcalElectronicsMapping::getElectronicsId(), edm::eventsetup::EventSetupsController::getESProducerPSet(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), pat::PATObject< ObjectType >::getKinResolution(), JetCorrectorParametersCollection::getL5Bin(), JetCorrectorParametersCollection::getL7Bin(), BeamSpotWorkflow::getLastUploadedIOV(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap(), HcalLutManager::getLinearizationLutXmlFromCoder(), HcalLutManager::getLinearizationLutXmlFromCoderEmap(), BeamSpotWorkflow::getListOfRunsAndLumiFromDBS(), HcalLutManager::getLutFromXml_old(), HcalLutManager::getLutXmlFromAsciiMaster(), CastorShowerLibraryMaker::GetMissingEnergy(), LMFCorrCoefDat::getParameters(), HDQMSummary::getPosition(), SiStripSummary::getPosition(), TrackAssociatorByHits::getShared(), PrimaryVertexAnalyzer::getSimPVs(), PrimaryVertexAnalyzer4PU::getSimPVs(), EgammaRecHitIsolation::getSum_(), SiPixelActionExecutor::getSummaryME(), fwlite::MultiChainEvent::getThinnedProducts(), EcalElectronicsMapping::getTriggerElectronicsId(), checkPayloads::getUploadedIOVs(), CastorRawGains::getValues(), HcalRawGains::getValues(), HcalLutManager::getZdcLutXml(), hitfit::Constraint_Intermed_Labels::has_label(), pat::TriggerObjectStandAlone::hasFilterOrCondition(), SiStripHashedDetId::hashedIndex(), pat::PATObject< ObjectType >::hasKinResolution(), pat::PATSingleVertexSelector::hasMode_(), pat::PATObject< ObjectType >::hasOverlaps(), MisalignmentScenarioBuilder::hasParameter_(), pat::TriggerObjectStandAlone::hasPathOrAlgorithm(), pat::PATObject< reco::Muon >::hasUserCand(), pat::PATObject< reco::Muon >::hasUserFloat(), pat::PATObject< reco::Muon >::hasUserInt(), HcalMonitorClient::HcalMonitorClient(), Generator::HepMC2G4(), HepMCSplitter::HepMCSplitter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonL1RegionalFilter::hltFilter(), HLTMuonL2PreFilter::hltFilter(), HLTMuonL1Filter::hltFilter(), HLTHcalSimpleRecHitFilter::hltFilter(), HLTMonSimpleBTag::HLTMonSimpleBTag(), include(), pat::TriggerPath::indexModule(), MSLayersKeeperX0Averaged::init(), EcalEndcapRecHitsMaker::init(), crabWrap::initCrabEnvironment(), SiStripDetKey::initFromPath(), SiStripFecKey::initFromPath(), SiStripFedKey::initFromPath(), HBHEHitMap::insert(), MuonHOAcceptance::isChannelDead(), MuonHOAcceptance::isChannelSiPM(), edm::eventsetup::EventSetupsController::isFirstMatch(), EcalElectronicsMapper::isGhost(), CSCBadChambers::isInBadChamber(), edm::eventsetup::EventSetupsController::isLastMatch(), HcalDQMChannelQuality::isMasked(), edm::eventsetup::EventSetupsController::isMatchingESProducer(), edm::eventsetup::EventSetupsController::isMatchingESSource(), AlignmentParameterSelector::isMemberOfVector(), SiPixelDisabledModules::isModuleDisabled(), EBDetId::isNextToEtaBoundary(), HPDNoiseLibraryReader::IsNoiseApplicable(), RPCCosmicSeedrecHitFinder::isouterLayer(), reco::PFDisplacedVertex::isThereKindTracks(), HLTMuonL2ToL1Map::isTriggeredByL1(), JetCorrectionESChain::JetCorrectionESChain(), pat::JetCorrFactorsProducer::JetCorrFactorsProducer(), EcalListOfFEDSProducer::Jets(), ESListOfFEDSProducer::Jets(), L1MuGMTHWFileReader::L1MuGMTHWFileReader(), HcalDbProducer::L1triggerObjectsCallback(), PerformancePayloadFromBinnedTFormula::limitPos(), PerformancePayloadFromTFormula::limitPos(), CSCGasCollisions::lnEnergyLoss(), DefaultFFTJetRcdMapper< FFTPFJetCorrectorSequence >::load(), L1MuGMTLUT::Load(), edm::service::MessageServicePSetValidation::lookForMatch(), edm::eventsetup::EventSetupsController::lookForMatches(), CommonMethods::ls(), HcalDbProducer::LUTCorrsCallback(), HcalDbProducer::lutMetadataCallback(), reco::modules::ParameterAdapter< helpers::MCTruthPairSelector< T > >::make(), HybridClusterAlgo::makeClusters(), CaloTowersCreationAlgo::makeEcalBadChs(), HSCPValidator::makeGenPlots(), HiBremRecoveryClusterAlgo::makeIslandSuperClusters(), EgammaHLTNxNClusterProducer::makeNxNClusters(), HSCPValidator::makeRecoPlots(), HSCPValidator::makeSimDigiPlotsECAL(), HSCPValidator::makeSimDigiPlotsRPC(), HSCPValidator::makeSimTrackPlots(), CSCHitFromStripOnly::makeStripData(), PhysicsTools::MVATrainer::makeTrainCalibration(), TemplatedSecondaryVertexProducer< IPTI, VTX >::markUsedTracks(), DuplicateListMerger::matchCandidateToTrack(), TemplatedSecondaryVertexProducer< IPTI, VTX >::matchGroomedJets(), JetFlavourClustering::matchGroomedJets(), JetPlusTrackCorrector::matchTracks(), PerformancePayloadFromTable::maxPos(), ecaldqm::memDCCIndex(), merge(), CaloTowersMerger::mergedTower(), PerformancePayloadFromTable::minPos(), EcalListOfFEDSProducer::Muon(), ESListOfFEDSProducer::Muon(), ora::PoolDbCache::nameById(), reco::modules::NamedCandCombinerBase::NamedCandCombinerBase(), TFileAdaptor::native(), SequentialCombinationGenerator< T >::next_subset(), ObjectPairFilter< C, S >::ObjectPairFilter(), ObjectSelector< SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >, reco::CandidateCollection, NonNullNumberSelector >::ObjectSelector(), ThePEG::LesHouchesInterface::open(), PdgIdSelector::operator()(), PdgIdExcluder::operator()(), StatusSelector::operator()(), rpcrawtodigi::DebugDigisPrintout::operator()(), pat::HLTL1MuonMatcher::operator()(), RecoTrackSelector::operator()(), ReadMapType< std::map< std::string, double > >::operator[](), FFTJetDict< Key, T, Compare, Allocator >::operator[](), edm::DetSetLazyVector< T >::operator[](), edm::DetSetVector< T >::operator[](), cmsHarvester.CMSHarvester::option_handler_input_spec(), TransientVertex::originalTrack(), JetMatchingTools::overlapEnergyFraction(), pat::PATObject< ObjectType >::overlaps(), AlpgenHeader::parameterName(), Args::parse(), AlpgenHeader::parse(), SiStripDbParams::partitionNames(), CastorDbProducer::pedestalsCallback(), HcalDbProducer::pedestalsCallback(), CastorDbProducer::pedestalWidthsCallback(), HcalDbProducer::pedestalWidthsCallback(), HcalDbProducer::PFCorrsCallback(), SelectedElectronFEDListProducer< TEle, TCand >::pixelFedDump(), HDQMInspector::plot(), cond::PayLoadInspector< DataT >::plot(), MatrixInjector.MatrixInjector::prepare(), edm::Principal::Principal(), SiStripConfigDb::printAnalysisDescriptions(), SiStripConfigDb::printDeviceDescriptions(), SiStripConfigDb::printFedConnections(), SiStripConfigDb::printFedDescriptions(), ParticleTreeDrawer::printInfo(), create_public_peakpu_plots::processdata(), DDLNumeric::processElement(), DDLString::processElement(), InterestingEcalDetIdProducer::produce(), JetTracksAssociationDRVertexAssigned::produce(), TtSemiLepJetCombMaxSumPtWMass::produce(), TtDilepEvtSolutionMaker::produce(), QuarkoniaTrackSelector::produce(), GenTrackMatcher::produce(), EcalTPSkimmer::produce(), reco::modulesNew::MCTruthCompositeMatcher::produce(), StripCompactDigiSimLinksProducer::produce(), EcalListOfFEDSProducer::produce(), SiPixelRawToDigi::produce(), EgammaHLTCombinedIsolationProducer::produce(), ESListOfFEDSProducer::produce(), EgammaHLTElectronCombinedIsolationProducer::produce(), TrackListMerger::produce(), EleIsoDetIdCollectionProducer::produce(), ReducedRecHitCollectionProducer::produce(), LaserAlignmentT0Producer::produce(), ConversionSeedFilterCharge::produce(), pat::GenPlusSimParticleProducer::produce(), GamIsoDetIdCollectionProducer::produce(), EcalRawToDigi::produce(), pat::PATTauProducer::produce(), pat::PATJetProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), CaloTowersMerger::produce(), ConvBremSeedProducer::produce(), HighPtTrackEcalDetIdProducer::produce(), FlavorHistoryProducer::produce(), MuonMCClassifier::produce(), LaserAlignment::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), ProfilerService::ProfilerService(), SiStripDbParams::pset(), CastorDbProducer::QIEDataCallback(), HcalDbProducer::QIEDataCallback(), HcalDQMChannelQuality::quality(), reco::TrackBase::qualityByName(), SurveyPxbImageReader< T >::read(), l1t::LUT::read(), SiStripTFile::readDQMFormat(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), BeamFitter::readEvent(), L1TdeRCT::readFEDVector(), EcalTBReadout::readOut(), EcalDigiDisplay::readPNDigis(), SiStripDcsInfo::readStatus(), Model::readSystemDescription(), CalorimetryManager::reconstruct(), GenParticlePruner::recursiveFlagDaughters(), GenParticlePruner::recursiveFlagMothers(), TransientVertex::refittedTrack(), ora::PoolDbCache::remove(), HPSPFRecoTauAlgorithm::removeCandidateFromRefVector(), SiPixelDisabledModules::removeDisabledModule(), lhef::LHEEvent::removeResonances(), DDI::LogicalPart::removeSpecifics(), BtoCharmDecayVertexMerger::resolveBtoDchain(), HcalDbProducer::respCorrsCallback(), PerformancePayloadFromTable::resultPos(), PerformancePayloadFromBinnedTFormula::resultPos(), PerformancePayloadFromTFormula::resultPos(), EcalRecHitWorkerSimple::run(), ecaldqm::IntegrityWriter::run(), ecaldqm::LaserWriter::run(), ecaldqm::PedestalWriter::run(), ecaldqm::PresampleWriter::run(), ecaldqm::TestPulseWriter::run(), ecaldqm::TimingWriter::run(), ecaldqm::LedWriter::run(), ecaldqm::OccupancyWriter::run(), ecaldqm::SummaryWriter::run(), EgHLTOfflineClient::runClient_(), DTLocalTriggerTest::runClientDiagnostic(), DTLocalTriggerTPTest::runClientDiagnostic(), DTLocalTriggerLutTest::runClientDiagnostic(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerTask::runDDUvsDCCAnalysis(), L1MuDTEtaProcessor::runEtaMatchingUnit(), confdb::runL1Emulator(), edm::search_all(), SeedingLayerSetsBuilder::SeedingLayerSetsBuilder(), reco::FlavorHistorySelectorUtil::select(), SiStripBadModuleGenerator::selectDetectors(), EcalMipGraphs::selectHits(), EcalDisplaysByEvent::selectHits(), AlignmentParameterStore::selectParameters(), CastorCalibrationsSet::setCalibrations(), HcalCalibrationsSet::setCalibrations(), HcalCalibrationWidthsSet::setCalibrationWidths(), CastorCalibrationWidthsSet::setCalibrationWidths(), RBCProcessRPCSimDigis::setDigiAt(), RBCProcessRPCDigis::setDigiAt(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), EcalRecHitWorkerSimple::setFlagBits(), GlobalOptionMgr::setGlobalOption(), pat::PATObject< ObjectType >::setKinResolution(), pat::PATObject< ObjectType >::setOverlaps(), EcalFenixFgvbEB::setParameters(), ecaldqm::SummaryClient::setParams(), ecaldqm::CalibrationSummaryClient::setParams(), DDLSolid::setReference(), TtSemiLepKinFitter::setupConstraints(), egHLT::OffHelper::setupTriggers(), HcalSimParameterMap::simParameters(), SiStripFedIdListReader::SiStripFedIdListReader(), CRackTrajectoryBuilder::SortHits(), HLTMuonValidator::stepLabels(), IsoTrig::studyIsolation(), sumSmallDepths(), cond::TBufferBlobTypeInfo::TBufferBlobTypeInfo(), HcalLutManager::test_emap(), HcalDbProducer::timeCorrsCallback(), PasswordReader::tokenize(), EcalSRCondTools::tokenize(), jetTools.AddJetCollection::toolCode(), EgammaHadTower::towersOf(), HistoryBase::traceSimHistory(), QcdUeDQM::trackSelection(), trackWeight(), TransientVertex::trackWeight(), pat::TriggerEvent::triggerObjectMatchResult(), PFEGammaAlgo::unlinkRefinableObjectKFandECALMatchedToHCAL(), PFEGammaAlgo::unlinkRefinableObjectKFandECALWithBadEoverP(), PFEGammaAlgo::unwrapSuperCluster(), SimpleMetricsUpdator::update(), MSLayersAtAngle::update(), PedestalsHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), DummyMetricsUpdator::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), FineDelayHistosUsingDb::update(), KalmanVertexUpdator< N >::update(), HLTScalersClient::CountLSFifo_t::update(), L1RCTProducer::updateFedVector(), KalmanAlignmentUpdator::updateUserVariables(), KalmanAlignmentSetup::useForExternalTracking(), KalmanAlignmentSetup::useForTracking(), pat::PATObject< ObjectType >::userCand(), pat::PATObject< ObjectType >::userDataObject_(), pat::PATObject< ObjectType >::userFloat(), pat::PATObject< ObjectType >::userInt(), reco::btag::weight(), CSCValHists::writeHists(), DQMRootOutputModule::writeLuminosityBlock(), L1GtPatternWriter::writePatterns(), DQMRootOutputModule::writeRun(), CSCGasCollisions::writeSummary(), HcalDbProducer::zsThresholdsCallback(), and DDLElementRegistry::~DDLElementRegistry().
void spr::find | ( | edm::Handle< HBHERecHitCollection > & | hits, |
DetId | thisDet, | ||
std::vector< HBHERecHitCollection::const_iterator > & | hit, | ||
bool | debug = false |
||
) |
Definition at line 13 of file FindCaloHit.cc.
void spr::find | ( | edm::Handle< edm::PCaloHitContainer > & | hits, |
DetId | thisDet, | ||
std::vector< edm::PCaloHitContainer::const_iterator > & | hit, | ||
bool | debug = false |
||
) |
Definition at line 19 of file FindCaloHit.cc.
std::vector<EcalRecHitCollection::const_iterator> spr::findCone | ( | const CaloGeometry * | geo, |
edm::Handle< EcalRecHitCollection > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | debug | ||
) |
Definition at line 10 of file FindCaloHitCone.cc.
References EcalBarrel, EcalEndcap, getDistInPlaneTrackDir(), CaloGeometry::getPosition(), and j.
std::vector<EcalRecHitCollection::const_iterator> spr::findCone | ( | const CaloGeometry * | geo, |
edm::Handle< EcalRecHitCollection > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
bool | debug = false |
||
) |
std::vector< EcalRecHitCollection::const_iterator > spr::findCone | ( | const CaloGeometry * | geo, |
edm::Handle< EcalRecHitCollection > & | barrelhits, | ||
edm::Handle< EcalRecHitCollection > & | endcaphits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | debug = false |
||
) |
Definition at line 35 of file FindCaloHitCone.cc.
References funct::abs(), gather_cfg::cout, EcalBarrel, EcalEndcap, PV3DBase< T, PVType, FrameType >::eta(), getDistInPlaneTrackDir(), CaloGeometry::getPosition(), and j.
std::vector< HBHERecHitCollection::const_iterator > spr::findCone | ( | const CaloGeometry * | geo, |
edm::Handle< HBHERecHitCollection > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | debug = false |
||
) |
Definition at line 87 of file FindCaloHitCone.cc.
References getDistInPlaneTrackDir(), CaloGeometry::getPosition(), and j.
std::vector< edm::PCaloHitContainer::const_iterator > spr::findCone | ( | const CaloGeometry * | geo, |
edm::Handle< edm::PCaloHitContainer > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | debug = false |
||
) |
Definition at line 101 of file FindCaloHitCone.cc.
References getDistInPlaneTrackDir(), and CaloGeometry::getPosition().
const DetId spr::findDetIdCalo | ( | const CaloSubdetectorGeometry * | geo, |
double | theta, | ||
double | phi, | ||
double | radius, | ||
bool | debug = false |
||
) |
Definition at line 37 of file DetIdFromEtaPhi.cc.
References funct::cos(), gather_cfg::cout, DetId::det(), DetId::Ecal, EcalBarrel, CaloSubdetectorGeometry::getClosestCell(), point, funct::sin(), DetId::subdetId(), and detailsBasic3DVector::z.
Referenced by findDetIdECAL(), and findDetIdHCAL().
const DetId spr::findDetIdECAL | ( | const CaloGeometry * | geo, |
double | eta, | ||
double | phi, | ||
bool | debug = false |
||
) |
Definition at line 11 of file DetIdFromEtaPhi.cc.
References funct::abs(), funct::cos(), gather_cfg::cout, DetId::Ecal, EcalBarrel, EcalEndcap, create_public_lumi_plots::exp, findDetIdCalo(), CaloGeometry::getSubdetectorGeometry(), CosmicsPD_Skims::radius, funct::sin(), and theta().
const DetId spr::findDetIdHCAL | ( | const CaloGeometry * | geo, |
double | eta, | ||
double | phi, | ||
bool | debug = false |
||
) |
Definition at line 27 of file DetIdFromEtaPhi.cc.
References funct::abs(), funct::cos(), gather_cfg::cout, create_public_lumi_plots::exp, findDetIdCalo(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, CosmicsPD_Skims::radius, funct::sin(), and theta().
std::vector<typename T::const_iterator> spr::findHit | ( | edm::Handle< T > & | hits, |
DetId | thisDet, | ||
bool | debug = false |
||
) |
Referenced by eECALmatrix().
void spr::findHit | ( | edm::Handle< T > & | hits, |
DetId | thisDet, | ||
std::vector< typename T::const_iterator > & | hit, | ||
bool | debug = false |
||
) |
std::vector<typename T::const_iterator> spr::findHitCone | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | hits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | debug = false |
||
) |
std::vector<typename T::const_iterator> spr::findHitCone | ( | const CaloGeometry * | geo, |
edm::Handle< T > & | barrelhits, | ||
edm::Handle< T > & | endcaphits, | ||
const GlobalPoint & | hpoint1, | ||
const GlobalPoint & | point1, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | debug = false |
||
) |
double spr::getDistInCMatEcal | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2, | ||
bool | debug = false |
||
) |
Definition at line 41 of file FindDistCone.cc.
References funct::cos(), gather_cfg::cout, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, mathSSE::sqrt(), and detailsBasic3DVector::z.
double spr::getDistInCMatHcal | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2, | ||
bool | debug = false |
||
) |
Definition at line 63 of file FindDistCone.cc.
References funct::cos(), gather_cfg::cout, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, mathSSE::sqrt(), and detailsBasic3DVector::z.
double spr::getDistInPlaneTrackDir | ( | const GlobalPoint & | caloPoint, |
const GlobalVector & | caloVector, | ||
const GlobalPoint & | rechitPoint, | ||
bool | debug = false |
||
) |
Definition at line 8 of file FindDistCone.cc.
References gather_cfg::cout, Vector3DBase< T, FrameTag >::dot(), PV3DBase< T, PVType, FrameType >::mag(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by IsolatedTracksCone::analyze(), coneChargeIsolation(), findCone(), matrixECALIds(), and matrixHCALIds().
double spr::getEnergy | ( | HBHERecHitCollection::const_iterator | hit, |
bool | debug = false |
||
) |
Definition at line 140 of file FindDistCone.cc.
Referenced by HLTGenericFilter< T1 >::hltFilter().
double spr::getEnergy | ( | edm::PCaloHitContainer::const_iterator | hit, |
bool | debug = false |
||
) |
Definition at line 148 of file FindDistCone.cc.
References HcalBarrel, and HcalEndcap.
spr::EtaPhi spr::getEtaPhi | ( | int | ieta, |
int | iphi, | ||
bool | debug = false |
||
) |
Definition at line 6 of file FindEtaPhi.cc.
References gather_cfg::cout, fastmath::etaphi(), spr::EtaPhi::ietaE, spr::EtaPhi::ietaW, spr::EtaPhi::iphiN, spr::EtaPhi::iphiS, and spr::EtaPhi::ntrys.
void spr::getEtaPhi | ( | HBHERecHitCollection::const_iterator | hit, |
std::vector< int > & | RH_ieta, | ||
std::vector< int > & | RH_iphi, | ||
std::vector< double > & | RH_ene, | ||
bool | debug = false |
||
) |
Definition at line 86 of file FindDistCone.cc.
void spr::getEtaPhi | ( | edm::PCaloHitContainer::const_iterator | hit, |
std::vector< int > & | RH_ieta, | ||
std::vector< int > & | RH_iphi, | ||
std::vector< double > & | RH_ene, | ||
bool | debug = false |
||
) |
Definition at line 93 of file FindDistCone.cc.
void spr::getEtaPhi | ( | HBHERecHitCollection::const_iterator | hit, |
int & | ieta, | ||
int & | iphi, | ||
bool | debug = false |
||
) |
Definition at line 107 of file FindDistCone.cc.
void spr::getEtaPhi | ( | edm::PCaloHitContainer::const_iterator | hit, |
int & | ieta, | ||
int & | iphi, | ||
bool | debug = false |
||
) |
Definition at line 113 of file FindDistCone.cc.
References DetId::Ecal, EcalBarrel, and DetId::Hcal.
GlobalPoint spr::getGpos | ( | const CaloGeometry * | geo, |
HBHERecHitCollection::const_iterator | hit, | ||
bool | debug = false |
||
) |
Definition at line 166 of file FindDistCone.cc.
References CaloGeometry::getPosition().
GlobalPoint spr::getGpos | ( | const CaloGeometry * | geo, |
edm::PCaloHitContainer::const_iterator | hit, | ||
bool | debug = false |
||
) |
Definition at line 171 of file FindDistCone.cc.
References CaloGeometry::getPosition().
HcalDetId spr::getHotCell | ( | std::vector< HBHERecHitCollection::const_iterator > & | hit, |
bool & | includeHO, | ||
bool & | debug | ||
) |
bool spr::goodTrack | ( | const reco::Track * | pTrack, |
math::XYZPoint | leadPV, | ||
spr::trackSelectionParameters | parameters, | ||
bool | debug = false |
||
) |
Definition at line 8 of file TrackSelection.cc.
References funct::abs(), gather_cfg::cout, reco::TrackBase::dxy(), reco::TrackBase::dz(), reco::TrackBase::hitPattern(), i, spr::trackSelectionParameters::maxChi2, spr::trackSelectionParameters::maxDpOverP, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, spr::trackSelectionParameters::minLayerCrossed, spr::trackSelectionParameters::minOuterHit, spr::trackSelectionParameters::minPt, spr::trackSelectionParameters::minQuality, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, reco::TrackBase::normalizedChi2(), reco::HitPattern::numberOfHits(), reco::HitPattern::printHitPattern(), reco::TrackBase::pt(), reco::TrackBase::qoverp(), reco::TrackBase::qoverpError(), reco::TrackBase::quality(), benchmark_cfg::select, reco::HitPattern::stripTECLayersWithMeasurement(), reco::HitPattern::stripTOBLayersWithMeasurement(), reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerLayersWithMeasurement(), and reco::HitPattern::trackerLayersWithoutMeasurement().
Referenced by IsoTrackCalib::analyze(), IsoTrackCalibration::analyze(), IsolatedTracksHcalScale::analyze(), IsoTrig::chgIsolation(), CSCSkim::doBFieldStudySelection(), JetTracksAssociationDRCalo::produce(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
void spr::hGenSimInfo | ( | const DetId & | coreDet, |
HepMC::GenEvent::particle_const_iterator | trkItr, | ||
std::vector< spr::propagatedGenTrackID > & | trackIds, | ||
const HcalTopology * | topology, | ||
int | ieta, | ||
int | iphi, | ||
spr::genSimInfo & | info, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 47 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugHcalDets(), and matrixHCALIds().
Referenced by IsolatedGenParticles::analyze().
void spr::hGenSimInfo | ( | const DetId & | coreDet, |
HepMC::GenEvent::particle_const_iterator | trkItr, | ||
std::vector< spr::propagatedGenTrackID > & | trackIds, | ||
const CaloGeometry * | geo, | ||
const HcalTopology * | topology, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
spr::genSimInfo & | info, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 58 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugHcalDets(), and matrixHCALIds().
void spr::hGenSimInfo | ( | const DetId & | coreDet, |
reco::GenParticleCollection::const_iterator | trkItr, | ||
std::vector< spr::propagatedGenParticleID > & | trackIds, | ||
const HcalTopology * | topology, | ||
int | ieta, | ||
int | iphi, | ||
spr::genSimInfo & | info, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 67 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugHcalDets(), and matrixHCALIds().
void spr::hGenSimInfo | ( | const DetId & | coreDet, |
reco::GenParticleCollection::const_iterator | trkItr, | ||
std::vector< spr::propagatedGenParticleID > & | trackIds, | ||
const CaloGeometry * | geo, | ||
const HcalTopology * | topology, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
spr::genSimInfo & | info, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 78 of file GenSimInfo.cc.
References cGenSimInfo(), gather_cfg::cout, debugHcalDets(), and matrixHCALIds().
void spr::hitECALmatrix | ( | CaloNavigator< DetId > & | navigator, |
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
std::vector< typename T::const_iterator > & | hitlist, | ||
bool | debug = false |
||
) |
void spr::hitHCALmatrix | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ieta, | ||
int | iphi, | ||
std::vector< typename T::const_iterator > & | hitlist, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
void spr::hitHCALmatrixTotal | ( | const HcalTopology * | topology, |
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
std::vector< typename T::const_iterator > & | hitlist, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
void spr::hitsHCAL | ( | std::vector< DetId > & | vdets, |
edm::Handle< T > & | hits, | ||
std::vector< typename T::const_iterator > & | hitlist, | ||
bool | debug = false |
||
) |
DetId spr::hotCrystal | ( | const DetId & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
int | ieta, | ||
int | iphi, | ||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
Referenced by ElectronStudy::analyze().
DetId spr::hotCrystal | ( | std::vector< DetId > & | detId, |
edm::Handle< T > & | hitsEB, | ||
edm::Handle< T > & | hitsEE, | ||
double | tMin = -500 , |
||
double | tMax = 500 , |
||
bool | debug = false |
||
) |
edm::SimTrackContainer::const_iterator spr::matchedSimTrack | ( | const edm::Event & | iEvent, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
bool | debug = false |
||
) |
Definition at line 10 of file MatchingSimTrack.cc.
References TrackerHitAssociator::associateHit(), gather_cfg::cout, newFWLiteAna::found, i, j, reco::Track::recHitsBegin(), and reco::Track::recHitsEnd().
Referenced by IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), and matchedSimTrackId().
std::vector< int > spr::matchedSimTrackId | ( | const edm::Event & | iEvent, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
bool | debug = false |
||
) |
Definition at line 72 of file MatchingSimTrack.cc.
References gather_cfg::cout, matchedSimTrack(), and validSimTrack().
spr::simTkInfo spr::matchedSimTrackInfo | ( | unsigned int | simTkId, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
bool | debug = false |
||
) |
Definition at line 90 of file MatchingSimTrack.cc.
References spr::simTkInfo::charge, gather_cfg::cout, spr::simTkInfo::found, info(), parentSimTrack(), spr::simTkInfo::pdgId, and validSimTrack().
void spr::matrixECALIds | ( | const DetId & | det, |
int | ieta, | ||
int | iphi, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
std::vector< DetId > & | vdets, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 14 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), heppy_check::dirs, DetId::Ecal, EcalBarrel, EcalEndcap, extraIds(), CaloGeometry::getSubdetectorGeometry(), CaloTopology::getSubdetectorTopology(), newECALIdNS(), NORTH, and SOUTH.
Referenced by chargeIsolationEcal(), eECALmatrix(), eGenSimInfo(), and matrixECALIds().
std::vector< DetId > spr::matrixECALIds | ( | const DetId & | det, |
int | ieta, | ||
int | iphi, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 59 of file MatrixECALDetIds.cc.
References matrixECALIds().
std::vector< DetId > spr::matrixECALIds | ( | const DetId & | det, |
double | dR, | ||
const GlobalVector & | trackMom, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 70 of file MatrixECALDetIds.cc.
References gather_cfg::cout, debugEcalDets(), EcalEndcap, getDistInPlaneTrackDir(), CaloGeometry::getPosition(), i, matrixECALIds(), and DetId::subdetId().
void spr::matrixECALIds | ( | const DetId & | det, |
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
std::vector< DetId > & | vdets, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 111 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), heppy_check::dirs, DetId::Ecal, EcalBarrel, EcalEndcap, extraIds(), CaloGeometry::getSubdetectorGeometry(), CaloTopology::getSubdetectorTopology(), newECALIdNS(), NORTH, and SOUTH.
std::vector< DetId > spr::matrixECALIds | ( | const DetId & | det, |
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
const CaloGeometry * | geo, | ||
const CaloTopology * | caloTopology, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 163 of file MatrixECALDetIds.cc.
References matrixECALIds().
std::vector< DetId > spr::matrixHCALIds | ( | std::vector< DetId > & | dets, |
const HcalTopology * | topology, | ||
int | ieta, | ||
int | iphi, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 12 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), matrixHCALIdsDepth(), and newHCALIdNS().
Referenced by chargeIsolationHcal(), hGenSimInfo(), and matrixHCALIds().
std::vector< DetId > spr::matrixHCALIds | ( | const DetId & | det, |
const CaloGeometry * | geo, | ||
const HcalTopology * | topology, | ||
double | dR, | ||
const GlobalVector & | trackMom, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 42 of file MatrixHCALDetIds.cc.
References gather_cfg::cout, debugHcalDets(), getDistInPlaneTrackDir(), CaloGeometry::getPosition(), i, and matrixHCALIds().
std::vector< DetId > spr::matrixHCALIds | ( | std::vector< DetId > & | dets, |
const HcalTopology * | topology, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 71 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), matrixHCALIdsDepth(), and newHCALIdNS().
std::vector< DetId > spr::matrixHCALIdsDepth | ( | std::vector< DetId > & | dets, |
const HcalTopology * | topology, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
Definition at line 360 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), HcalOuter, n, and HcalTopology::up().
Referenced by matrixHCALIds().
std::vector<typename T::const_iterator> spr::missedCaloHits | ( | edm::Handle< T > & | hits, |
std::vector< int > | matchedId, | ||
std::vector< typename T::const_iterator > | caloHits, | ||
bool | flag, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::vector<typename T::const_iterator> spr::missedECALHits | ( | const edm::Event & | , |
CaloNavigator< DetId > & | navigator, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
bool | flag, | ||
bool | debug = false |
||
) |
std::vector<typename T::const_iterator> spr::missedHCALHits | ( | const edm::Event & | , |
const HcalTopology * | topology, | ||
const DetId & | det, | ||
edm::Handle< T > & | hits, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const reco::Track * | pTrack, | ||
TrackerHitAssociator & | associate, | ||
int | ieta, | ||
int | iphi, | ||
bool | flag, | ||
bool | includeHO = false , |
||
bool | debug = false |
||
) |
std::vector< DetId > spr::newECALIdEW | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
int | ieta, | ||
std::vector< CaloDirection > & | dir, | ||
const CaloSubdetectorTopology & | barrelTopo, | ||
const CaloSubdetectorTopology & | endcapTopo, | ||
const EcalBarrelGeometry & | barrelGeom, | ||
const EcalEndcapGeometry & | endcapGeom, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 475 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), heppy_check::dirs, EAST, archive::flag, prof2calltree::last, simpleMove(), and WEST.
Referenced by newECALIdEW(), and newECALIdNS().
std::vector< DetId > spr::newECALIdEW | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
std::vector< int > & | ietaE, | ||
std::vector< int > & | ietaW, | ||
std::vector< CaloDirection > & | dir, | ||
const CaloSubdetectorTopology & | barrelTopo, | ||
const CaloSubdetectorTopology & | endcapTopo, | ||
const EcalBarrelGeometry & | barrelGeom, | ||
const EcalEndcapGeometry & | endcapGeom, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 537 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), heppy_check::dirs, EAST, archive::flag, prof2calltree::last, newECALIdEW(), simpleMove(), and WEST.
std::vector< DetId > spr::newECALIdNS | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
int | ieta, | ||
int | iphi, | ||
std::vector< CaloDirection > & | dir, | ||
const CaloSubdetectorTopology & | barrelTopo, | ||
const CaloSubdetectorTopology & | endcapTopo, | ||
const EcalBarrelGeometry & | barrelGeom, | ||
const EcalEndcapGeometry & | endcapGeom, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 175 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), heppy_check::dirs, EAST, archive::flag, prof2calltree::last, newECALIdEW(), NORTH, simpleMove(), SOUTH, and WEST.
Referenced by matrixECALIds(), and newECALIdNS().
std::vector< DetId > spr::newECALIdNS | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
std::vector< int > & | ietaE, | ||
std::vector< int > & | ietaW, | ||
std::vector< int > & | iphiN, | ||
std::vector< int > & | iphiS, | ||
std::vector< CaloDirection > & | dir, | ||
const CaloSubdetectorTopology & | barrelTopo, | ||
const CaloSubdetectorTopology & | endcapTopo, | ||
const EcalBarrelGeometry & | barrelGeom, | ||
const EcalEndcapGeometry & | endcapGeom, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 301 of file MatrixECALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugEcalDets(), heppy_check::dirs, EAST, archive::flag, prof2calltree::last, newECALIdEW(), newECALIdNS(), NORTH, simpleMove(), SOUTH, and WEST.
std::vector< DetId > spr::newHCALIdEW | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
const HcalTopology * | topology, | ||
bool | shiftEast, | ||
int | ieta, | ||
bool | debug = false |
||
) |
Definition at line 266 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), HcalTopology::east(), prof2calltree::last, and HcalTopology::west().
Referenced by newHCALIdEW(), and newHCALIdNS().
std::vector< DetId > spr::newHCALIdEW | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
const HcalTopology * | topology, | ||
bool | shiftEast, | ||
int | ietaE, | ||
int | ietaW, | ||
bool | debug = false |
||
) |
Definition at line 311 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), HcalTopology::east(), prof2calltree::last, newHCALIdEW(), and HcalTopology::west().
std::vector< DetId > spr::newHCALIdNS | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
const HcalTopology * | topology, | ||
bool | shiftNorth, | ||
int | ieta, | ||
int | iphi, | ||
bool | debug = false |
||
) |
Definition at line 102 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), prof2calltree::last, newHCALIdEW(), HcalTopology::north(), and HcalTopology::south().
Referenced by matrixHCALIds(), and newHCALIdNS().
std::vector< DetId > spr::newHCALIdNS | ( | std::vector< DetId > & | dets, |
unsigned int | last, | ||
const HcalTopology * | topology, | ||
bool | shiftNorth, | ||
int | ietaE, | ||
int | ietaW, | ||
int | iphiN, | ||
int | iphiS, | ||
bool | debug = false |
||
) |
Definition at line 181 of file MatrixHCALDetIds.cc.
References prof2calltree::count, gather_cfg::cout, debugHcalDets(), prof2calltree::last, newHCALIdEW(), newHCALIdNS(), HcalTopology::north(), and HcalTopology::south().
edm::SimTrackContainer::const_iterator spr::parentSimTrack | ( | edm::SimTrackContainer::const_iterator | thisTrkItr, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
bool | debug = false |
||
) |
Definition at line 156 of file MatchingSimTrack.cc.
References begin, gather_cfg::cout, and dbtoconf::parent.
Referenced by matchedSimTrackInfo().
std::vector< spr::propagatedTrackID > spr::propagateCALO | ( | edm::Handle< reco::TrackCollection > & | trkCollection, |
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
Definition at line 109 of file CaloPropagateTrack.cc.
Referenced by ElectronStudy::analyze(), StudyHLT::analyze(), IsoTrackCalib::analyze(), IsoTrackCalibration::analyze(), IsolatedGenParticles::analyze(), IsolatedTracksHcalScale::analyze(), IsolatedTracksNxN::analyze(), IsoTrig::chgIsolation(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
void spr::propagateCALO | ( | edm::Handle< reco::TrackCollection > & | trkCollection, |
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
std::string & | theTrackQuality, | ||
std::vector< spr::propagatedTrackID > & | vdets, | ||
bool | debug = false |
||
) |
Definition at line 116 of file CaloPropagateTrack.cc.
References funct::abs(), gather_cfg::cout, spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, spr::propagatedTrackID::etaECAL, spr::propagatedTrackID::etaHCAL, CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, i, info(), spr::propagatedTrackID::ok, spr::propagatedTrackID::okECAL, spr::propagatedTrackID::okHCAL, spr::propagatedTrackID::phiECAL, spr::propagatedTrackID::phiHCAL, point, propagateECAL(), propagateHCAL(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), DetId::subdetId(), and spr::propagatedTrackID::trkItr.
void spr::propagateCALO | ( | edm::Handle< reco::TrackCollection > & | trkCollection, |
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
std::string & | theTrackQuality, | ||
std::vector< spr::propagatedTrackDirection > & | trkDir, | ||
bool | debug = false |
||
) |
Definition at line 182 of file CaloPropagateTrack.cc.
References funct::abs(), gather_cfg::cout, spr::propagatedTrackDirection::detIdECAL, spr::propagatedTrackDirection::detIdEHCAL, spr::propagatedTrackDirection::detIdHCAL, spr::propagatedTrack::direction, spr::propagatedTrackDirection::directionECAL, spr::propagatedTrackDirection::directionHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, i, info(), spr::propagatedTrack::ok, spr::propagatedTrackDirection::ok, spr::propagatedTrackDirection::okECAL, spr::propagatedTrackDirection::okHCAL, point, spr::propagatedTrack::point, spr::propagatedTrackDirection::pointECAL, spr::propagatedTrackDirection::pointHCAL, propagateTrackToECAL(), propagateTrackToHCAL(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), and spr::propagatedTrackDirection::trkItr.
spr::propagatedTrackID spr::propagateCALO | ( | const reco::Track * | pTrack, |
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
bool | debug = false |
||
) |
Definition at line 249 of file CaloPropagateTrack.cc.
References funct::abs(), gather_cfg::cout, spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, reco::TrackBase::eta(), spr::propagatedTrackID::etaECAL, spr::propagatedTrackID::etaHCAL, CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, info(), spr::propagatedTrackID::ok, spr::propagatedTrackID::okECAL, spr::propagatedTrackID::okHCAL, reco::TrackBase::p(), reco::TrackBase::phi(), spr::propagatedTrackID::phiECAL, spr::propagatedTrackID::phiHCAL, point, propagateECAL(), propagateHCAL(), and DetId::subdetId().
std::vector< spr::propagatedGenTrackID > spr::propagateCALO | ( | const HepMC::GenEvent * | genEvent, |
edm::ESHandle< ParticleDataTable > & | pdt, | ||
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
double | etaMax = 3.0 , |
||
bool | debug = false |
||
) |
Definition at line 297 of file CaloPropagateTrack.cc.
References funct::abs(), spr::propagatedGenTrackID::charge, gather_cfg::cout, spr::propagatedGenTrackID::detIdECAL, spr::propagatedGenTrackID::detIdEHCAL, spr::propagatedGenTrackID::detIdHCAL, spr::propagatedTrack::direction, spr::propagatedGenTrackID::directionECAL, spr::propagatedGenTrackID::directionHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, i, info(), spr::propagatedTrack::ok, spr::propagatedGenTrackID::ok, spr::propagatedGenTrackID::okECAL, spr::propagatedGenTrackID::okHCAL, AlCaHLTBitMon_ParallelJobs::p, spr::propagatedGenTrackID::pdgId, point, spr::propagatedTrack::point, spr::propagatedGenTrackID::pointECAL, spr::propagatedGenTrackID::pointHCAL, propagateCalo(), and spr::propagatedGenTrackID::trkItr.
std::vector< spr::propagatedGenParticleID > spr::propagateCALO | ( | edm::Handle< reco::GenParticleCollection > & | genParticles, |
edm::ESHandle< ParticleDataTable > & | pdt, | ||
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
double | etaMax = 3.0 , |
||
bool | debug = false |
||
) |
Definition at line 374 of file CaloPropagateTrack.cc.
References funct::abs(), spr::propagatedGenParticleID::charge, gather_cfg::cout, spr::propagatedGenParticleID::detIdECAL, spr::propagatedGenParticleID::detIdEHCAL, spr::propagatedGenParticleID::detIdHCAL, spr::propagatedTrack::direction, spr::propagatedGenParticleID::directionECAL, spr::propagatedGenParticleID::directionHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, PV3DBase< T, PVType, FrameType >::eta(), CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, i, info(), spr::propagatedTrack::ok, spr::propagatedGenParticleID::ok, spr::propagatedGenParticleID::okECAL, spr::propagatedGenParticleID::okHCAL, AlCaHLTBitMon_ParallelJobs::p, spr::propagatedGenParticleID::pdgId, point, spr::propagatedTrack::point, spr::propagatedGenParticleID::pointECAL, spr::propagatedGenParticleID::pointHCAL, propagateCalo(), and spr::propagatedGenParticleID::trkItr.
spr::propagatedTrackDirection spr::propagateCALO | ( | unsigned int | thisTrk, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
bool | debug = false |
||
) |
Definition at line 449 of file CaloPropagateTrack.cc.
References funct::abs(), spr::trackAtOrigin::charge, gather_cfg::cout, spr::propagatedTrackDirection::detIdECAL, spr::propagatedTrackDirection::detIdEHCAL, spr::propagatedTrackDirection::detIdHCAL, spr::propagatedTrack::direction, spr::propagatedTrackDirection::directionECAL, spr::propagatedTrackDirection::directionHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, info(), spr::trackAtOrigin::momentum, spr::propagatedTrack::ok, spr::propagatedTrackDirection::ok, spr::trackAtOrigin::ok, spr::propagatedTrackDirection::okECAL, spr::propagatedTrackDirection::okHCAL, point, spr::propagatedTrack::point, spr::propagatedTrackDirection::pointECAL, spr::propagatedTrackDirection::pointHCAL, spr::trackAtOrigin::position, propagateCalo(), simTrackAtOrigin(), and DetId::subdetId().
spr::propagatedTrack spr::propagateCalo | ( | const GlobalPoint & | vertex, |
const GlobalVector & | momentum, | ||
int | charge, | ||
const MagneticField * | bField, | ||
float | zdist, | ||
float | radius, | ||
float | corner, | ||
bool | debug = false |
||
) |
Definition at line 620 of file CaloPropagateTrack.cc.
References funct::abs(), alongMomentum, Reference_intrackfit_cff::barrel, Cylinder::build(), newFWLiteAna::build, gather_cfg::cout, spr::propagatedTrack::direction, PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), M_PI, spr::propagatedTrack::ok, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), spr::propagatedTrack::point, Propagator::propagate(), EnergyCorrector::pt, funct::sin(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by propagateCALO(), propagateECAL(), propagateHCAL(), propagateTracker(), propagateTrackToECAL(), and propagateTrackToHCAL().
std::vector< spr::propagatedTrackID > spr::propagateCosmicCALO | ( | edm::Handle< reco::TrackCollection > & | trkCollection, |
const CaloGeometry * | geo, | ||
const MagneticField * | bField, | ||
std::string & | theTrackQuality, | ||
bool | debug = false |
||
) |
Definition at line 18 of file CaloPropagateTrack.cc.
References funct::abs(), reco::TrackBase::charge(), gather_cfg::cout, spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, DetId::Ecal, EcalBarrel, EcalEndcap, spr::propagatedTrackID::etaECAL, spr::propagatedTrackID::etaHCAL, CaloSubdetectorGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, i, info(), reco::Track::innerMomentum(), reco::Track::innerPosition(), spr::propagatedTrackID::ok, spr::propagatedTrackID::okECAL, spr::propagatedTrackID::okHCAL, reco::Track::outerMomentum(), reco::Track::outerPosition(), spr::propagatedTrackID::phiECAL, spr::propagatedTrackID::phiHCAL, point, propagateECAL(), propagateHCAL(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), DetId::subdetId(), spr::propagatedTrackID::trkItr, X, and Gflash::Z.
std::pair< math::XYZPoint, bool > spr::propagateECAL | ( | const reco::Track * | track, |
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 526 of file CaloPropagateTrack.cc.
References reco::TrackBase::charge(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
Referenced by chargeIsolationEcal(), propagateCALO(), and propagateCosmicCALO().
std::pair< math::XYZPoint, bool > spr::propagateECAL | ( | const GlobalPoint & | vertex, |
const GlobalVector & | momentum, | ||
int | charge, | ||
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 533 of file CaloPropagateTrack.cc.
References spr::propagatedTrack::ok, spr::propagatedTrack::point, and propagateCalo().
std::pair< math::XYZPoint, bool > spr::propagateHCAL | ( | const reco::Track * | track, |
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 553 of file CaloPropagateTrack.cc.
References reco::TrackBase::charge(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
Referenced by chargeIsolationHcal(), propagateCALO(), and propagateCosmicCALO().
std::pair< math::XYZPoint, bool > spr::propagateHCAL | ( | const GlobalPoint & | vertex, |
const GlobalVector & | momentum, | ||
int | charge, | ||
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 560 of file CaloPropagateTrack.cc.
References spr::propagatedTrack::ok, spr::propagatedTrack::point, and propagateCalo().
std::pair< math::XYZPoint, bool > spr::propagateTracker | ( | const reco::Track * | track, |
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 565 of file CaloPropagateTrack.cc.
References reco::TrackBase::charge(), propagateCalo(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
std::pair< math::XYZPoint, double > spr::propagateTrackerEnd | ( | const reco::Track * | track, |
const MagneticField * | bField, | ||
bool | debug = false |
||
) |
Definition at line 573 of file CaloPropagateTrack.cc.
References funct::abs(), alongMomentum, Reference_intrackfit_cff::barrel, Cylinder::build(), newFWLiteAna::build, reco::TrackBase::charge(), gather_cfg::cout, Reference_intrackfit_cff::endcap, TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), M_PI, convertSQLiteXML::ok, reco::Track::outerPosition(), Geom::Phi< T >::phi(), PV3DBase< T, PVType, FrameType >::phi(), point, Propagator::propagate(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), CosmicsPD_Skims::radius, funct::sin(), mathSSE::sqrt(), reco::TrackBase::vx(), reco::TrackBase::vy(), reco::TrackBase::vz(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by IsolatedTracksNxN::analyze().
propagatedTrack spr::propagateTrackToECAL | ( | const reco::Track * | track, |
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 510 of file CaloPropagateTrack.cc.
References reco::TrackBase::charge(), propagateCalo(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
Referenced by propagateCALO().
propagatedTrack spr::propagateTrackToECAL | ( | unsigned int | thisTrk, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 517 of file CaloPropagateTrack.cc.
References spr::trackAtOrigin::charge, spr::trackAtOrigin::momentum, spr::trackAtOrigin::ok, spr::trackAtOrigin::position, propagateCalo(), and simTrackAtOrigin().
spr::propagatedTrack spr::propagateTrackToHCAL | ( | const reco::Track * | track, |
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 538 of file CaloPropagateTrack.cc.
References reco::TrackBase::charge(), propagateCalo(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
Referenced by propagateCALO().
spr::propagatedTrack spr::propagateTrackToHCAL | ( | unsigned int | thisTrk, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
const MagneticField * | bfield, | ||
bool | debug = false |
||
) |
Definition at line 545 of file CaloPropagateTrack.cc.
References spr::trackAtOrigin::charge, spr::trackAtOrigin::momentum, spr::trackAtOrigin::ok, spr::trackAtOrigin::position, propagateCalo(), and simTrackAtOrigin().
void spr::simpleMove | ( | DetId & | det, |
const CaloDirection & | dir, | ||
const CaloSubdetectorTopology & | barrelTopo, | ||
const CaloSubdetectorTopology & | endcapTopo, | ||
const EcalBarrelGeometry & | barrelGeom, | ||
const EcalEndcapGeometry & | endcapGeom, | ||
std::vector< DetId > & | cells, | ||
int & | flag, | ||
bool | debug = false , |
||
bool | igNoreTransition = true |
||
) |
Definition at line 618 of file MatrixECALDetIds.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalBarrel, EcalEndcap, EcalEndcapGeometry::getClosestBarrelCells(), EcalBarrelGeometry::getClosestEndcapCells(), CaloSubdetectorTopology::getNeighbours(), EBDetId::ietaAbs(), EEDetId::iPhiOuterRing(), EBDetId::MAX_IETA, and DetId::subdetId().
Referenced by newECALIdEW(), and newECALIdNS().
spr::trackAtOrigin spr::simTrackAtOrigin | ( | unsigned int | thisTrk, |
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
bool | debug = false |
||
) |
Definition at line 677 of file CaloPropagateTrack.cc.
References spr::trackAtOrigin::charge, gather_cfg::cout, spr::trackAtOrigin::momentum, spr::trackAtOrigin::ok, and spr::trackAtOrigin::position.
Referenced by propagateCALO(), propagateTrackToECAL(), and propagateTrackToHCAL().
double spr::timeOfFlight | ( | DetId | id, |
const CaloGeometry * | geo, | ||
bool | debug = false |
||
) |
Definition at line 12 of file CaloSimInfo.cc.
References funct::abs(), funct::cos(), gather_cfg::cout, DetId::Ecal, EcalBarrel, EcalEndcap, PV3DBase< T, PVType, FrameType >::eta(), eta(), create_public_lumi_plots::exp, CaloGeometry::getPosition(), DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, m, PV3DBase< T, PVType, FrameType >::mag(), dttmaxenums::R, funct::sin(), theta(), and tmp.
Referenced by RPCDigiSimLink::RPCDigiSimLink().
bool spr::validSimTrack | ( | unsigned int | simTkId, |
edm::SimTrackContainer::const_iterator | thisTrkItr, | ||
edm::Handle< edm::SimTrackContainer > & | SimTk, | ||
edm::Handle< edm::SimVertexContainer > & | SimVtx, | ||
bool | debug = false |
||
) |
Definition at line 118 of file MatchingSimTrack.cc.
References begin, gather_cfg::cout, and dbtoconf::parent.
Referenced by matchedSimTrackId(), and matchedSimTrackInfo().