Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed beginRun/endRun methods in TrackTriggerAssociation modules #43671

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions SimTracker/TrackTriggerAssociation/plugins/TTClusterAssociator.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ class TTClusterAssociator : public edm::stream::EDProducer<> {
/// Constructors
explicit TTClusterAssociator(const edm::ParameterSet& iConfig);

/// Destructor
~TTClusterAssociator() override;

private:
/// Data members
edm::Handle<edm::DetSetVector<PixelDigiSimLink> > thePixelDigiSimLinkHandle_;
Expand All @@ -64,8 +61,6 @@ class TTClusterAssociator : public edm::stream::EDProducer<> {
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> theTrackerGeometryToken_;

/// Mandatory methods
void beginRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void endRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;

}; /// Close class
Expand Down Expand Up @@ -93,23 +88,11 @@ TTClusterAssociator<T>::TTClusterAssociator(const edm::ParameterSet& iConfig) {
}

theTrackerGeometryToken_ = esConsumes();
}

/// Destructor
template <typename T>
TTClusterAssociator<T>::~TTClusterAssociator() {}

/// Begin run
template <typename T>
void TTClusterAssociator<T>::beginRun(const edm::Run& run, const edm::EventSetup& iSetup) {
/// Print some information when loaded
edm::LogInfo("TTClusterAssociator< ") << templateNameFinder<T>() << " > loaded.";
}

/// End run
template <typename T>
void TTClusterAssociator<T>::endRun(const edm::Run& run, const edm::EventSetup& iSetup) {}

/// Implement the producer
template <>
void TTClusterAssociator<Ref_Phase2TrackerDigi_>::produce(edm::Event& iEvent, const edm::EventSetup& iSetup);
Expand Down
17 changes: 0 additions & 17 deletions SimTracker/TrackTriggerAssociation/plugins/TTStubAssociator.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ class TTStubAssociator : public edm::stream::EDProducer<> {
/// Constructors
explicit TTStubAssociator(const edm::ParameterSet& iConfig);

/// Destructor
~TTStubAssociator() override;

private:
/// Data members
std::vector<edm::InputTag> ttStubsInputTags_;
Expand All @@ -63,8 +60,6 @@ class TTStubAssociator : public edm::stream::EDProducer<> {
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> theTrackerTopologyToken_;

/// Mandatory methods
void beginRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void endRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;

}; /// Close class
Expand Down Expand Up @@ -94,23 +89,11 @@ TTStubAssociator<T>::TTStubAssociator(const edm::ParameterSet& iConfig) {

theTrackerGeometryToken_ = esConsumes();
theTrackerTopologyToken_ = esConsumes();
}

/// Destructor
template <typename T>
TTStubAssociator<T>::~TTStubAssociator() {}

/// Begin run
template <typename T>
void TTStubAssociator<T>::beginRun(const edm::Run& run, const edm::EventSetup& iSetup) {
/// Print some information when loaded
edm::LogInfo("TTStubAssociator< ") << templateNameFinder<T>() << " > loaded.";
}

/// End run
template <typename T>
void TTStubAssociator<T>::endRun(const edm::Run& run, const edm::EventSetup& iSetup) {}

/// Implement the producer
template <>
void TTStubAssociator<Ref_Phase2TrackerDigi_>::produce(edm::Event& iEvent, const edm::EventSetup& iSetup);
Expand Down
15 changes: 2 additions & 13 deletions SimTracker/TrackTriggerAssociation/plugins/TTTrackAssociator.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ class TTTrackAssociator : public edm::stream::EDProducer<> {
bool TTTrackAllowOneFalse2SStub;

/// Mandatory methods
void beginRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void endRun(const edm::Run& run, const edm::EventSetup& iSetup) override;
void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;

}; /// Close class
Expand Down Expand Up @@ -90,22 +88,13 @@ TTTrackAssociator<T>::TTTrackAssociator(const edm::ParameterSet& iConfig) {

produces<TTTrackAssociationMap<T> >(iTag.instance());
}
}

/// Destructor
template <typename T>
TTTrackAssociator<T>::~TTTrackAssociator() {}

/// Begin run
template <typename T>
void TTTrackAssociator<T>::beginRun(const edm::Run& run, const edm::EventSetup& iSetup) {
/// Print some information when loaded
edm::LogInfo("TTStubAssociator< ") << "TTTrackAssociator< " << templateNameFinder<T>() << " > loaded.";
}

/// End run
/// Destructor
template <typename T>
void TTTrackAssociator<T>::endRun(const edm::Run& run, const edm::EventSetup& iSetup) {}
TTTrackAssociator<T>::~TTTrackAssociator() {}

/// Implement the producer
template <>
Expand Down