CMS 3D CMS Logo

OniaPhotonConversionProducer.h
Go to the documentation of this file.
1 
9 #ifndef __OniaPhotonConversionProducer_h_
10 #define __OniaPhotonConversionProducer_h_
11 
17 
20 
27 
28 
29 #include <vector>
30 
37 
38  public:
40 
41  private:
42 
43  virtual void produce(edm::Event& event, const edm::EventSetup& esetup);
44  virtual void endStream();
47  bool foundCompatibleInnerHits(const reco::HitPattern& hitPatA, const reco::HitPattern& hitPatB);
51  int PackFlags(const reco::Conversion&, bool, bool , bool, bool, bool);
53  bool CheckPi0( const reco::Conversion&, const reco::PFCandidateCollection&, bool &);
54 
58 
60  uint32_t sigmaTkVtxComp_;
62  uint32_t TkMinNumOfDOF_;
65  double _trackchi2Cut;
69 // low and high window limits
70  std::vector<double> pi0SmallWindow_;
71  std::vector<double> pi0LargeWindow_;
72 
73  int convAlgo_;
74  std::vector<int> convQuality_;
75 
77 
78 };
79 
80 #endif
Analysis-level particle class.
bool foundCompatibleInnerHits(const reco::HitPattern &hitPatA, const reco::HitPattern &hitPatB)
reco::Candidate::LorentzVector convertVector(const math::XYZTLorentzVectorF &)
bool HighpuritySubset(const reco::Conversion &, const reco::VertexCollection &)
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
virtual void produce(edm::Event &event, const edm::EventSetup &esetup)
bool checkTkVtxCompatibility(const reco::Conversion &, const reco::VertexCollection &)
int PackFlags(const reco::Conversion &, bool, bool, bool, bool, bool)
edm::EDGetTokenT< reco::VertexCollection > thePVsToken_
const reco::PFCandidateCollection selectPFPhotons(const reco::PFCandidateCollection &)
OniaPhotonConversionProducer(const edm::ParameterSet &ps)
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
edm::EDGetTokenT< reco::ConversionCollection > convCollectionToken_
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandidateCollectionToken_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
bool CheckPi0(const reco::Conversion &, const reco::PFCandidateCollection &, bool &)
pat::CompositeCandidate * makePhotonCandidate(const reco::Conversion &)
void removeDuplicates(reco::ConversionCollection &)
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:22
Definition: event.py:1