8 #ifndef CalibrationIsolatedParticlesCaloSimInfo_h 9 #define CalibrationIsolatedParticlesCaloSimInfo_h 104 double timeCut = 150,
108 template <
typename T>
120 double timeCut = 150,
121 bool includeHO =
false,
123 template <
typename T>
136 double timeCut = 150,
137 bool includeHO =
false,
141 template <
typename T>
156 double timeCut = 150,
157 bool includeHO =
false,
161 template <
typename T>
172 std::vector<int>& multiplicityVector,
176 template <
typename T>
183 edm::SimTrackContainer::const_iterator trkInfo,
185 double timeCut = 150,
187 template <
typename T>
192 std::vector<typename T::const_iterator>
hit,
193 edm::SimTrackContainer::const_iterator trkInfo,
195 double timeCut = 150,
196 bool includeHO =
false,
201 template <
typename T>
209 double timeCut = 150,
210 bool includeHO =
false,
213 template <
typename T>
222 double timeCut = 150,
225 template <
typename T>
229 std::vector<typename T::const_iterator>
hit,
230 edm::SimTrackContainer::const_iterator trkInfo,
231 std::vector<int>& multiplicityVector,
237 #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)
CaloTopology const * topology(0)
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)