CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCRecHitValidation Class Reference

#include <CSCRecHitValidation.h>

Inheritance diagram for CSCRecHitValidation:
edm::EDAnalyzer

List of all members.

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
virtual void beginJob ()
 CSCRecHitValidation (const edm::ParameterSet &)
virtual void endJob ()
 ~CSCRecHitValidation ()

Private Attributes

DQMStoredbe_
CSCRecHit2DValidation the2DValidation
const CSCGeometrytheCSCGeometry
std::string theOutputFile
CSCSegmentValidation theSegmentValidation
PSimHitMap theSimHitMap

Detailed Description

Definition at line 19 of file CSCRecHitValidation.h.


Constructor & Destructor Documentation

CSCRecHitValidation::CSCRecHitValidation ( const edm::ParameterSet ps) [explicit]

Definition at line 11 of file CSCRecHitValidation.cc.

: dbe_( edm::Service<DQMStore>().operator->() ),
  theOutputFile( ps.getParameter<std::string>("outputFile") ),
  theSimHitMap(ps.getParameter<edm::InputTag>("simHitsTag")),
  theCSCGeometry(0),
  the2DValidation(dbe_, ps.getParameter<edm::InputTag>("recHitLabel") ),
  theSegmentValidation(dbe_, ps.getParameter<edm::InputTag>("segmentLabel") )
{
}
CSCRecHitValidation::~CSCRecHitValidation ( )

Definition at line 22 of file CSCRecHitValidation.cc.

References dbe_, DQMStore::save(), and theOutputFile.

{
  if ( theOutputFile.size() != 0 && dbe_ ) dbe_->save(theOutputFile);
}

Member Function Documentation

void CSCRecHitValidation::analyze ( const edm::Event e,
const edm::EventSetup eventSetup 
) [virtual]
virtual void CSCRecHitValidation::beginJob ( void  ) [inline, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 24 of file CSCRecHitValidation.h.

{} 
void CSCRecHitValidation::endJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 28 of file CSCRecHitValidation.cc.

References dbe_, DQMStore::save(), and theOutputFile.

                                 {
  if ( theOutputFile.size() != 0 && dbe_ ) dbe_->save(theOutputFile);
}

Member Data Documentation

Definition at line 30 of file CSCRecHitValidation.h.

Referenced by endJob(), and ~CSCRecHitValidation().

Definition at line 35 of file CSCRecHitValidation.h.

Referenced by analyze().

Definition at line 33 of file CSCRecHitValidation.h.

Referenced by analyze().

std::string CSCRecHitValidation::theOutputFile [private]

Definition at line 31 of file CSCRecHitValidation.h.

Referenced by endJob(), and ~CSCRecHitValidation().

Definition at line 36 of file CSCRecHitValidation.h.

Referenced by analyze().

Definition at line 32 of file CSCRecHitValidation.h.

Referenced by analyze().