Skip to content

Commit 1cecf30

Browse files
author
Sunanda
committed
code check
1 parent 775939b commit 1cecf30

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

Validation/Geometry/macros/MatBudgetVolume.C

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,20 @@ int styleLay[nlay] = {20, 20, 20, 20, 20, 21, 22, 23, 24, 25, 26, 27, 32, 34};
8484
int legends[nlay] = {1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1};
8585
std::string title[nlay] = {
8686
"Beam Pipe", "", "", "", "", "Tracker", "ECAL", "HCAL", "HGCAL", "HF", "Magnet", "MUON", "Forward", "HFNose"};
87-
std::string names[nlay] = {
88-
"BEAM", "BEAM1", "BEAM2", "BEAM3", "BEAM4", "Tracker", "ECAL", "HCal", "CALOEC", "VCAL", "MGNT", "MUON", "OQUA", "HFNoseVol"};
87+
std::string names[nlay] = {"BEAM",
88+
"BEAM1",
89+
"BEAM2",
90+
"BEAM3",
91+
"BEAM4",
92+
"Tracker",
93+
"ECAL",
94+
"HCal",
95+
"CALOEC",
96+
"VCAL",
97+
"MGNT",
98+
"MUON",
99+
"OQUA",
100+
"HFNoseVol"};
89101

90102
void etaPhiPlot(TString fileName, std::string plot, bool drawLeg, bool ifEta, double maxEta, std::string tag) {
91103
TFile *hcalFile = new TFile(fileName);

Validation/Geometry/src/MaterialBudgetVolume.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ MaterialBudgetVolume::MaterialBudgetVolume(const edm::ParameterSet& p) : init_(f
8686
zMax_ = m_p.getParameter<double>("zMax") * CLHEP::m;
8787

8888
edm::LogVerbatim("MaterialBudget") << "MaterialBudgetVolume: Studies Material budget for " << lvNames_.size()
89-
<< " volumes with addLevel " << iaddLevel_ << " and with rMax " << rMax_ << " mm; zMax " << zMax_ << " mm";
89+
<< " volumes with addLevel " << iaddLevel_ << " and with rMax " << rMax_
90+
<< " mm; zMax " << zMax_ << " mm";
9091
std::ostringstream st1;
9192
for (unsigned int k = 0; k < lvNames_.size(); ++k)
9293
st1 << " [" << k << "] " << lvNames_[k] << " at " << lvLevel_[k];

Validation/Geometry/src/MaterialBudgetVolumeAnalysis.cc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,20 @@ MaterialBudgetVolumeAnalysis::MaterialBudgetVolumeAnalysis(const edm::ParameterS
7070

7171
void MaterialBudgetVolumeAnalysis::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
7272
edm::ParameterSetDescription desc;
73-
std::vector<std::string> names = {
74-
"BEAM", "BEAM1", "BEAM2", "BEAM3", "BEAM4", "Tracker", "ECAL", "HCal", "MUON", "VCAL", "MGNT", "OQUA", "CALOEC", "HFNoseVol"};
73+
std::vector<std::string> names = {"BEAM",
74+
"BEAM1",
75+
"BEAM2",
76+
"BEAM3",
77+
"BEAM4",
78+
"Tracker",
79+
"ECAL",
80+
"HCal",
81+
"MUON",
82+
"VCAL",
83+
"MGNT",
84+
"OQUA",
85+
"CALOEC",
86+
"HFNoseVol"};
7587
desc.add<std::vector<std::string> >("names", names);
7688
desc.add<edm::InputTag>("inputTag", edm::InputTag("g4SimHits", "MaterialInformation"));
7789
desc.add<int>("nBinEta", 300);

0 commit comments

Comments
 (0)