|
|
Go to the documentation of this file.
71 : verbosity_(ps.getUntrackedParameter<unsigned
int>(
"verbosity", 0)),
73 tagUVPatternsStrip_(ps.getParameter<
edm::
InputTag>(
"tagUVPatternsStrip")),
74 tagDiamondHits_(ps.getParameter<
edm::
InputTag>(
"tagDiamondHits")),
75 tagPixelHits_(ps.getParameter<
edm::
InputTag>(
"tagPixelHits")),
76 tagPixelLocalTracks_(ps.getParameter<
edm::
InputTag>(
"tagPixelLocalTracks")),
83 esTokenRealGeometry_(esConsumes()),
84 esTokenMisalignedGeometry_(esConsumes()),
85 esTokenRealAlignment_(esConsumes()),
87 worker_initialized_(
false),
91 <<
"Both tagPixelHits and tagPixelLocalTracks are not empty - most likely this not what you want.";
100 throw cms::Exception(
"PPS") <<
"PPSStraightTrackAligner can't cope with changing geometry - change in event "
101 <<
event.id() << endl;
110 worker_.
begin(hRealAlignment, hRealGeometry, hMisalignedGeometry);
120 pStripUVPatterns = &(*inputStripUVPatterns);
128 pDiamondHits = &(*inputDiamondHits);
136 pPixelHits = &(*inputPixelHits);
144 pPixelLocalTracks = &(*inputPixelLocalTracks);
edm::InputTag tagPixelHits_
bool check(const edm::EventSetup &iSetup)
Track-based alignment using straight tracks.
Reconstructed hit in diamond detectors.
edm::InputTag tagUVPatternsStrip_
edm::InputTag tagPixelLocalTracks_
Log< level::Warning, false > LogWarning
virtual void finish()
performs analyses and fill results variable
edm::EDGetTokenT< edm::DetSetVector< CTPPSDiamondRecHit > > tokenDiamondHits_
edm::ESGetToken< CTPPSGeometry, VeryForwardRealGeometryRecord > esTokenRealGeometry_
#define DEFINE_FWK_MODULE(type)
An EDAnalyzer that runs StraightTrackAlignment.
edm::ESGetToken< CTPPSGeometry, VeryForwardMisalignedGeometryRecord > esTokenMisalignedGeometry_
void analyze(const edm::Event &e, const edm::EventSetup &es) override
~PPSStraightTrackAligner() override
A linear pattern in U or V projection. The intercept b is taken at the middle of a RP: (geometry->Get...
edm::EDGetTokenT< edm::DetSetVector< TotemRPUVPattern > > tokenUVPatternsStrip_
virtual void processEvent(const edm::EventID &eventId, const edm::DetSetVector< TotemRPUVPattern > &uvPatternsStrip, const edm::DetSetVector< CTPPSDiamondRecHit > &hitsDiamond, const edm::DetSetVector< CTPPSPixelRecHit > &hitsPixel, const edm::DetSetVector< CTPPSPixelLocalTrack > &tracksPixel)
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelRecHit > > tokenPixelHits_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::InputTag tagDiamondHits_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelLocalTrack > > tokenPixelLocalTracks_
edm::ESGetToken< CTPPSRPAlignmentCorrectionsData, RPRealAlignmentRecord > esTokenRealAlignment_
PPSStraightTrackAligner(const edm::ParameterSet &ps)
edm::ESWatcher< VeryForwardRealGeometryRecord > geometryWatcher_
virtual void begin(edm::ESHandle< CTPPSRPAlignmentCorrectionsData > hRealAlignment, edm::ESHandle< CTPPSGeometry > hRealGeometry, edm::ESHandle< CTPPSGeometry > hMisalignedGeometry)
StraightTrackAlignment worker_