test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 endJob() ;
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 
78  int algo_fail;
79  int flag_fail;
82  int TkVtxC;
87 
89 
90 };
91 
92 #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_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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