1 #ifndef JetMatchingTools_h 2 #define JetMatchingTools_h 45 std::vector <const CaloTower*> getConstituents (
const reco::CaloJet& fJet ) ;
47 std::vector <JetConstituent> getConstituentHits(
const CaloTower& fTower);
49 std::vector <DetId> getConstituentIds (
const CaloTower& fTower) ;
51 std::vector <const PCaloHit*> getPCaloHits (
DetId fId) ;
53 int getTrackId (
const PCaloHit& fHit) ;
57 int generatorId (
unsigned fSimTrackId) ;
61 std::vector <const reco::GenParticle*> getGenParticles (
const reco::CaloJet& fJet,
bool fVerbose =
true);
63 std::vector <const reco::GenParticle*> getGenParticles (
const reco::GenJet& fJet);
67 std::vector <const PCaloHit*> getPCaloHits (
int fGeneratorId);
69 std::vector <const CaloTower*> getCaloTowers (
int fGeneratorId);
75 double overlapEnergyFraction (
const std::vector <const reco::GenParticle*>& fObject,
76 const std::vector <const reco::GenParticle*>& fReference)
const;
std::vector< PCaloHit > PCaloHitContainer
Jets made from CaloTowers.
Jets made from MC generator particles.
static const TrackGhostTrackState * getTrack(const BasicGhostTrackState *basic)
std::vector< SimVertex > SimVertexContainer
std::vector< SimTrack > SimTrackContainer