Skip to content

Commit

Permalink
Commented code is removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
batinkov committed Jan 13, 2014
1 parent f64616b commit 2c406fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@

private:
edm::ParameterSet conf_;
// edm::InputTag src_;
edm::EDGetTokenT<SiPixelRawDataError> src_;
edm::EDGetTokenT<edm::DetSetVector<SiPixelRawDataError> > src_;
bool saveFile;
bool isPIB;
bool slowDown;
Expand Down
6 changes: 2 additions & 4 deletions DQM/SiPixelMonitorRawData/src/SiPixelRawDataErrorSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ using namespace edm;

SiPixelRawDataErrorSource::SiPixelRawDataErrorSource(const edm::ParameterSet& iConfig) :
conf_(iConfig),
// src_( conf_.getParameter<edm::InputTag>( "src" ) ),
src_( consumes<SiPixelRawDataError>( conf_.getParameter<edm::InputTag>( "src" ) ) ),
src_( consumes<DetSetVector<SiPixelRawDataError> >( conf_.getParameter<edm::InputTag>( "src" ) ) ),
saveFile( conf_.getUntrackedParameter<bool>("saveFile",false) ),
isPIB( conf_.getUntrackedParameter<bool>("isPIB",false) ),
slowDown( conf_.getUntrackedParameter<bool>("slowDown",false) ),
Expand Down Expand Up @@ -110,8 +109,7 @@ void SiPixelRawDataErrorSource::analyze(const edm::Event& iEvent, const edm::Eve
eventNo++;
//std::cout<<"Event number: "<<eventNo<<std::endl;
// get input data
edm::Handle< edm::DetSetVector<SiPixelRawDataError> > input;
// iEvent.getByLabel( src_, input );
edm::Handle< DetSetVector<SiPixelRawDataError> > input;
iEvent.getByToken( src_, input );
if (!input.isValid()) return;

Expand Down

0 comments on commit 2c406fa

Please sign in to comment.