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 
14 
16 
21 
23 
26 
27 #include "sstream"
28 #include "boost/foreach.hpp"
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 
39 
40  void init();
41  void clear();
42 
43  void analyze(const edm::Event & event, const edm::EventSetup & setup);
47 
48  private:
49 
50  void loopOnTracks();
51  bool inspectTrack(const reco::Track* track, const TrackingRegion & region, math::XYZPoint& primaryVertexPoint);
52 
53  bool rejectTrack(const reco::Track& track);
54 
55  bool selectPriVtxCompatibleWithTrack(const reco::Track& tk, std::vector<reco::Vertex>& selectedPriVtxCompatibleWithTrack);
56  void loopOnPriVtx(const reco::Track& tk, const std::vector<reco::Vertex>& selectedPriVtxCompatibleWithTrack);
57 
58  //Data Members
60 
66 
67 
69 
72 
74  size_t _maxNumSelVtx;
78 
79  typedef std::vector<TrackingRegion* > Regions;
80  typedef Regions::const_iterator IR;
82 
85 
88 
92 
94 
98 
100 
101  std::stringstream ss;
102 
103 };
104 #endif
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
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
bool inspectTrack(const reco::Track *track, const TrackingRegion &region, math::XYZPoint &primaryVertexPoint)
void loopOnPriVtx(const reco::Track &tk, const std::vector< reco::Vertex > &selectedPriVtxCompatibleWithTrack)
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
double b
Definition: hdecay.h:120
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="")
bool selectPriVtxCompatibleWithTrack(const reco::Track &tk, std::vector< reco::Vertex > &selectedPriVtxCompatibleWithTrack)