#include <HcalDigiAnalyzer.h>
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_), hbheDigiCollectionTag_(conf.getParameter<edm::InputTag>("hbheDigiCollectionTag")), hoDigiCollectionTag_(conf.getParameter<edm::InputTag>("hoDigiCollectionTag")), hfDigiCollectionTag_(conf.getParameter<edm::InputTag>("hfDigiCollectionTag")) { }
void HcalDigiAnalyzer::analyze | ( | edm::Event const & | e, |
edm::EventSetup const & | c | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 41 of file HcalDigiAnalyzer.cc.
References alignCSCRings::e, CaloHitAnalyzer::fillHits(), edm::Event::getByLabel(), hbheDigiCollectionTag_, hbheDigiStatistics_, hbheHitAnalyzer_, hfDigiCollectionTag_, hfDigiStatistics_, hfHitAnalyzer_, hoDigiCollectionTag_, 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_, hbheDigiCollectionTag_); HcalDigiAnalyzerImpl::analyze<HODigiCollection>(e, hoDigiStatistics_, hoDigiCollectionTag_); HcalDigiAnalyzerImpl::analyze<HFDigiCollection>(e, hfDigiStatistics_, hfDigiCollectionTag_); //HcalDigiAnalyzerImpl::analyze<ZDCDigiCollection>(e, zdcDigiStatistics_); }
Definition at line 49 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 44 of file HcalDigiAnalyzer.h.
Referenced by analyze().
HBHEHitFilter HcalDigiAnalyzer::hbheFilter_ [private] |
Definition at line 36 of file HcalDigiAnalyzer.h.
Definition at line 40 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 51 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 46 of file HcalDigiAnalyzer.h.
Referenced by analyze().
HFHitFilter HcalDigiAnalyzer::hfFilter_ [private] |
Definition at line 38 of file HcalDigiAnalyzer.h.
Definition at line 42 of file HcalDigiAnalyzer.h.
Referenced by analyze().
std::string HcalDigiAnalyzer::hitReadoutName_ [private] |
Definition at line 34 of file HcalDigiAnalyzer.h.
Definition at line 50 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 45 of file HcalDigiAnalyzer.h.
Referenced by analyze().
HOHitFilter HcalDigiAnalyzer::hoFilter_ [private] |
Definition at line 37 of file HcalDigiAnalyzer.h.
Definition at line 41 of file HcalDigiAnalyzer.h.
Referenced by analyze().
Definition at line 35 of file HcalDigiAnalyzer.h.
Definition at line 47 of file HcalDigiAnalyzer.h.
ZDCHitFilter HcalDigiAnalyzer::zdcFilter_ [private] |
Definition at line 39 of file HcalDigiAnalyzer.h.
Definition at line 43 of file HcalDigiAnalyzer.h.