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 
39  public:
41 
42  private:
43 
44  void produce(edm::Event& event, const edm::EventSetup& esetup) override;
45  void endStream() override;
48  bool foundCompatibleInnerHits(const reco::HitPattern& hitPatA, const reco::HitPattern& hitPatB);
52  int PackFlags(const reco::Conversion&, bool, bool , bool, bool, bool);
54  bool CheckPi0( const reco::Conversion&, const reco::PFCandidateCollection&, bool &);
55 
59 
61  uint32_t sigmaTkVtxComp_;
63  uint32_t TkMinNumOfDOF_;
66  double _trackchi2Cut;
70 // low and high window limits
71  std::vector<double> pi0SmallWindow_;
72  std::vector<double> pi0LargeWindow_;
73 
74  int convAlgo_;
75  std::vector<int> convQuality_;
76 
78  std::unique_ptr<StringCutObjectSelector<reco::Conversion>> convSelection_;
79 };
80 
81 #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: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