1 #ifndef RecoEgamma_EgammaPhotonProducers_ConvertedPhotonProducer_h
2 #define RecoEgamma_EgammaPhotonProducers_ConvertedPhotonProducer_h
virtual void beginRun(edm::Run &r, edm::EventSetup const &es)
edm::ESHandle< CaloGeometry > theCaloGeom_
ConversionTrackPairFinder * theTrackPairFinder_
edm::ESHandle< TransientTrackBuilder > theTransientTrackBuilder_
ConversionVertexFinder * theVertexFinder_
std::string CleanedConvertedPhotonCollection_
edm::InputTag bcBarrelCollection_
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
double minApproachDisCut_
void cleanCollections(const edm::Handle< edm::View< reco::CaloCluster > > &scHandle, const edm::OrphanHandle< reco::ConversionCollection > &conversionHandle, reco::ConversionCollection &outputCollection)
std::string outInTrackSCAssociationCollection_
std::string conversionIOTrackProducer_
void buildCollections(edm::EventSetup const &es, const edm::Handle< edm::View< reco::CaloCluster > > &scHandle, const edm::Handle< edm::View< reco::CaloCluster > > &bcHandle, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, const edm::Handle< reco::TrackCollection > &trkHandle, std::map< std::vector< reco::TransientTrack >, reco::CaloClusterPtr > &allPairs, reco::ConversionCollection &outputConvPhotonCollection)
virtual void endRun(edm::Run &r, edm::EventSetup const &es)
double dRForConversionRecovery_
float calculateMinApproachDistance(const reco::TrackRef &track1, const reco::TrackRef &track2)
edm::InputTag scHybridBarrelProducer_
std::string likelihoodWeights_
std::string conversionOITrackProducer_
std::string ConvertedPhotonCollection_
std::string inOutTrackSCAssociationCollection_
edm::ESHandle< MagneticField > theMF_
ConversionTrackEcalImpactPoint * theEcalImpactPositionFinder_
ConvertedPhotonProducer(const edm::ParameterSet &ps)
virtual void produce(edm::Event &evt, const edm::EventSetup &es)
~ConvertedPhotonProducer()
std::vector< reco::ConversionRef > solveAmbiguity(const edm::OrphanHandle< reco::ConversionCollection > &conversionHandle, reco::CaloClusterPtr &sc)
edm::InputTag hcalTowers_
edm::InputTag scIslandEndcapProducer_
ConversionLikelihoodCalculator * theLikelihoodCalc_
edm::InputTag bcEndcapCollection_
bool recoverOneTrackCase_
void getCircleCenter(const reco::TrackRef &tk, double r, double &x0, double &y0)