CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
embeddingAuxFunctions.h
Go to the documentation of this file.
1 #ifndef TauAnalysis_MCEmbeddingTools_embeddingAuxFunctions_h
2 #define TauAnalysis_MCEmbeddingTools_embeddingAuxFunctions_h
3 
19 
26 
30 
31 #include "HepMC/IO_HEPEVT.h"
32 
33 std::vector<reco::CandidateBaseRef> getSelMuons(const edm::Event&, const edm::InputTag&);
34 
35 reco::CandidateBaseRef getTheMuPlus(const std::vector<reco::CandidateBaseRef>&);
36 reco::CandidateBaseRef getTheMuMinus(const std::vector<reco::CandidateBaseRef>&);
37 
39 
40 bool matchMuonDetId(uint32_t, uint32_t);
41 void printMuonDetId(const edm::EventSetup&, uint32_t);
42 
43 void repairBarcodes(HepMC::GenEvent*);
44 
45 const reco::GenParticle* findGenParticleForMCEmbedding(const reco::Candidate::LorentzVector&, const reco::GenParticleCollection&, double, int, const std::vector<int>*, bool);
46 
49 
51 
52 double getDeDxForPbWO4(double);
53 
54 const double DENSITY_PBWO4 = 8.28;
55 const double DENSITY_BRASS = 8.53;
56 const double DENSITY_IRON = 7.87;
57 
58 #endif
const double DENSITY_PBWO4
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
reco::CandidateBaseRef getTheMuMinus(const std::vector< reco::CandidateBaseRef > &)
const double DENSITY_IRON
bool matchMuonDetId(uint32_t, uint32_t)
TrackDetMatchInfo getTrackDetMatchInfo(const edm::Event &, const edm::EventSetup &, TrackDetectorAssociator &, const TrackAssociatorParameters &, const reco::Candidate *)
void compGenTauP4afterRad(const reco::GenParticle *, reco::Candidate::LorentzVector &)
const double DENSITY_BRASS
double getDeDxForPbWO4(double)
const reco::GenParticle * findGenParticleForMCEmbedding(const reco::Candidate::LorentzVector &, const reco::GenParticleCollection &, double, int, const std::vector< int > *, bool)
void compGenMuonP4afterRad(const reco::GenParticle *, reco::Candidate::LorentzVector &)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
void repairBarcodes(HepMC::GenEvent *)
void printMuonDetId(const edm::EventSetup &, uint32_t)
void findMuons(const edm::Event &, const edm::InputTag &, reco::Candidate::LorentzVector &, bool &, reco::Candidate::LorentzVector &, bool &)
std::vector< reco::CandidateBaseRef > getSelMuons(const edm::Event &, const edm::InputTag &)
reco::CandidateBaseRef getTheMuPlus(const std::vector< reco::CandidateBaseRef > &)