Skip to content

Commit 3bfecbc

Browse files
committed
Code checks/format
1 parent 5e5fda7 commit 3bfecbc

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

DQM/SiPixelHeterogeneous/plugins/SiPixelCompareRecHits.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class SiPixelCompareRecHits : public DQMEDAnalyzer {
3030
void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
3131
void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) override;
3232
void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
33-
// analyzeSeparate is templated to accept distinct types of SoAs
33+
// analyzeSeparate is templated to accept distinct types of SoAs
3434
// The default use case is to use rechits from Alpaka reconstructed on CPU and GPU;
3535
template <typename U, typename V>
3636
void analyzeSeparate(U tokenRef, V tokenTar, const edm::Event& iEvent);

DQM/SiPixelHeterogeneous/plugins/SiPixelCompareTracks.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,15 @@ class SiPixelCompareTracks : public DQMEDAnalyzer {
7777
~SiPixelCompareTracks() override = default;
7878
void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) override;
7979
void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
80-
// analyzeSeparate is templated to accept distinct types of SoAs
80+
// analyzeSeparate is templated to accept distinct types of SoAs
8181
// The default use case is to use tracks from Alpaka reconstructed on CPU and GPU;
8282
template <typename U, typename V>
8383
void analyzeSeparate(U tokenRef, V tokenTar, const edm::Event& iEvent);
8484
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
8585

8686
private:
8787
// these two are both on Host but originally they have been produced on Host or on Device
88-
const edm::EDGetTokenT<PixelTrackSoA>
89-
tokenSoATrackReference_;
88+
const edm::EDGetTokenT<PixelTrackSoA> tokenSoATrackReference_;
9089
const edm::EDGetTokenT<PixelTrackSoA> tokenSoATrackTarget_;
9190
const std::string topFolderName_;
9291
const bool useQualityCut_;

DQM/SiPixelHeterogeneous/plugins/SiPixelCompareVertices.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,15 @@ class SiPixelCompareVertices : public DQMEDAnalyzer {
3232
~SiPixelCompareVertices() override = default;
3333
void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) override;
3434
void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
35-
// analyzeSeparate is templated to accept distinct types of SoAs
35+
// analyzeSeparate is templated to accept distinct types of SoAs
3636
// The default use case is to use vertices from Alpaka reconstructed on CPU and GPU;
3737
template <typename U, typename V>
3838
void analyzeSeparate(U tokenRef, V tokenTar, const edm::Event& iEvent);
3939
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
4040

4141
private:
4242
// these two are both on Host but originally they have been produced on Host or on Device
43-
const edm::EDGetTokenT<ZVertexHost>
44-
tokenSoAVertexReferenceSoA_;
43+
const edm::EDGetTokenT<ZVertexHost> tokenSoAVertexReferenceSoA_;
4544
const edm::EDGetTokenT<ZVertexHost> tokenSoAVertexTargetSoA_;
4645
const edm::EDGetTokenT<reco::BeamSpot> tokenBeamSpot_;
4746
const std::string topFolderName_;
@@ -203,4 +202,3 @@ void SiPixelCompareVertices::fillDescriptions(edm::ConfigurationDescriptions& de
203202

204203
// TODO: change module name to SiPixelCompareVerticesSoA when CUDA code is removed
205204
DEFINE_FWK_MODULE(SiPixelCompareVertices);
206-

0 commit comments

Comments
 (0)