#include <EcalRawToRecHitRoI.h>
Classes | |
class | CalUnpackJobPSet |
generic class to drive the job More... | |
class | CandJobPSet |
class to drive the job on Candidate-inheriting object More... | |
class | EmJobPSet |
class to drive the job on L1Em More... | |
class | JetJobPSet |
class to drive the job on L1Jet More... | |
class | MuJobPSet |
class to drive the job on L1Muon More... | |
Public Member Functions | |
EcalRawToRecHitRoI (const edm::ParameterSet &pset) | |
void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~EcalRawToRecHitRoI () |
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 Types | |
typedef edm::LazyGetter < EcalRecHit > | EcalRecHitLazyGetter |
typedef edm::RefGetter < EcalRecHit > | EcalRecHitRefGetter |
Private Member Functions | |
void | Cand (edm::Event &e, const edm::EventSetup &es, std::vector< int > &FEDs) |
std::string | dumpFEDs (const std::vector< int > &FEDs) |
void | Egamma (edm::Event &e, const edm::EventSetup &es, std::vector< int > &FEDs) |
void | Egamma_OneL1EmCollection (const edm::Handle< l1extra::L1EmParticleCollection > emColl, const EmJobPSet &ejpset, const edm::ESHandle< L1CaloGeometry > &l1CaloGeom, std::vector< int > &FEDs) |
process one collection of L1Em More... | |
void | Jet (edm::Event &e, const edm::EventSetup &es, std::vector< int > &FEDs) |
void | Jet_OneL1JetCollection (const edm::Handle< l1extra::L1JetParticleCollection > jetColl, const JetJobPSet &jjpset, std::vector< int > &feds) |
process on collection of L1Jets More... | |
void | ListOfFEDS (double etaLow, double etaHigh, double phiLow, double phiHigh, double etamargin, double phimargin, std::vector< int > &FEDs) |
actually fill the vector with FED numbers More... | |
void | Muon (edm::Event &e, const edm::EventSetup &es, std::vector< int > &FEDs) |
template<typename CollectionType > | |
void | OneCandCollection (const edm::Event &e, const edm::EventSetup &es, const CandJobPSet &cjpset, std::vector< int > &feds) |
process one collection of Candidate-versatile objects More... | |
void | unique (std::vector< int > &FEDs) |
remove duplicates More... | |
Private Attributes | |
bool | All_ |
if all need to be done More... | |
bool | Candidate_ |
Candidate-versatile objects part flag. More... | |
std::vector< CandJobPSet > | CandSource_ |
what drives the job from candidate More... | |
bool | do_es_ |
bool | EGamma_ |
Egamma part flag. More... | |
std::vector< EmJobPSet > | EmSource_ |
what drive the job on L1Em collection More... | |
std::string | esinstance_ |
bool | Jet_ |
jet part flag More... | |
std::vector< JetJobPSet > | JetSource_ |
what drive the job on L1Jet collection More... | |
bool | Muon_ |
Muon part flag. More... | |
MuJobPSet | MuonSource_ |
what drives the job from ONE L1Muon collection More... | |
edm::InputTag | sourceTag_ |
input tag for the lazy getter More... | |
edm::InputTag | sourceTag_es_ |
const ESElectronicsMapper * | TheESMapping |
const EcalElectronicsMapping * | TheMapping |
tools More... | |
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) |
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 39 of file EcalRawToRecHitRoI.h.
|
private |
Definition at line 41 of file EcalRawToRecHitRoI.h.
|
private |
Definition at line 42 of file EcalRawToRecHitRoI.h.
EcalRawToRecHitRoI::EcalRawToRecHitRoI | ( | const edm::ParameterSet & | pset | ) |
Definition at line 59 of file EcalRawToRecHitRoI.cc.
References All_, Candidate_, CandSource_, category(), do_es_, edm::ParameterSet::dump(), EGamma_, EmSource_, esinstance_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), Jet_, JetSource_, LogDebug, Muon_, MuonSource_, sourceTag_, and sourceTag_es_.
|
virtual |
Definition at line 139 of file EcalRawToRecHitRoI.cc.
|
private |
Definition at line 275 of file EcalRawToRecHitRoI.cc.
References EcalRawToRecHitRoI::CandJobPSet::candidate, CandSource_, category(), EcalRawToRecHitRoI::CandJobPSet::chargedcandidate, dumpFEDs(), reco_application_2006h2rawdata_ecalLocalReco_cfg::FEDs, EcalRawToRecHitRoI::CandJobPSet::l1jet, EcalRawToRecHitRoI::CandJobPSet::l1muon, LogDebug, unique(), and EcalRawToRecHitRoI::CandJobPSet::view.
Referenced by produce().
|
private |
Definition at line 145 of file EcalRawToRecHitRoI.cc.
References i.
Referenced by Cand(), Egamma(), Jet(), ListOfFEDS(), Muon(), and produce().
|
private |
Definition at line 333 of file EcalRawToRecHitRoI.cc.
References category(), dumpFEDs(), Egamma_OneL1EmCollection(), EmSource_, edm::EventSetup::get(), edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, python.Vispa.Plugins.EdmBrowser.EdmDataAccessor::ne(), popcon_last_value_cfg::Source, and unique().
Referenced by produce().
|
private |
process one collection of L1Em
Definition at line 310 of file EcalRawToRecHitRoI.cc.
References category(), ListOfFEDS(), LogDebug, EcalRawToRecHitRoI::CalUnpackJobPSet::Ptmin, EcalRawToRecHitRoI::CalUnpackJobPSet::regionEtaMargin, and EcalRawToRecHitRoI::CalUnpackJobPSet::regionPhiMargin.
Referenced by Egamma().
|
private |
Definition at line 408 of file EcalRawToRecHitRoI.cc.
References category(), dumpFEDs(), edm::Event::getByLabel(), edm::HandleBase::isValid(), Jet_OneL1JetCollection(), JetSource_, LogDebug, popcon_last_value_cfg::Source, and unique().
Referenced by produce().
|
private |
process on collection of L1Jets
Definition at line 390 of file EcalRawToRecHitRoI.cc.
References category(), EcalRawToRecHitRoI::JetJobPSet::epsilon, eta(), ListOfFEDS(), LogDebug, phi, EcalRawToRecHitRoI::CalUnpackJobPSet::Ptmin, EcalRawToRecHitRoI::CalUnpackJobPSet::regionEtaMargin, and EcalRawToRecHitRoI::CalUnpackJobPSet::regionPhiMargin.
Referenced by Jet().
|
private |
actually fill the vector with FED numbers
Definition at line 430 of file EcalRawToRecHitRoI.cc.
References cond::ecalcond::all, category(), createTree::dd, dumpFEDs(), LogDebug, Geom::pi(), and TheMapping.
Referenced by Egamma_OneL1EmCollection(), Jet_OneL1JetCollection(), Muon(), and OneCandCollection().
|
private |
Definition at line 357 of file EcalRawToRecHitRoI.cc.
References category(), dumpFEDs(), EcalRawToRecHitRoI::MuJobPSet::epsilon, eta(), edm::HandleBase::failedToGet(), edm::Event::getByLabel(), ListOfFEDS(), LogDebug, MuonSource_, phi, EcalRawToRecHitRoI::CalUnpackJobPSet::Ptmin, EcalRawToRecHitRoI::CalUnpackJobPSet::regionEtaMargin, EcalRawToRecHitRoI::CalUnpackJobPSet::regionPhiMargin, EcalRawToRecHitRoI::CalUnpackJobPSet::Source, and unique().
Referenced by produce().
|
private |
process one collection of Candidate-versatile objects
Definition at line 167 of file EcalRawToRecHitRoI.h.
References EcalRawToRecHitRoI::CandJobPSet::bePrecise, category(), EcalRawToRecHitRoI::CandJobPSet::cType, end, EcalRawToRecHitRoI::CandJobPSet::epsilon, eta(), edm::HandleBase::failedToGet(), edm::EventSetup::get(), edm::Event::getByLabel(), ListOfFEDS(), LogDebug, dbtoconf::out, phi, point, edm::ESHandle< class >::product(), EcalRawToRecHitRoI::CandJobPSet::propagatorNameToBePrecise, EcalRawToRecHitRoI::CalUnpackJobPSet::Ptmin, EcalRawToRecHitRoI::CalUnpackJobPSet::regionEtaMargin, EcalRawToRecHitRoI::CalUnpackJobPSet::regionPhiMargin, and EcalRawToRecHitRoI::CalUnpackJobPSet::Source.
|
virtual |
Implements edm::EDProducer.
Definition at line 155 of file EcalRawToRecHitRoI.cc.
References All_, Cand(), Candidate_, category(), do_es_, dumpFEDs(), Egamma(), EGamma_, esinstance_, edm::HandleBase::failedToGet(), edm::EventSetup::get(), edm::Event::getByLabel(), ESElectronicsMapper::GetListofFEDs(), i, Jet(), Jet_, MyWatcher::lap(), LogDebug, FEDNumbering::MINECALFEDID, Muon(), Muon_, edm::Event::put(), sourceTag_, sourceTag_es_, TheESMapping, and TheMapping.
Referenced by python.JSONExport.JsonExport::export(), and python.HTMLExport.HTMLExport::export().
|
inlineprivate |
remove duplicates
Definition at line 160 of file EcalRawToRecHitRoI.h.
References python.multivaluedict::sort().
Referenced by Cand(), Egamma(), Jet(), and Muon().
|
private |
if all need to be done
Definition at line 152 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
Candidate-versatile objects part flag.
Definition at line 130 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
what drives the job from candidate
Definition at line 149 of file EcalRawToRecHitRoI.h.
Referenced by Cand(), and EcalRawToRecHitRoI().
|
private |
Definition at line 60 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
Egamma part flag.
Definition at line 85 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
what drive the job on L1Em collection
Definition at line 98 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and Egamma().
|
private |
Definition at line 62 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
jet part flag
Definition at line 114 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
what drive the job on L1Jet collection
Definition at line 127 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and Jet().
|
private |
Muon part flag.
Definition at line 101 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
what drives the job from ONE L1Muon collection
Definition at line 111 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and Muon().
|
private |
input tag for the lazy getter
Definition at line 59 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
Definition at line 61 of file EcalRawToRecHitRoI.h.
Referenced by EcalRawToRecHitRoI(), and produce().
|
private |
Definition at line 66 of file EcalRawToRecHitRoI.h.
Referenced by produce().
|
private |
tools
Definition at line 65 of file EcalRawToRecHitRoI.h.
Referenced by ListOfFEDS(), and produce().