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 
49 
50 
51 
52 
54 {
55  public:
56 
57  explicit TrackAlgoCompareUtil(const edm::ParameterSet&);
58  ~TrackAlgoCompareUtil() override;
59 
60  private:
61 
62  void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
63 
64  void SetTrackingParticleD0Dz(TrackingParticleRef tp, const reco::BeamSpot &bs, const MagneticField *bf, TPtoRecoTrack& TPRT) const;
65  void SetTrackingParticleD0Dz(TrackingParticleRef tp, const reco::BeamSpot &bs, const MagneticField *bf, RecoTracktoTP& RTTP) const;
66 
67  // ----------member data ---------------------------
81  const bool UseAssociators;
82  const bool UseVertex;
83 
84 };
85 
86 
87 //define this as a plug-in
edm::EDGetTokenT< reco::SimToRecoCollection > associatormap_algoB_simToReco
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > assocLabel_algoA
edm::EDGetTokenT< reco::VertexCollection > vertexLabel_algoA
edm::EDGetTokenT< TrackingParticleCollection > trackingParticleLabel_effic
void SetTrackingParticleD0Dz(TrackingParticleRef tp, const reco::BeamSpot &bs, const MagneticField *bf, TPtoRecoTrack &TPRT) const
edm::EDGetTokenT< reco::RecoToSimCollection > associatormap_algoA_recoToSim
edm::EDGetTokenT< reco::VertexCollection > vertexLabel_algoB
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::EDGetTokenT< reco::BeamSpot > beamSpotLabel
edm::EDGetTokenT< edm::View< reco::Track > > trackLabel_algoA
TrackAlgoCompareUtil(const edm::ParameterSet &)
edm::EDGetTokenT< reco::SimToRecoCollection > associatormap_algoA_simToReco
edm::EDGetTokenT< TrackingParticleCollection > trackingParticleLabel_fakes
edm::EDGetTokenT< edm::View< reco::Track > > trackLabel_algoB
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > assocLabel_algoB
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< reco::RecoToSimCollection > associatormap_algoB_recoToSim