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 
29 
30 #include <vector>
31 
38 public:
40 
41 private:
42  void produce(edm::Event& event, const edm::EventSetup& esetup) override;
43  void endStream() override;
46  bool foundCompatibleInnerHits(const reco::HitPattern& hitPatA, const reco::HitPattern& hitPatB);
50  int PackFlags(const reco::Conversion&, bool, bool, bool, bool, bool);
52  bool CheckPi0(const reco::Conversion&, const reco::PFCandidateCollection&, bool&);
53 
57 
59  uint32_t sigmaTkVtxComp_;
61  uint32_t TkMinNumOfDOF_;
64  double _trackchi2Cut;
68  // low and high window limits
69  std::vector<double> pi0SmallWindow_;
70  std::vector<double> pi0LargeWindow_;
71 
72  int convAlgo_;
73  std::vector<int> convQuality_;
74 
76  std::unique_ptr<StringCutObjectSelector<reco::Conversion>> convSelection_;
77 };
78 
79 #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
std::unique_ptr< StringCutObjectSelector< reco::Conversion > > convSelection_
bool checkTkVtxCompatibility(const reco::Conversion &, const reco::VertexCollection &)
void produce(edm::Event &event, const edm::EventSetup &esetup) override
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:36
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