Skip to content

Commit bf61b6c

Browse files
committed
[ALCA-DB] Remove unused variables
1 parent 059eb10 commit bf61b6c

File tree

11 files changed

+0
-16
lines changed

11 files changed

+0
-16
lines changed

CalibCalorimetry/CastorCalib/src/CastorDbHardcode.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ void CastorDbHardcode::makeHardcodeMap(CastorElectronicsMap& emap) {
368368
/* three channels per fiber */
369369
for (ifc = 0; ifc < EMAP_NFCH; ifc++) {
370370
icrate = hocrate[ic];
371-
idepth = 1;
372371
ieta = ihoetasidephi[ih][itb][ifb][ifc][0];
373372
iside = ihoetasidephi[ih][itb][ifb][ifc][1];
374373
iphi_loc = ihoetasidephi[ih][itb][ifb][ifc][2];

CalibCalorimetry/CastorCalib/src/CastorPedestalAnalysis.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,6 @@ void CastorPedestalAnalysis::Trendings(std::map<HcalDetId, std::map<int, PEDBUNC
672672
_meot->second[i].second.second[4]->GetYaxis()->SetTitle("Distant correlation");
673673
_meot->second[i].second.second[4]->Write(); */
674674
// chi2
675-
j = 0;
676675
for (sample_it = _meot->second[i].second.first[4].begin(); sample_it != _meot->second[i].second.first[4].end();
677676
++sample_it) {
678677
Chi2->Fill(*sample_it);

CalibCalorimetry/EcalLaserAnalyzer/src/MELaserPrim.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,6 @@ void MELaserPrim::fillHistograms() {
611611
nentries = pn_tree->GetEntriesFast();
612612
assert(nentries % 2 == 0);
613613
int module_(0);
614-
id1_ = _sm;
615-
id2_ = 0;
616614

617615
Long64_t jentry = 0;
618616

CalibFormats/SiPixelObjects/src/PixelFEDCard.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ PixelFEDCard::PixelFEDCard(vector<vector<string> > &tableMat) : PixelConfigBase(
253253

254254
// Read below quantities pertaining to a single FED that are equal accross 36 channels
255255
if (first) {
256-
first = false;
257256
//VME base address
258257
//Fed Base Address
259258
sscanf(tableMat[1][colM["VME_ADDRS_HEX"]].c_str(), "%lx", &FEDBASE_0);

CalibTracker/SiPixelGainCalibration/plugins/SiPixelGainCalibrationAnalysis.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ bool SiPixelGainCalibrationAnalysis::doFits(uint32_t detid, std::vector<SiPixelC
209209
for (uint32_t ii = 0; ii < ipix->getnpoints() && ii < 200; ii++) {
210210
// std::cout << ipix->getsum(ii) << " " << ipix->getnentries(ii) << " " << ipix->getsumsquares(ii) << std::endl;
211211
nallpoints++;
212-
use_point = true;
213212
if (useVcalHigh_) {
214213
xvalsall[ii] = vCalValues_[ii] * scalarVcalHigh_VcalLow_;
215214
} else
@@ -276,7 +275,6 @@ bool SiPixelGainCalibrationAnalysis::doFits(uint32_t detid, std::vector<SiPixelC
276275
use_point = false;
277276
if (ii > 1 && fabs(yvalsall[ii] - yvalsall[ii - 1]) < 5. && yvalsall[ii] > 0.8 * maxgoodvalinfit &&
278277
reject_plateaupoints_) {
279-
use_point = false;
280278
break;
281279
}
282280

@@ -289,8 +287,6 @@ bool SiPixelGainCalibrationAnalysis::doFits(uint32_t detid, std::vector<SiPixelC
289287
}
290288

291289
float chi2, slope, intercept, prob, slopeerror, intercepterror;
292-
prob = chi2 = -1;
293-
slope = intercept = slopeerror = intercepterror = 0;
294290

295291
// now check on number of points. If bad just start taking the first 4:
296292

CalibTracker/SiStripAPVAnalysis/src/TT6ApvMask.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ void TT6ApvMask::calculateMask(const ApvAnalysis::PedestalType& in) {
3232
int cutLow = int(nSize * theTruncationCut_);
3333
int cutHigh = int(nSize * theTruncationCut_);
3434
int effSize = nSize - cutLow - cutHigh;
35-
sumVal = 0.0;
36-
sqSumVal = 0.0;
3735
sumVal = accumulate((temp_in.begin() + cutLow), (temp_in.end() - cutHigh), 0.0);
3836
sqSumVal = inner_product((temp_in.begin() + cutLow), (temp_in.end() - cutHigh), (temp_in.begin() + cutLow), 0.0);
3937

CondCore/Utilities/src/CondDBImport.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ namespace cond {
264264
IMPORT_PAYLOAD_CASE(L1TriggerKey)
265265
IMPORT_PAYLOAD_CASE(MagFieldConfig)
266266
if (inputTypeName == "L1TriggerKeyList") {
267-
match = true;
268267
throwException("Import of \"L1TriggerKeyList\" type payloads is not supported.", "import");
269268
}
270269
//IMPORT_PAYLOAD_CASE( L1TriggerKeyList )

CondFormats/DTObjects/src/DTReadOutMapping.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ DTReadOutMapping* DTReadOutMapping::expandMap(const DTReadOutMapping& compMap) {
448448
whe = rosEntry.wheelId;
449449
def = rosEntry.stationId;
450450
sec = rosEntry.sectorId;
451-
rob = rosEntry.slId;
452451
mt1 = rosEntry.layerId;
453452
mi1 = rosEntry.cellId;
454453
iros = entryList.begin();

CondFormats/L1TObjects/src/L1GtTriggerMenu.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ void L1GtTriggerMenu::buildGtConditionMap() {
351351
size_t vecCorrelationSize = m_vecCorrelationTemplate.size();
352352
if (condMapSize < vecCorrelationSize) {
353353
m_conditionMap.resize(vecCorrelationSize);
354-
condMapSize = m_conditionMap.size();
355354
}
356355

357356
chipNr = -1;

CondTools/DT/src/DTExpandMap.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ void DTExpandMap::expandSteering(std::ifstream& file) {
107107
whe = rosEntry.v1;
108108
def = rosEntry.v2;
109109
sec = rosEntry.v3;
110-
rob = rosEntry.v4;
111110
mt1 = rosEntry.v5;
112111
mi1 = rosEntry.v6;
113112
iros = entryList.begin();

0 commit comments

Comments
 (0)