8 #ifndef CalibrationIsolatedParticlesCaloSimInfo_h
9 #define CalibrationIsolatedParticlesCaloSimInfo_h
55 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);
58 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);
62 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);
66 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);
68 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);
72 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);
76 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);
98 #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)
CaloTopology const * topology(0)
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)