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
def setup(process, global_tag, zero_tesla=False)
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
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
bool _applyTkVtxConstraint
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
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
std::vector< std::unique_ptr< TrackingRegion > > Regions