Skip to content

Commit

Permalink
Drop set but unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Jan 2, 2012
1 parent 7be2d1a commit 6416e20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions Validation/MuonDTDigis/src/MuonDTDigis.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** \class MuonDTDigis
* Analyse the the muon-drift-tubes digitizer.
*
* $Date: 2008/10/29 11:13:47 $
* $Revision: 1.8 $
* $Date: 2009/06/15 11:49:19 $
* $Revision: 1.9 $
* \authors: R. Bellan
*/

Expand Down Expand Up @@ -271,7 +271,6 @@ void MuonDTDigis::analyze(const Event & event, const EventSetup& eventSetup){
// event.getByLabel("SimG4Object","MuonDTHits",simHits);


int num_simhits;
int num_mudigis;
int num_musimhits;
int num_digis;
Expand All @@ -283,9 +282,6 @@ void MuonDTDigis::analyze(const Event & event, const EventSetup& eventSetup){
num_musimhits = 0;
DTWireIdMap wireMap;

num_simhits = simHits->size();
// cout << "num simhits " << num_simhits << endl;

for(vector<PSimHit>::const_iterator hit = simHits->begin();
hit != simHits->end(); hit++){
// Create the id of the wire, the simHits in the DT known also the wireId
Expand Down
1 change: 0 additions & 1 deletion Validation/MuonRPCGeometry/plugins/RPCGeometryServTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ RPCGeometryServTest::analyze( const edm::Event& iEvent, const edm::EventSetup& i
if( dynamic_cast< RPCChamber* >( *it ) != 0 ){
++iRPCCHcount;
RPCChamber* ch = dynamic_cast< RPCChamber* >( *it );
RPCDetId detId=ch->id();

std::vector< const RPCRoll*> rollsRaf = (ch->rolls());
for(std::vector<const RPCRoll*>::iterator r = rollsRaf.begin();
Expand Down

0 comments on commit 6416e20

Please sign in to comment.