CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

MultiplicityInvestigator Class Reference

#include <myTKAnalyses/DigiInvestigator/src/MultiplicityInvestigator.cc>

Inheritance diagram for MultiplicityInvestigator:
edm::EDAnalyzer

List of all members.

Public Member Functions

 MultiplicityInvestigator (const edm::ParameterSet &)
 ~MultiplicityInvestigator ()

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
virtual void beginJob ()
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
virtual void endJob ()
virtual void endRun (const edm::Run &, const edm::EventSetup &)

Private Attributes

DigiInvestigatorHistogramMaker m_digiinvesthmevent
DigiLumiCorrHistogramMaker m_digilumicorrhmevent
DigiPileupCorrHistogramMaker m_digipileupcorrhmevent
DigiVertexCorrHistogramMaker m_digivtxcorrhmevent
edm::InputTag m_multiplicityMap
edm::InputTag m_vertexCollection
const bool m_wantInvestHist
const bool m_wantLumiCorrHist
const bool m_wantPileupCorrHist
const bool m_wantVtxCorrHist

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 51 of file MultiplicityInvestigator.cc.


Constructor & Destructor Documentation

MultiplicityInvestigator::MultiplicityInvestigator ( const edm::ParameterSet iConfig) [explicit]

Definition at line 91 of file MultiplicityInvestigator.cc.

References DigiVertexCorrHistogramMaker::book(), DigiLumiCorrHistogramMaker::book(), DigiInvestigatorHistogramMaker::book(), DigiPileupCorrHistogramMaker::book(), m_digiinvesthmevent, m_digilumicorrhmevent, m_digipileupcorrhmevent, m_digivtxcorrhmevent, m_wantInvestHist, m_wantLumiCorrHist, m_wantPileupCorrHist, and m_wantVtxCorrHist.

                                                                                :
  //  m_digiinvesthmevent(iConfig.getParameter<edm::ParameterSet>("digiInvestConfig")),  
  m_wantInvestHist(iConfig.getParameter<bool>("wantInvestHist")),
  m_wantVtxCorrHist(iConfig.getParameter<bool>("wantVtxCorrHist")),
  m_wantLumiCorrHist(iConfig.getParameter<bool>("wantLumiCorrHist")),
  m_wantPileupCorrHist(iConfig.getParameter<bool>("wantPileupCorrHist")),
  m_digiinvesthmevent(iConfig),
  m_digivtxcorrhmevent(iConfig.getParameter<edm::ParameterSet>("digiVtxCorrConfig")),
  m_digilumicorrhmevent(iConfig.getParameter<edm::ParameterSet>("digiLumiCorrConfig")),
  m_digipileupcorrhmevent(iConfig.getParameter<edm::ParameterSet>("digiPileupCorrConfig")),
  m_multiplicityMap(iConfig.getParameter<edm::InputTag>("multiplicityMap")),
  m_vertexCollection(iConfig.getParameter<edm::InputTag>("vertexCollection"))
{
   //now do what ever initialization is needed


  if(m_wantInvestHist)  m_digiinvesthmevent.book("EventProcs");
  if(m_wantVtxCorrHist) m_digivtxcorrhmevent.book("VtxCorr");
  if(m_wantLumiCorrHist) m_digilumicorrhmevent.book("LumiCorr");
  if(m_wantPileupCorrHist) m_digipileupcorrhmevent.book("PileupCorr");

}
MultiplicityInvestigator::~MultiplicityInvestigator ( )

Definition at line 115 of file MultiplicityInvestigator.cc.

{
 
   // do anything here that needs to be done at desctruction time
   // (e.g. close files, deallocate resources etc.)

}

Member Function Documentation

void MultiplicityInvestigator::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
) [private, virtual]
void MultiplicityInvestigator::beginJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 154 of file MultiplicityInvestigator.cc.

{

}
void MultiplicityInvestigator::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
) [private, virtual]
void MultiplicityInvestigator::endJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 173 of file MultiplicityInvestigator.cc.

                                 {
}
void MultiplicityInvestigator::endRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 169 of file MultiplicityInvestigator.cc.

                                                                                {
}

Member Data Documentation

Definition at line 70 of file MultiplicityInvestigator.cc.

Referenced by analyze(), beginRun(), and MultiplicityInvestigator().

Definition at line 72 of file MultiplicityInvestigator.cc.

Referenced by analyze(), beginRun(), and MultiplicityInvestigator().

Definition at line 73 of file MultiplicityInvestigator.cc.

Referenced by analyze(), and MultiplicityInvestigator().

Definition at line 71 of file MultiplicityInvestigator.cc.

Referenced by analyze(), beginRun(), and MultiplicityInvestigator().

Definition at line 75 of file MultiplicityInvestigator.cc.

Referenced by analyze().

Definition at line 76 of file MultiplicityInvestigator.cc.

Referenced by analyze().

Definition at line 66 of file MultiplicityInvestigator.cc.

Referenced by analyze(), and MultiplicityInvestigator().

Definition at line 68 of file MultiplicityInvestigator.cc.

Referenced by analyze(), and MultiplicityInvestigator().

Definition at line 69 of file MultiplicityInvestigator.cc.

Referenced by analyze(), and MultiplicityInvestigator().

Definition at line 67 of file MultiplicityInvestigator.cc.

Referenced by analyze(), and MultiplicityInvestigator().