CMS 3D CMS Logo

TrackAlgoCompareUtil.h
Go to the documentation of this file.
1 // Original Author: Ryan Kelley (UCSD)
2 // Created: Mon Feb 25 19:25:11 PST 2008
3 
4 // system include files
5 #include <memory>
6 
7 // user include files
16 
17 // Tracking Specific Includes
28 
29 // Track Association Methods
35 
36 // physics tools
38 
39 // Producer objects
44 
45 #include <string>
46 #include <vector>
47 #include <TMath.h>
48 
50 public:
51  explicit TrackAlgoCompareUtil(const edm::ParameterSet &);
52  ~TrackAlgoCompareUtil() override;
53 
54 private:
55  void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
56 
58  const reco::BeamSpot &bs,
59  const MagneticField *bf,
60  TPtoRecoTrack &TPRT) const;
62  const reco::BeamSpot &bs,
63  const MagneticField *bf,
64  RecoTracktoTP &RTTP) const;
65 
66  // ----------member data ---------------------------
81  const bool UseAssociators;
82  const bool UseVertex;
83 };
84 
85 //define this as a plug-in
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magField
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::EDGetTokenT< reco::SimToRecoCollection > associatormap_algoB_simToReco
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > assocLabel_algoA
edm::EDGetTokenT< reco::VertexCollection > vertexLabel_algoA
const edm::EDGetTokenT< TrackingParticleCollection > trackingParticleLabel_effic
edm::EDGetTokenT< reco::RecoToSimCollection > associatormap_algoA_recoToSim
const edm::EDGetTokenT< edm::View< reco::Track > > trackLabel_algoA
edm::EDGetTokenT< reco::VertexCollection > vertexLabel_algoB
const edm::EDGetTokenT< TrackingParticleCollection > trackingParticleLabel_fakes
const edm::EDGetTokenT< edm::View< reco::Track > > trackLabel_algoB
TrackAlgoCompareUtil(const edm::ParameterSet &)
edm::EDGetTokenT< reco::SimToRecoCollection > associatormap_algoA_simToReco
const edm::EDGetTokenT< reco::BeamSpot > beamSpotLabel
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > assocLabel_algoB
void SetTrackingParticleD0Dz(TrackingParticleRef tp, const reco::BeamSpot &bs, const MagneticField *bf, TPtoRecoTrack &TPRT) const
edm::EDGetTokenT< reco::RecoToSimCollection > associatormap_algoB_recoToSim
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override