CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h
Go to the documentation of this file.
1 #ifndef PhotonConversionFinderFromTracks_H
2 #define PhotonConversionFinderFromTracks_H
3 
9 
12 
13 #include "IdealHelixParameters.h"
14 
15 #include "PrintRecoObjects.h"
16 
21 
23 
27 
28 #include <sstream>
29 
30 inline bool lt_(std::pair<double,short> a, std::pair<double,short> b) { return a.first<b.first; }
31 
33 
34 
35  public:
36 
40 
42 
43  IdealHelixParameters* getIdealHelixParameters(){return &_IdealHelixParameters;}
44 
45  private:
46 
47  void loopOnTracks();
48  bool inspectTrack(const reco::Track* track, const TrackingRegion & region, math::XYZPoint& primaryVertexPoint);
49 
50  bool rejectTrack(const reco::Track& track);
51 
52  bool selectPriVtxCompatibleWithTrack(const reco::Track& tk, std::vector<reco::Vertex>& selectedPriVtxCompatibleWithTrack);
53  void loopOnPriVtx(const reco::Track& tk, const std::vector<reco::Vertex>& selectedPriVtxCompatibleWithTrack);
54 
55  //Data Members
56 
57  TrajectorySeedCollection * seedCollection=nullptr;
58 
59  std::unique_ptr<CombinedHitPairGeneratorForPhotonConversion> theHitsGenerator;
60  std::unique_ptr<SeedForPhotonConversion1Leg> theSeedCreator;
61  std::unique_ptr<GlobalTrackingRegionProducerFromBeamSpot> theRegionProducer;
62 
63 
66 
67  double _vtxMinDoF, _maxDZSigmas;
68  size_t _maxNumSelVtx;
71  edm::InputTag _primaryVtxInputTag, _beamSpotInputTag;
75 
76  typedef std::vector<TrackingRegion* > Regions;
77  typedef Regions::const_iterator IR;
79 
81 
84 
88 
90 
93 
95 
96  std::stringstream ss;
97 
98 };
99 #endif
#define dso_hidden
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
std::vector< TrajectorySeed > TrajectorySeedCollection
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
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
double b
Definition: hdecay.h:120
std::unique_ptr< CombinedHitPairGeneratorForPhotonConversion > theHitsGenerator
double a
Definition: hdecay.h:121
bool lt_(std::pair< double, short > a, std::pair< double, short > b)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")