#include <OutputMagneticFieldDDToDDL.h>
Public Member Functions | |
void | analyze (edm::Event const &iEvent, edm::EventSetup const &) override |
void | beginJob () override |
void | beginRun (edm::Run const &iEvent, edm::EventSetup const &) override |
void | endJob () override |
void | endRun (edm::Run const &iEvent, edm::EventSetup const &) override |
OutputMagneticFieldDDToDDL (const edm::ParameterSet &iConfig) | |
~OutputMagneticFieldDDToDDL (void) | |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | addToMatStore (const DDMaterial &mat, std::set< DDMaterial > &matStore) |
void | addToSolStore (const DDSolid &sol, std::set< DDSolid > &solStore, std::set< DDRotation > &rotStore) |
void | addToSpecStore (const DDLogicalPart &lp, std::map< const DDsvalues_type, std::set< const DDPartSelection * >, ddsvaluesCmp > &specStore) |
Private Attributes | |
std::string | m_fname |
int | m_rotNumSeed |
std::ostream * | m_xos |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 23 of file OutputMagneticFieldDDToDDL.h.
|
explicit |
Definition at line 33 of file OutputMagneticFieldDDToDDL.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_fname, m_rotNumSeed, m_xos, and AlCaHLTBitMon_QueryRunRegistry::string.
OutputMagneticFieldDDToDDL::~OutputMagneticFieldDDToDDL | ( | void | ) |
|
private |
Definition at line 204 of file OutputMagneticFieldDDToDDL.cc.
References DDMaterial::constituent(), cropTnPTrees::frac, and DDMaterial::noOfConstituents().
Referenced by beginRun().
|
private |
Definition at line 223 of file OutputMagneticFieldDDToDDL.cc.
References ddintersection, ddsubtraction, ddunion, DDBooleanSolid::rotation(), DDSolid::shape(), DDBooleanSolid::solidA(), and DDBooleanSolid::solidB().
Referenced by beginRun().
|
private |
Definition at line 242 of file OutputMagneticFieldDDToDDL.cc.
References DDLogicalPart::attachedSpecifics().
Referenced by beginRun().
|
inlineoverridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 31 of file OutputMagneticFieldDDToDDL.h.
|
inlineoverridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 29 of file OutputMagneticFieldDDToDDL.h.
|
override |
Definition at line 62 of file OutputMagneticFieldDDToDDL.cc.
References addToMatStore(), addToSolStore(), addToSpecStore(), edm::EventSetup::get(), i, DDCoreToDDXMLOutput::logicalPart(), m_fname, m_rotNumSeed, m_xos, DDCoreToDDXMLOutput::material(), DDLogicalPart::material(), DDCoreToDDXMLOutput::ns_, dbtoconf::out, DDCoreToDDXMLOutput::position(), alignCSCRings::r, cmsRelvalreport::red(), DDCoreToDDXMLOutput::rotation(), DDCoreToDDXMLOutput::solid(), DDLogicalPart::solid(), DDCoreToDDXMLOutput::specpar(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 33 of file OutputMagneticFieldDDToDDL.h.
|
inlineoverride |
Definition at line 32 of file OutputMagneticFieldDDToDDL.h.
|
private |
Definition at line 41 of file OutputMagneticFieldDDToDDL.h.
Referenced by beginRun(), and OutputMagneticFieldDDToDDL().
|
private |
Definition at line 40 of file OutputMagneticFieldDDToDDL.h.
Referenced by beginRun(), and OutputMagneticFieldDDToDDL().
|
private |
Definition at line 42 of file OutputMagneticFieldDDToDDL.h.
Referenced by beginRun(), OutputMagneticFieldDDToDDL(), and ~OutputMagneticFieldDDToDDL().