1 #ifndef PhotonConversionFinderFromTracks_H
2 #define PhotonConversionFinderFromTracks_H
29 #include "boost/foreach.hpp"
31 inline bool lt_(std::pair<double,short>
a, std::pair<double,short>
b) {
return a.first<b.first; }
84 typedef std::vector<TrackingRegion* >
Regions;
85 typedef Regions::const_iterator
IR;
106 std::stringstream
ss;
edm::EDGetTokenT< reco::BeamSpot > token_bs
SeedForPhotonConversion1Leg * theSeedCreator
void analyze(const edm::Event &event, const edm::EventSetup &setup)
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
IdealHelixParameters _IdealHelixParameters
ClusterChecker theClusterCheck
edm::InputTag _primaryVtxInputTag
std::vector< Vertex > VertexCollection
collection of Vertex objects
TrajectorySeedCollection * seedCollection
std::vector< TrackingRegion * > Regions
reco::Vertex primaryVertex
const edm::EventSetup * myEsetup
const edm::ParameterSet _conf
edm::EDGetTokenT< reco::TrackCollection > token_refitter
edm::ParameterSet creatorPSet
std::vector< TrajectorySeed > TrajectorySeedCollection
const MagneticField * magField
edm::InputTag _beamSpotInputTag
edm::Handle< TrajTrackAssociationCollection > trajTrackAssociations
IdealHelixParameters * getIdealHelixParameters()
edm::EDGetTokenT< reco::VertexCollection > token_vertex
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 ®ion, math::XYZPoint &primaryVertexPoint)
~PhotonConversionTrajectorySeedProducerFromSingleLegAlgo()
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
bool _applyTkVtxConstraint
void loopOnPriVtx(const reco::Track &tk, const std::vector< reco::Vertex > &selectedPriVtxCompatibleWithTrack)
const edm::Event * myEvent
XYZPointD XYZPoint
point in space with cartesian internal representation
const reco::BeamSpot * theBeamSpot
bool rejectTrack(const reco::Track &track)
TrajectorySeedCollection * seedCollectionOfSourceTracks
TrajectorySeedCollection * getTrajectorySeedCollection()
reco::VertexCollection vertexCollection
edm::Handle< reco::VertexCollection > vertexHandle
std::unique_ptr< CombinedHitPairGeneratorForPhotonConversion > theHitsGenerator
bool theSilentOnClusterCheck
bool lt_(std::pair< double, short > a, std::pair< double, short > b)
Regions::const_iterator IR
edm::Handle< reco::BeamSpot > recoBeamSpotHandle
edm::Handle< reco::TrackCollection > trackCollectionH
TrajectorySeedCollection * getTrajectorySeedCollectionOfSourceTracks()
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
bool selectPriVtxCompatibleWithTrack(const reco::Track &tk, std::vector< reco::Vertex > &selectedPriVtxCompatibleWithTrack)