#include <CosmicClusterProducer.h>
Public Member Functions | |
CosmicClusterProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~CosmicClusterProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
void | clusterizeECALPart (edm::Event &evt, const edm::EventSetup &es, const std::string &hitProducer, const std::string &hitCollection, const std::string &uhitProducer, const std::string &uhitCollection, const std::string &clusterCollection, const std::string &clusterShapeAssociation, const CosmicClusterAlgo::EcalPart &ecalPart) |
bool | counterExceeded () const |
const EcalRecHitCollection * | getCollection (edm::Event &evt, const std::string &hitProducer_, const std::string &hitCollection_) |
const EcalUncalibratedRecHitCollection * | getUCollection (edm::Event &evt, const std::string &hitProducer_, const std::string &hitCollection_) |
void | outputValidationInfo (reco::CaloClusterPtrVector &clusterPtrVector) |
Private Attributes | |
std::string | barrelClusterCollection_ |
std::string | barrelClusterShapeAssociation_ |
std::string | barrelHitCollection_ |
std::string | barrelHitProducer_ |
std::string | barrelUHitCollection_ |
std::string | barrelUHitProducer_ |
std::string | clustershapecollectionEB_ |
std::string | clustershapecollectionEE_ |
std::string | endcapClusterCollection_ |
std::string | endcapClusterShapeAssociation_ |
std::string | endcapHitCollection_ |
std::string | endcapHitProducer_ |
std::string | endcapUHitCollection_ |
std::string | endcapUHitProducer_ |
CosmicClusterAlgo * | island_p |
int | nEvt_ |
int | nMaxPrintout_ |
PositionCalc | posCalculator_ |
ClusterShapeAlgo | shapeAlgo_ |
CosmicClusterAlgo::VerbosityLevel | verbosity |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 27 of file CosmicClusterProducer.h.
CosmicClusterProducer::CosmicClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 39 of file CosmicClusterProducer.cc.
References barrelClusterCollection_, barrelClusterShapeAssociation_, barrelHitCollection_, barrelHitProducer_, barrelUHitCollection_, barrelUHitProducer_, clustershapecollectionEB_, clustershapecollectionEE_, endcapClusterCollection_, endcapClusterShapeAssociation_, endcapHitCollection_, endcapHitProducer_, endcapUHitCollection_, endcapUHitProducer_, edm::ParameterSet::getParameter(), island_p, nEvt_, CosmicClusterAlgo::pDEBUG, CosmicClusterAlgo::pERROR, CosmicClusterAlgo::pINFO, posCalculator_, CosmicClusterAlgo::pWARNING, shapeAlgo_, and verbosity.
CosmicClusterProducer::~CosmicClusterProducer | ( | ) |
|
private |
Definition at line 161 of file CosmicClusterProducer.cc.
References CosmicClusterAlgo::barrel, barrelClusterCollection_, ClusterShapeAlgo::Calculate(), clustershapecollectionEB_, clustershapecollectionEE_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), getUCollection(), i, island_p, CosmicClusterAlgo::makeClusters(), edm::Event::put(), and shapeAlgo_.
Referenced by produce().
|
inlineprivate |
|
private |
Definition at line 116 of file CosmicClusterProducer.cc.
References gather_cfg::cout, edm::Event::getByLabel(), edm::HandleBase::isValid(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart().
|
private |
Definition at line 138 of file CosmicClusterProducer.cc.
References gather_cfg::cout, edm::Event::getByLabel(), edm::HandleBase::isValid(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart().
|
private |
|
virtual |
Implements edm::EDProducer.
Definition at line 108 of file CosmicClusterProducer.cc.
References CosmicClusterAlgo::barrel, barrelClusterCollection_, barrelClusterShapeAssociation_, barrelHitCollection_, barrelHitProducer_, barrelUHitCollection_, barrelUHitProducer_, clusterizeECALPart(), CosmicClusterAlgo::endcap, endcapClusterCollection_, endcapClusterShapeAssociation_, endcapHitCollection_, endcapHitProducer_, endcapUHitCollection_, endcapUHitProducer_, and nEvt_.
|
private |
Definition at line 54 of file CosmicClusterProducer.h.
Referenced by clusterizeECALPart(), CosmicClusterProducer(), and produce().
|
private |
Definition at line 61 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 46 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 44 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 51 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 49 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 57 of file CosmicClusterProducer.h.
Referenced by clusterizeECALPart(), and CosmicClusterProducer().
|
private |
Definition at line 58 of file CosmicClusterProducer.h.
Referenced by clusterizeECALPart(), and CosmicClusterProducer().
|
private |
Definition at line 55 of file CosmicClusterProducer.h.
Referenced by clusterizeECALPart(), CosmicClusterProducer(), and produce().
|
private |
Definition at line 62 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 47 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 45 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 52 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 50 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), and produce().
|
private |
Definition at line 66 of file CosmicClusterProducer.h.
Referenced by clusterizeECALPart(), CosmicClusterProducer(), and ~CosmicClusterProducer().
|
private |
Definition at line 40 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer(), counterExceeded(), and produce().
|
private |
Definition at line 39 of file CosmicClusterProducer.h.
Referenced by counterExceeded().
|
private |
Definition at line 64 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer().
|
private |
Definition at line 65 of file CosmicClusterProducer.h.
Referenced by clusterizeECALPart(), and CosmicClusterProducer().
|
private |
Definition at line 42 of file CosmicClusterProducer.h.
Referenced by CosmicClusterProducer().