Skip to content

Commit

Permalink
Merge pull request #20493 from mrodozov/fix-comp-warnings-CondCore/Ec…
Browse files Browse the repository at this point in the history
…alPlugins

Fix compilation warnings in CondCore/EcalPlugins
  • Loading branch information
cmsbuild committed Sep 18, 2017
2 parents 09e02e8 + 1d0daf0 commit 1804adc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Expand Up @@ -311,10 +311,10 @@ namespace {
// << " max " << pEEmax[gId] << std::endl;
if(pEEmin[gId] < 0.) pEEmin[gId] = 0.;
}
float bmin[kGains] ={0.7, 0.5, 0.4};
float bmax[kGains] ={2.2, 1.3, 0.7};
float emin[kGains] ={1.5, 0.8, 0.4};
float emax[kGains] ={2.5, 1.5, 0.8};
//float bmin[kGains] ={0.7, 0.5, 0.4};
//float bmax[kGains] ={2.2, 1.3, 0.7};
//float emin[kGains] ={1.5, 0.8, 0.4};
//float emax[kGains] ={2.5, 1.5, 0.8};
// TLine* l = new TLine(0., 0., 0., 0.);
// l->SetLineWidth(1);
for (int gId = 0; gId < kGains; gId++) {
Expand Down
Expand Up @@ -227,7 +227,7 @@ namespace {
else if(ieta > 0.) eta = eta - 0.5; // 0.5 to 84.5
else eta = eta + 0.5; // -84.5 to -0.5
for (int iphi = 1; iphi <= MAX_IPHI; iphi++) {
Double_t phi = (Double_t)iphi - 0.5;
//Double_t phi = (Double_t)iphi - 0.5;
EBDetId id(ieta, iphi);
for(int i = 0; i < TEMPLATESAMPLES; ++i) {
for(int j = 0; j < TEMPLATESAMPLES; ++j) {
Expand Down
Expand Up @@ -199,7 +199,7 @@ namespace {
else if(ieta > 0.) eta = eta - 0.5; // 0.5 to 84.5
else eta = eta + 0.5; // -84.5 to -0.5
for (int iphi = 1; iphi <= MAX_IPHI; iphi++) {
Double_t phi = (Double_t)iphi - 0.5;
//Double_t phi = (Double_t)iphi - 0.5;
EBDetId id(ieta, iphi);
EcalPulseShape pulse = (*payload)[id.rawId()];
for(int s = 0; s < TEMPLATESAMPLES; s++) {
Expand Down
Expand Up @@ -222,7 +222,7 @@ namespace {
}

unsigned int run[2], irun = 0;
float gEB[3][kEBChannels], gEE[3][kEEChannels];
//float gEB[3][kEBChannels], gEE[3][kEEChannels];
for ( auto const & iov: iovs) {
std::shared_ptr<EcalTPGLinearizationConst> payload = fetchPayload( std::get<1>(iov) );
run[irun] = std::get<0>(iov);
Expand Down
Expand Up @@ -169,7 +169,7 @@ namespace {
}

unsigned int run[2], irun = 0;
float gEB[3][kEBChannels], gEE[3][kEEChannels];
//float gEB[3][kEBChannels], gEE[3][kEEChannels];
for ( auto const & iov: iovs) {
std::shared_ptr<EcalTPGPedestals> payload = fetchPayload( std::get<1>(iov) );
run[irun] = std::get<0>(iov);
Expand Down

0 comments on commit 1804adc

Please sign in to comment.