Skip to content

Commit

Permalink
Merge pull request #31345 from davidlange6/dl200903circ2
Browse files Browse the repository at this point in the history
move CalibTracker/SiStripCommon plugin headers out of interface to avoid circular dependency
  • Loading branch information
cmsbuild authored Sep 7, 2020
2 parents 2d41a27 + f072a18 commit a2e0b04
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions CalibTracker/SiStripCommon/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<use name="DataFormats/L1GlobalTrigger"/>
<use name="TrackingTools/TrackFitters"/>
<use name="CalibTracker/SiStripCommon"/>
<use name="CalibFormats/SiStripObjects"/>
<use name="Geometry/TrackerGeometryBuilder"/>
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/RunInfo"/>
Expand Down
16 changes: 8 additions & 8 deletions CalibTracker/SiStripCommon/plugins/SealModules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

DEFINE_FWK_MODULE(SiStripDetInfoFileWriter);

#include "CalibTracker/SiStripCommon/interface/ShallowTree.h"
#include "CalibTracker/SiStripCommon/interface/ShallowEventDataProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowDigisProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowTrackClustersProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowRechitClustersProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowSimhitClustersProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowTracksProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowGainCalibration.h"
#include "ShallowTree.h"
#include "ShallowEventDataProducer.h"
#include "ShallowDigisProducer.h"
#include "ShallowTrackClustersProducer.h"
#include "ShallowRechitClustersProducer.h"
#include "ShallowSimhitClustersProducer.h"
#include "ShallowTracksProducer.h"
#include "ShallowGainCalibration.h"
#include "ShallowSimTracksProducer.h"

DEFINE_FWK_MODULE(ShallowTree);
Expand Down
2 changes: 1 addition & 1 deletion CalibTracker/SiStripCommon/plugins/ShallowDigisProducer.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowDigisProducer.h"
#include "ShallowDigisProducer.h"

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowEventDataProducer.h"
#include "ShallowEventDataProducer.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowGainCalibration.h"
#include "ShallowGainCalibration.h"

using namespace edm;
using namespace reco;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowRechitClustersProducer.h"
#include "ShallowRechitClustersProducer.h"

#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowSimhitClustersProducer.h"
#include "ShallowSimhitClustersProducer.h"

#include "CalibTracker/SiStripCommon/interface/ShallowTools.h"
#include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowTrackClustersProducer.h"
#include "ShallowTrackClustersProducer.h"

#include "CalibTracker/SiStripCommon/interface/ShallowTools.h"

Expand Down
4 changes: 2 additions & 2 deletions CalibTracker/SiStripCommon/plugins/ShallowTracksProducer.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowTracksProducer.h"
#include "ShallowTracksProducer.h"

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand Down Expand Up @@ -121,7 +121,7 @@ void ShallowTracksProducer::produce(edm::StreamID, edm::Event& iEvent, const edm
algo.push_back((int)track.algo());
}

iEvent.emplace(numberPut_, std::move(number));
iEvent.emplace(numberPut_, number);
iEvent.emplace(chi2Put_, std::move(chi2));
iEvent.emplace(ndofPut_, std::move(ndof));
iEvent.emplace(chi2ndofPut_, std::move(chi2ndof));
Expand Down
2 changes: 1 addition & 1 deletion CalibTracker/SiStripCommon/plugins/ShallowTree.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "CalibTracker/SiStripCommon/interface/ShallowTree.h"
#include "ShallowTree.h"

#include "FWCore/Framework/interface/ConstProductRegistry.h"
#include "FWCore/Framework/interface/ProductSelector.h"
Expand Down

0 comments on commit a2e0b04

Please sign in to comment.