RecoLocalMuon
RPCRecHit
interface
TracktoRPC.h
Go to the documentation of this file.
1
#ifndef TRACKTORPC_H
2
#define TRACKTORPC_H
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/MakerMacros.h
"
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/ServiceRegistry/interface/Service.h
"
11
12
#include "
DataFormats/TrackReco/interface/Track.h
"
13
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
14
#include "
DataFormats/TrackReco/interface/TrackExtraFwd.h
"
15
#include "
DataFormats/MuonReco/interface/MuonTrackLinks.h
"
16
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
17
#include "
DataFormats/MuonReco/interface/Muon.h
"
18
19
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
20
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
21
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
22
#include "
TrackingTools/TransientTrack/interface/TransientTrackBuilder.h
"
23
#include "
TrackingTools/Records/interface/TransientTrackRecord.h
"
24
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
25
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
26
#include "
TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h
"
27
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h
"
28
29
#include "
RecoMuon/DetLayers/interface/MuonDetLayerGeometry.h
"
30
#include "
RecoMuon/Records/interface/MuonRecoGeometryRecord.h
"
31
#include "
RecoMuon/MeasurementDet/interface/MuonDetLayerMeasurements.h
"
32
#include "
RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHit.h
"
33
34
#include "
DataFormats/RPCRecHit/interface/RPCRecHit.h
"
35
#include "
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
"
36
#include "
DataFormats/Common/interface/Ref.h
"
37
38
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
39
#include "
Geometry/RPCGeometry/interface/RPCGeometry.h
"
40
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
41
#include "
Geometry/RPCGeometry/interface/RPCRoll.h
"
42
#include "
Geometry/RPCGeometry/interface/RPCGeomServ.h
"
43
#include "
Geometry/DTGeometry/interface/DTLayer.h
"
44
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
45
#include "
Geometry/CommonTopologies/interface/RectangularStripTopology.h
"
46
#include "
Geometry/CommonTopologies/interface/TrapezoidalStripTopology.h
"
47
48
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerForCosmicMuons.h
"
49
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
50
#include "
TrackingTools/TrackRefitter/interface/TrackTransformer.h
"
51
52
#include <memory>
53
54
using
reco::MuonCollection
;
55
using
reco::TrackCollection
;
56
typedef
std::vector<Trajectory>
Trajectories
;
57
58
class
TracktoRPC
{
59
public
:
60
TracktoRPC
(
reco::TrackCollection
const
* alltracks,
61
edm::EventSetup
const
& iSetup,
62
bool
debug
,
63
const
edm::ParameterSet
& iConfig,
64
const
edm::InputTag
& tracklabel);
65
~TracktoRPC
();
66
std::unique_ptr<RPCRecHitCollection>&&
thePoints
() {
return
std::move
(
_ThePoints
); }
67
68
private
:
69
bool
ValidRPCSurface
(
RPCDetId
rpcid,
LocalPoint
LocalP,
const
edm::EventSetup
& iSetup);
70
71
std::unique_ptr<RPCRecHitCollection>
_ThePoints
;
72
edm::OwnVector<RPCRecHit>
RPCPointVector
;
73
double
MaxD
;
74
75
TrackTransformerBase
*
theTrackTransformer
;
76
edm::ESHandle<Propagator>
thePropagator
;
77
};
78
79
#endif
Propagator.h
FreeTrajectoryState.h
Muon.h
MessageLogger.h
TrackExtraFwd.h
TrackerGeometry.h
RPCDetId
Definition:
RPCDetId.h:16
TracktoRPC::ValidRPCSurface
bool ValidRPCSurface(RPCDetId rpcid, LocalPoint LocalP, const edm::EventSetup &iSetup)
Definition:
TracktoRPC.cc:21
GeomDetType.h
RPCRoll.h
TracktoRPC::~TracktoRPC
~TracktoRPC()
Definition:
TracktoRPC.cc:448
TracktoRPC::MaxD
double MaxD
Definition:
TracktoRPC.h:73
MuonDetLayerGeometry.h
MuonTransientTrackingRecHit.h
TransientTrack.h
Trajectories
std::vector< Trajectory > Trajectories
Definition:
TracktoRPC.h:56
RectangularStripTopology.h
RPCGeomServ.h
MakerMacros.h
debug
#define debug
Definition:
HDRShower.cc:19
TracktoRPC::thePoints
std::unique_ptr< RPCRecHitCollection > && thePoints()
Definition:
TracktoRPC.h:66
Track.h
TrackFwd.h
Service.h
MuonFwd.h
reco::MuonCollection
std::vector< Muon > MuonCollection
collection of Muon objects
Definition:
MuonFwd.h:9
edm::ESHandle< Propagator >
TrackTransformerForCosmicMuons.h
Point3DBase< float, LocalTag >
TrajTrackAssociation.h
TracktoRPC
Definition:
TracktoRPC.h:58
DTLayer.h
RPCRecHitCollection.h
TracktoRPC::TracktoRPC
TracktoRPC(reco::TrackCollection const *alltracks, edm::EventSetup const &iSetup, bool debug, const edm::ParameterSet &iConfig, const edm::InputTag &tracklabel)
Definition:
TracktoRPC.cc:57
TransientTrackBuilder.h
edm::ParameterSet
Definition:
ParameterSet.h:36
MuonTrackLinks.h
Event.h
TracktoRPC::thePropagator
edm::ESHandle< Propagator > thePropagator
Definition:
TracktoRPC.h:76
TracktoRPC::RPCPointVector
edm::OwnVector< RPCRecHit > RPCPointVector
Definition:
TracktoRPC.h:72
TracktoRPC::_ThePoints
std::unique_ptr< RPCRecHitCollection > _ThePoints
Definition:
TracktoRPC.h:71
TrackTransformerBase.h
MuonRecoGeometryRecord.h
TrackTransformer.h
edm::EventSetup
Definition:
EventSetup.h:57
TrackTransformerBase
Definition:
TrackTransformerBase.h:17
TransientTrackRecord.h
InputTag.h
TracktoRPC::theTrackTransformer
TrackTransformerBase * theTrackTransformer
Definition:
TracktoRPC.h:75
Trajectory.h
eostools.move
def move(src, dest)
Definition:
eostools.py:511
Ref.h
TrapezoidalStripTopology.h
MuonDetLayerMeasurements.h
Frameworkfwd.h
TrackingComponentsRecord.h
RPCRecHit.h
TrajectoryStateTransform.h
ParameterSet.h
RPCGeometry.h
edm::InputTag
Definition:
InputTag.h:15
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
edm::OwnVector< RPCRecHit >
CSCGeometry.h
Generated for CMSSW Reference Manual by
1.8.16