9 #ifndef CalibrationIsolatedParticlesCaloSimInfo_h
10 #define CalibrationIsolatedParticlesCaloSimInfo_h
56 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);
59 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);
63 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);
67 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);
69 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);
73 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);
77 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);
99 #include "Calibration/IsolatedParticles/interface/CaloSimInfo.icc"
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)
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)
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)
double timeOfFlight(DetId id, const CaloGeometry *geo, bool debug=false)