Skip to content

Commit

Permalink
code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlange6 committed Sep 30, 2019
1 parent 4fa857b commit 524d084
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void SiStripBackplaneCalibration::beginOfJob(AlignableTracker *aliTracker,
AlignableMuon * /*aliMuon*/,
AlignableExtras * /*aliExtras*/) {
//specify the sub-detectors for which the back plane correction is determined: all strips
const std::vector<int> sdets = { SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, SiStripDetId::TEC};
const std::vector<int> sdets = {SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, SiStripDetId::TEC};

moduleGroupSelector_ = new TkModuleGroupSelector(aliTracker, moduleGroupSelCfg_, sdets);

Expand Down
2 changes: 1 addition & 1 deletion DataFormats/Common/test/DetSetNew_t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ void TestDetSet::onDemand() {
auto pg = std::make_shared<Getter>(this);
Getter &g = *pg;
assert(!g.aborted);
std::vector<unsigned int> v = { 21, 23, 25, 27, 1020};
std::vector<unsigned int> v = {21, 23, 25, 27, 1020};
DSTV detsets(pg, v, 2);
CPPUNIT_ASSERT(g.ntot == 0);
CPPUNIT_ASSERT(detsets.onDemand());
Expand Down
8 changes: 4 additions & 4 deletions PerfTools/Callgrind/test/ProfilerServiceTest.cppunit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ namespace test {
int fe = 2;
int le = 10;
int di = 5;
std::vector<std::string> paths={"p1", "p2", "p3"};
std::vector<std::string> ep= {"e1", "e2", "e3"};
std::vector<std::string> paths = {"p1", "p2", "p3"};
std::vector<std::string> ep = {"e1", "e2", "e3"};
edm::ParameterSet pset;
pset.addUntrackedParameter<int>("firstEvent", fe);
pset.addUntrackedParameter<int>("lastEvent", le);
Expand Down Expand Up @@ -314,7 +314,7 @@ namespace test {
int fe = 2;
int le = 10;
std::vector<std::string> paths = {"ALL"};
std::vector<std::string> expaths ={"p21"};
std::vector<std::string> expaths = {"p21"};
edm::ParameterSet pset;
pset.addUntrackedParameter<int>("firstEvent", fe);
pset.addUntrackedParameter<int>("lastEvent", le);
Expand Down Expand Up @@ -384,7 +384,7 @@ namespace test {
edm::ActivityRegistry activity;
ProfilerService ps(pset, activity);

std::vector<std::string> allPaths= {"p1", "p21", "p22", "p3"};
std::vector<std::string> allPaths = {"p1", "p21", "p22", "p3"};

CheckPaths cp0(ps, paths, 0);
CheckPaths cp1(ps, paths, 1);
Expand Down

0 comments on commit 524d084

Please sign in to comment.