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
reco::Conversion
Definition: Conversion.h:23
CompositeCandidate.h
OniaPhotonConversionProducer::pi0LargeWindow_
std::vector< double > pi0LargeWindow_
Definition: OniaPhotonConversionProducer.h:70
OniaPhotonConversionProducer::_minDistanceOfApproachMinCut
double _minDistanceOfApproachMinCut
Definition: OniaPhotonConversionProducer.h:65
edm::EDGetTokenT< reco::ConversionCollection >
pat::CompositeCandidate
Analysis-level particle class.
Definition: CompositeCandidate.h:31
math::XYZTLorentzVectorF
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:22
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
OniaPhotonConversionProducer::convSelection_
std::unique_ptr< StringCutObjectSelector< reco::Conversion > > convSelection_
Definition: OniaPhotonConversionProducer.h:76
OniaPhotonConversionProducer
Definition: OniaPhotonConversionProducer.h:37
OniaPhotonConversionProducer::TkMinNumOfDOF_
uint32_t TkMinNumOfDOF_
Definition: OniaPhotonConversionProducer.h:61
EDProducer.h
OniaPhotonConversionProducer::_vertexChi2ProbCut
double _vertexChi2ProbCut
Definition: OniaPhotonConversionProducer.h:63
OniaPhotonConversionProducer::pi0OnlineSwitch_
bool pi0OnlineSwitch_
Definition: OniaPhotonConversionProducer.h:67
ConversionFwd.h
OniaPhotonConversionProducer::_trackchi2Cut
double _trackchi2Cut
Definition: OniaPhotonConversionProducer.h:64
OniaPhotonConversionProducer::HighpuritySubset
bool HighpuritySubset(const reco::Conversion &, const reco::VertexCollection &)
Definition: OniaPhotonConversionProducer.cc:290
reco::ConversionCollection
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
MakerMacros.h
reco::HitPattern
Definition: HitPattern.h:147
OniaPhotonConversionProducer::produce
void produce(edm::Event &event, const edm::EventSetup &esetup) override
Definition: OniaPhotonConversionProducer.cc:82
OniaPhotonConversionProducer::convQuality_
std::vector< int > convQuality_
Definition: OniaPhotonConversionProducer.h:73
OniaPhotonConversionProducer::pfCandidateCollectionToken_
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandidateCollectionToken_
Definition: OniaPhotonConversionProducer.h:56
OniaPhotonConversionProducer::selectPFPhotons
const reco::PFCandidateCollection selectPFPhotons(const reco::PFCandidateCollection &)
Definition: OniaPhotonConversionProducer.cc:342
OniaPhotonConversionProducer::checkTkVtxCompatibility
bool checkTkVtxCompatibility(const reco::Conversion &, const reco::VertexCollection &)
Definition: OniaPhotonConversionProducer.cc:234
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
OniaPhotonConversionProducer::PackFlags
int PackFlags(const reco::Conversion &, bool, bool, bool, bool, bool)
Definition: OniaPhotonConversionProducer.cc:173
OniaPhotonConversionProducer::pi0SmallWindow_
std::vector< double > pi0SmallWindow_
Definition: OniaPhotonConversionProducer.h:69
OniaPhotonConversionProducer::OniaPhotonConversionProducer
OniaPhotonConversionProducer(const edm::ParameterSet &ps)
Definition: OniaPhotonConversionProducer.cc:49
edm::stream::EDProducer
Definition: EDProducer.h:38
OniaPhotonConversionProducer::sigmaTkVtxComp_
uint32_t sigmaTkVtxComp_
Definition: OniaPhotonConversionProducer.h:59
edm::EventSetup
Definition: EventSetup.h:58
HitPattern.h
OniaPhotonConversionProducer::convCollectionToken_
edm::EDGetTokenT< reco::ConversionCollection > convCollectionToken_
Definition: OniaPhotonConversionProducer.h:54
InputTag.h
VertexFwd.h
StringCutObjectSelector.h
Frameworkfwd.h
OniaPhotonConversionProducer::thePVsToken_
edm::EDGetTokenT< reco::VertexCollection > thePVsToken_
Definition: OniaPhotonConversionProducer.h:55
OniaPhotonConversionProducer::foundCompatibleInnerHits
bool foundCompatibleInnerHits(const reco::HitPattern &hitPatA, const reco::HitPattern &hitPatB)
Definition: OniaPhotonConversionProducer.cc:268
OniaPhotonConversionProducer::wantTkVtxCompatibility_
bool wantTkVtxCompatibility_
Definition: OniaPhotonConversionProducer.h:58
reco::PFCandidateCollection
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Definition: PFCandidateFwd.h:12
OniaPhotonConversionProducer::removeDuplicates
void removeDuplicates(reco::ConversionCollection &)
Definition: OniaPhotonConversionProducer.cc:215
OniaPhotonConversionProducer::CheckPi0
bool CheckPi0(const reco::Conversion &, const reco::PFCandidateCollection &, bool &)
Definition: OniaPhotonConversionProducer.cc:352
ConsumesCollector.h
ParameterSet.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
OniaPhotonConversionProducer::wantHighpurity_
bool wantHighpurity_
Definition: OniaPhotonConversionProducer.h:62
event
Definition: event.py:1
OniaPhotonConversionProducer::convSelectionCuts_
std::string convSelectionCuts_
Definition: OniaPhotonConversionProducer.h:75
edm::Event
Definition: Event.h:73
OniaPhotonConversionProducer::convAlgo_
int convAlgo_
Definition: OniaPhotonConversionProducer.h:72
OniaPhotonConversionProducer::endStream
void endStream() override
Definition: OniaPhotonConversionProducer.cc:383
OniaPhotonConversionProducer::makePhotonCandidate
pat::CompositeCandidate * makePhotonCandidate(const reco::Conversion &)
Definition: OniaPhotonConversionProducer.cc:330
PFCandidateFwd.h
OniaPhotonConversionProducer::wantCompatibleInnerHits_
bool wantCompatibleInnerHits_
Definition: OniaPhotonConversionProducer.h:60
OniaPhotonConversionProducer::convertVector
reco::Candidate::LorentzVector convertVector(const math::XYZTLorentzVectorF &)
Definition: OniaPhotonConversionProducer.cc:379
OniaPhotonConversionProducer::_minDistanceOfApproachMaxCut
double _minDistanceOfApproachMaxCut
Definition: OniaPhotonConversionProducer.h:66