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
edm::InputTag hcalTBBeamCountersTag
edm::InputTag hcalTBEventPositionTag
edm::InputTag hcalTBTimingTag
edm::InputTag hcalTBTriggerDataTag
std::string inputFileName
std::string outputFileName
bool triggerInfo
bool wireChambersInfo
edm::InputTag zdcRecHitCollectionTag
ZdcTBAnalysis zdcTBAnalysis

Detailed Description

Definition at line 23 of file ZdcTBAnalyzer.cc.


Constructor & Destructor Documentation

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

Definition at line 47 of file ZdcTBAnalyzer.cc.

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

                                                           :
  zdcRecHitCollectionTag(iConfig.getParameter<edm::InputTag>("zdcRecHitCollectionTag")),
  hcalTBTriggerDataTag(iConfig.getParameter<edm::InputTag>("hcalTBTriggerDataTag")),
  hcalTBTimingTag(iConfig.getParameter<edm::InputTag>("hcalTBTimingTag")),
  hcalTBBeamCountersTag(iConfig.getParameter<edm::InputTag>("hcalTBBeamCountersTag")),
  hcalTBEventPositionTag(iConfig.getParameter<edm::InputTag>("hcalTBEventPositionTag"))
{
  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 65 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 96 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 34 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 43 of file ZdcTBAnalyzer.cc.

Referenced by analyze().

Definition at line 44 of file ZdcTBAnalyzer.cc.

Referenced by analyze().

Definition at line 42 of file ZdcTBAnalyzer.cc.

Referenced by analyze().

Definition at line 41 of file ZdcTBAnalyzer.cc.

Referenced by analyze().

std::string ZdcTBAnalyzer::inputFileName [private]

Definition at line 33 of file ZdcTBAnalyzer.cc.

std::string ZdcTBAnalyzer::outputFileName [private]

Definition at line 32 of file ZdcTBAnalyzer.cc.

Referenced by ZdcTBAnalyzer().

Definition at line 37 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), and ZdcTBAnalyzer().

Definition at line 36 of file ZdcTBAnalyzer.cc.

Referenced by analyze(), and ZdcTBAnalyzer().

Definition at line 40 of file ZdcTBAnalyzer.cc.

Referenced by analyze().

Definition at line 38 of file ZdcTBAnalyzer.cc.

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