1 #ifndef CalibrationIsolatedParticlesCaloSimInfoExtra_h
2 #define CalibrationIsolatedParticlesCaloSimInfoExtra_h
38 std::vector<std::pair<DetId,double> >
matched;
39 std::vector<std::pair<DetId,double> >
gamma;
40 std::vector<std::pair<DetId,double> >
charged;
41 std::vector<std::pair<DetId,double> >
neutral;
42 std::vector<std::pair<DetId,double> >
rest;
43 std::vector<std::pair<DetId,double> >
all;
48 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);
51 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);
54 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);
58 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);
61 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);
69 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);
72 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);
75 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);
78 #include "Calibration/IsolatedParticles/interface/CaloSimInfoExtra.icc"
std::vector< std::pair< DetId, double > > gamma
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)
std::vector< std::pair< DetId, double > > matched
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)
std::vector< std::pair< DetId, double > > charged
std::vector< std::pair< DetId, double > > all
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::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)
std::vector< std::pair< DetId, double > > rest
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)
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)
std::vector< std::pair< DetId, double > > neutral
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)
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)
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)