CMS 3D CMS Logo

Public Member Functions | Private Attributes

ZdcTBAnalyzer Class Reference

Inheritance diagram for ZdcTBAnalyzer:
edm::EDAnalyzer

List of all members.

Public Member Functions

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

Private Attributes

bool beamDetectorsADCInfo
bool beamDetectorsTDCInfo
std::string inputFileName
std::string outputFileName
bool triggerInfo
bool wireChambersInfo
ZdcTBAnalysis zdcTBAnalysis

Detailed Description

Definition at line 22 of file ZdcTBAnalyzer.cc.


Constructor & Destructor Documentation

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

Definition at line 40 of file ZdcTBAnalyzer.cc.

References beamDetectorsADCInfo, beamDetectorsTDCInfo, gather_cfg::cout, edm::ParameterSet::getParameter(), outputFileName, ZdcTBAnalysis::setup(), triggerInfo, wireChambersInfo, and zdcTBAnalysis.

{
  std::cout<<"**************** ZdcTBAnalizer Start**************************"<<std::endl;
  edm::ParameterSet para = iConfig.getParameter<edm::ParameterSet>("ZdcTBAnalyzer");
  
  beamDetectorsADCInfo = para.getParameter<bool>("beamDetectorsADCInfoFlag");
  beamDetectorsTDCInfo = para.getParameter<bool>("beamDetectorsTDCInfoFlag");
  wireChambersInfo = para.getParameter<bool>("wireChambersInfoFlag");
  triggerInfo = para.getParameter<bool>("triggerInfoFlag");
  outputFileName =  para.getParameter<std::string>("ntupleOutputFileName");
  zdcTBAnalysis.setup(outputFileName);
}
ZdcTBAnalyzer::~ZdcTBAnalyzer ( )

Definition at line 53 of file ZdcTBAnalyzer.cc.

{;}

Member Function Documentation

void ZdcTBAnalyzer::analyze ( const edm::Event e,
const edm::EventSetup  
) [virtual]
void ZdcTBAnalyzer::endJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 84 of file ZdcTBAnalyzer.cc.

References gather_cfg::cout, ZdcTBAnalysis::done(), and zdcTBAnalysis.

                          {
  zdcTBAnalysis.done();
std::cout<<"****************ZdcTBAnalizer End**************************"<<std::endl;
}

Member Data Documentation

Definition at line 33 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), and ZdcTBAnalyzer().

Definition at line 34 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), and ZdcTBAnalyzer().

std::string ZdcTBAnalyzer::inputFileName [private]

Definition at line 32 of file ZdcTBAnalyzer.cc.

std::string ZdcTBAnalyzer::outputFileName [private]

Definition at line 31 of file ZdcTBAnalyzer.cc.

Referenced by ZdcTBAnalyzer().

Definition at line 36 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), and ZdcTBAnalyzer().

Definition at line 35 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), and ZdcTBAnalyzer().

Definition at line 37 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), endJob(), and ZdcTBAnalyzer().