CMS 3D CMS Logo

TracktoRPC.h
Go to the documentation of this file.
1 #ifndef TRACKTORPC_H
2 #define TRACKTORPC_H
3 
9 
16 
26 
31 
35 
45 
49 
50 #include <memory>
51 
52 class RPCGeometry;
53 class DTGeometry;
54 class DTObjectMap;
55 class CSCGeometry;
56 class CSCObjectMap;
57 class MuonGeometryRecord;
58 class Propagator;
60 
63 typedef std::vector<Trajectory> Trajectories;
64 
65 class TracktoRPC {
66 public:
67  TracktoRPC(const edm::ParameterSet& iConfig, const edm::InputTag& tracklabel, edm::ConsumesCollector iC);
68  std::unique_ptr<RPCRecHitCollection> thePoints(reco::TrackCollection const* alltracks,
69  edm::EventSetup const& iSetup,
70  bool debug);
71 
72 private:
73  bool ValidRPCSurface(RPCDetId rpcid, LocalPoint LocalP, const RPCGeometry* rpcGeo);
74 
81  std::unique_ptr<TrackTransformerBase> theTrackTransformer;
82 };
83 
84 #endif
edm::ESGetToken< DTObjectMap, MuonGeometryRecord > dtMapToken_
Definition: TracktoRPC.h:77
edm::ESGetToken< CSCObjectMap, MuonGeometryRecord > cscMapToken_
Definition: TracktoRPC.h:79
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
std::vector< Trajectory > Trajectories
Definition: TracktoRPC.h:63
std::unique_ptr< TrackTransformerBase > theTrackTransformer
Definition: TracktoRPC.h:81
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
TracktoRPC(const edm::ParameterSet &iConfig, const edm::InputTag &tracklabel, edm::ConsumesCollector iC)
Definition: TracktoRPC.cc:54
std::unique_ptr< RPCRecHitCollection > thePoints(reco::TrackCollection const *alltracks, edm::EventSetup const &iSetup, bool debug)
Definition: TracktoRPC.cc:69
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorToken_
Definition: TracktoRPC.h:80
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscGeoToken_
Definition: TracktoRPC.h:78
bool ValidRPCSurface(RPCDetId rpcid, LocalPoint LocalP, const RPCGeometry *rpcGeo)
Definition: TracktoRPC.cc:21
#define debug
Definition: HDRShower.cc:19
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeoToken_
Definition: TracktoRPC.h:76
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeoToken_
Definition: TracktoRPC.h:75