#include <CastorDigiAnalyzer.h>
Public Member Functions | |
virtual void | analyze (edm::Event const &e, edm::EventSetup const &c) |
CastorDigiAnalyzer (edm::ParameterSet const &conf) | |
Private Attributes | |
CastorDigiStatistics | castorDigiStatistics_ |
CastorHitFilter | castorFilter_ |
CaloHitAnalyzer | castorHitAnalyzer_ |
std::string | hitReadoutName_ |
CastorSimParameterMap | simParameterMap_ |
Castor digis Author: Panos Katsas
Definition at line 20 of file CastorDigiAnalyzer.h.
CastorDigiAnalyzer::CastorDigiAnalyzer | ( | edm::ParameterSet const & | conf | ) | [explicit] |
Definition at line 7 of file CastorDigiAnalyzer.cc.
: hitReadoutName_("CastorHits"), simParameterMap_(), castorHitAnalyzer_("CASTORDigi", 1., &simParameterMap_, &castorFilter_), castorDigiStatistics_("CASTORDigi", 3, 10., 6., 0.1, 0.5, castorHitAnalyzer_) { }
void CastorDigiAnalyzer::analyze | ( | edm::Event const & | e, |
edm::EventSetup const & | c | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 32 of file CastorDigiAnalyzer.cc.
References castorDigiStatistics_, castorHitAnalyzer_, alignCSCRings::e, CaloHitAnalyzer::fillHits(), edm::Event::getByLabel(), and edm::Handle< T >::product().
{ // edm::Handle<edm::PCaloHitContainer> hits; edm::Handle<CrossingFrame<PCaloHit> > castorcf; e.getByLabel("mix", "g4SimHitsCastorFI", castorcf); //access to SimHits std::auto_ptr<MixCollection<PCaloHit> > hits(new MixCollection<PCaloHit>(castorcf.product())); // if (hits.isValid()) { castorHitAnalyzer_.fillHits(*hits); CastorDigiAnalyzerImpl::analyze<CastorDigiCollection>(e, castorDigiStatistics_); }
Definition at line 33 of file CastorDigiAnalyzer.h.
Referenced by analyze().
Definition at line 31 of file CastorDigiAnalyzer.h.
Definition at line 32 of file CastorDigiAnalyzer.h.
Referenced by analyze().
std::string CastorDigiAnalyzer::hitReadoutName_ [private] |
Definition at line 29 of file CastorDigiAnalyzer.h.
Definition at line 30 of file CastorDigiAnalyzer.h.