1 #ifndef PhotonConversionFinderFromTracks_H
2 #define PhotonConversionFinderFromTracks_H
30 inline bool lt_(std::pair<double,short>
a, std::pair<double,short>
b) {
return a.first<b.first; }
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);
76 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
77 typedef Regions::const_iterator
IR;
edm::EDGetTokenT< reco::BeamSpot > token_bs
IdealHelixParameters _IdealHelixParameters
std::unique_ptr< SeedForPhotonConversion1Leg > theSeedCreator
ClusterChecker theClusterCheck
edm::InputTag _primaryVtxInputTag
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
reco::Vertex primaryVertex
const edm::EventSetup * myEsetup
edm::EDGetTokenT< reco::TrackCollection > token_refitter
std::vector< TrajectorySeed > TrajectorySeedCollection
const MagneticField * magField
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
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
bool _applyTkVtxConstraint
bool lt_(std::pair< double, short > a, std::pair< double, short > b)
const edm::Event * myEvent
XYZPointD XYZPoint
point in space with cartesian internal representation
const reco::BeamSpot * theBeamSpot
edm::Handle< reco::VertexCollection > vertexHandle
std::unique_ptr< CombinedHitPairGeneratorForPhotonConversion > theHitsGenerator
bool theSilentOnClusterCheck
Regions::const_iterator IR
edm::Handle< reco::BeamSpot > recoBeamSpotHandle
edm::Handle< reco::TrackCollection > trackCollectionH
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::vector< std::unique_ptr< TrackingRegion > > Regions