Skip to content

Commit

Permalink
Merge pull request #7878 from ptcox/csc_remove_static_variable
Browse files Browse the repository at this point in the history
remove unnecessary static flag
  • Loading branch information
cmsbuild committed Feb 22, 2015
2 parents 09da757 + a68320e commit 00bb051
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions EventFilter/CSCRawToDigi/src/CSCAnodeData2006.cc
Expand Up @@ -2,8 +2,6 @@
#include "EventFilter/CSCRawToDigi/interface/CSCALCTHeader.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <string.h> // for bzero

bool debug = false;
#include <iostream>

CSCAnodeDataFrame2006::CSCAnodeDataFrame2006(unsigned chip, unsigned tbin, unsigned data)
Expand Down Expand Up @@ -74,8 +72,7 @@ std::vector<CSCWireDigi> CSCAnodeData2006::wireDigis(int layer) const {
uint32_t wireGroupBX=alctBX_;
wireGroup = wireGroup | (wireGroupBX << 16);
CSCWireDigi digi(wireGroup, tbinbits);
if (debug)
LogTrace ("CSCAnodeData|CSCRawToDigi") << "Layer " << layer << " " << digi;
LogTrace ("CSCAnodeData|CSCRawToDigi") << "Layer " << layer << " " << digi;
digis.push_back(digi);
tbinbits=0;
}
Expand Down

0 comments on commit 00bb051

Please sign in to comment.