8 #ifndef CalibrationIsolatedParticlesCaloSimInfo_h
9 #define CalibrationIsolatedParticlesCaloSimInfo_h
55 std::vector<std::pair<DetId, double> >
matched;
56 std::vector<std::pair<DetId, double> >
gamma;
57 std::vector<std::pair<DetId, double> >
charged;
58 std::vector<std::pair<DetId, double> >
neutral;
59 std::vector<std::pair<DetId, double> >
rest;
60 std::vector<std::pair<DetId, double> >
all;
114 double timeCut = 150,
118 template <
typename T>
130 double timeCut = 150,
131 bool includeHO =
false,
133 template <
typename T>
146 double timeCut = 150,
147 bool includeHO =
false,
151 template <
typename T>
166 double timeCut = 150,
167 bool includeHO =
false,
171 template <
typename T>
182 std::vector<int>& multiplicityVector,
186 template <
typename T>
193 edm::SimTrackContainer::const_iterator trkInfo,
195 double timeCut = 150,
197 template <
typename T>
202 std::vector<typename T::const_iterator>
hit,
203 edm::SimTrackContainer::const_iterator trkInfo,
205 double timeCut = 150,
206 bool includeHO =
false,
211 template <
typename T>
219 double timeCut = 150,
220 bool includeHO =
false,
223 template <
typename T>
232 double timeCut = 150,
235 template <
typename T>
239 std::vector<typename T::const_iterator>
hit,
240 edm::SimTrackContainer::const_iterator trkInfo,
241 std::vector<int>& multiplicityVector,
247 template <
typename T>
258 double timeCut = 150,
261 template <
typename T>
275 double timeCut = 150,
278 template <
typename T>
291 double timeCut = 150,
295 template <
typename T>
308 double timeCut = 150,
309 bool includeHO =
false,
312 template <
typename T>
324 double timeCut = 150,
325 bool includeHO =
false,
329 template <
typename T>
334 std::vector<typename T::const_iterator>
hit,
335 edm::SimTrackContainer::const_iterator trkInfo,
336 double timeCut = 150,
337 bool includeHO =
false,
341 template <
typename T>
354 template <
typename T>
366 bool includeHO =
false,
369 template <
typename T>
371 std::vector<int> matchedId,
372 std::vector<typename T::const_iterator> caloHits,
374 bool includeHO =
false,
378 #include "Calibration/IsolatedParticles/interface/CaloSimInfo.icc"
std::vector< std::pair< DetId, double > > charged
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::vector< std::pair< DetId, double > > gamma
std::vector< std::pair< DetId, double > > neutral
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
std::vector< std::pair< DetId, double > > rest
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::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< std::pair< DetId, double > > all
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< 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 > 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)
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)
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)
double timeOfFlight(DetId id, const CaloGeometry *geo, 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)