#include <HcalDigiAnalyzer.h>
Public Member Functions | |
virtual void | analyze (edm::Event const &e, edm::EventSetup const &c) |
HcalDigiAnalyzer (edm::ParameterSet const &conf) | |
Private Attributes | |
HcalDigiStatistics | hbheDigiStatistics_ |
HBHEHitFilter | hbheFilter_ |
CaloHitAnalyzer | hbheHitAnalyzer_ |
HcalDigiStatistics | hfDigiStatistics_ |
HFHitFilter | hfFilter_ |
CaloHitAnalyzer | hfHitAnalyzer_ |
std::string | hitReadoutName_ |
HcalDigiStatistics | hoDigiStatistics_ |
HOHitFilter | hoFilter_ |
CaloHitAnalyzer | hoHitAnalyzer_ |
HcalSimParameterMap | simParameterMap_ |
HcalDigiStatistics | zdcDigiStatistics_ |
ZDCHitFilter | zdcFilter_ |
CaloHitAnalyzer | zdcHitAnalyzer_ |
HcalDigiAnalyzer::HcalDigiAnalyzer | ( | edm::ParameterSet const & | conf | ) | [explicit] |
Definition at line 7 of file HcalDigiAnalyzer.cc.
: hitReadoutName_("HcalHits"), simParameterMap_(), hbheFilter_(), hoFilter_(), hfFilter_(true), hbheHitAnalyzer_("HBHEDigi", 1., &simParameterMap_, &hbheFilter_), hoHitAnalyzer_("HODigi", 1., &simParameterMap_, &hoFilter_), hfHitAnalyzer_("HFDigi", 1., &simParameterMap_, &hfFilter_), zdcHitAnalyzer_("ZDCDigi", 1., &simParameterMap_, &zdcFilter_), hbheDigiStatistics_("HBHEDigi", 4, 10., 6., 0.1, 0.5, hbheHitAnalyzer_), hoDigiStatistics_("HODigi", 4, 10., 6., 0.1, 0.5, hoHitAnalyzer_), hfDigiStatistics_("HFDigi", 3, 10., 6., 0.1, 0.5, hfHitAnalyzer_), zdcDigiStatistics_("ZDCDigi", 3, 10., 6., 0.1, 0.5, zdcHitAnalyzer_) { }
void HcalDigiAnalyzer::analyze | ( | edm::Event const & | e, |
edm::EventSetup const & | c | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 38 of file HcalDigiAnalyzer.cc.
References CaloHitAnalyzer::fillHits(), edm::Event::getByLabel(), hbheDigiStatistics_, hbheHitAnalyzer_, hfDigiStatistics_, hfHitAnalyzer_, hoDigiStatistics_, hoHitAnalyzer_, and edm::Handle< T >::product().
{ // Step A: Get Inputs edm::Handle<CrossingFrame<PCaloHit> > cf, zdccf; e.getByLabel("mix", "HcalHits",cf); //e.getByLabel("mix", "ZDCHits", zdccf); // test access to SimHits for HcalHits and ZDC hits std::auto_ptr<MixCollection<PCaloHit> > hits(new MixCollection<PCaloHit>(cf.product())); //std::auto_ptr<MixCollection<PCaloHit> > zdcHits(new MixCollection<PCaloHit>(zdccf.product())); hbheHitAnalyzer_.fillHits(*hits); hoHitAnalyzer_.fillHits(*hits); hfHitAnalyzer_.fillHits(*hits); //zdcHitAnalyzer_.fillHits(*zdcHits); HcalDigiAnalyzerImpl::analyze<HBHEDigiCollection>(e, hbheDigiStatistics_); HcalDigiAnalyzerImpl::analyze<HODigiCollection>(e, hoDigiStatistics_); HcalDigiAnalyzerImpl::analyze<HFDigiCollection>(e, hfDigiStatistics_); //HcalDigiAnalyzerImpl::analyze<ZDCDigiCollection>(e, zdcDigiStatistics_); }
Definition at line 43 of file HcalDigiAnalyzer.h.
Referenced by analyze().
HBHEHitFilter HcalDigiAnalyzer::hbheFilter_ [private] |
Definition at line 35 of file HcalDigiAnalyzer.h.
Definition at line 39 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 45 of file HcalDigiAnalyzer.h.
Referenced by analyze().
HFHitFilter HcalDigiAnalyzer::hfFilter_ [private] |
Definition at line 37 of file HcalDigiAnalyzer.h.
Definition at line 41 of file HcalDigiAnalyzer.h.
Referenced by analyze().
std::string HcalDigiAnalyzer::hitReadoutName_ [private] |
Definition at line 33 of file HcalDigiAnalyzer.h.
Definition at line 44 of file HcalDigiAnalyzer.h.
Referenced by analyze().
HOHitFilter HcalDigiAnalyzer::hoFilter_ [private] |
Definition at line 36 of file HcalDigiAnalyzer.h.
Definition at line 40 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 34 of file HcalDigiAnalyzer.h.
Definition at line 46 of file HcalDigiAnalyzer.h.
ZDCHitFilter HcalDigiAnalyzer::zdcFilter_ [private] |
Definition at line 38 of file HcalDigiAnalyzer.h.
Definition at line 42 of file HcalDigiAnalyzer.h.