|
| DumpFWRecoGeometry (const edm::ParameterSet &config) |
|
| ~DumpFWRecoGeometry (void) override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 14 of file DumpFWRecoGeometry.cc.
Definition at line 30 of file DumpFWRecoGeometry.cc.
T getUntrackedParameter(std::string const &, T const &) const
std::string m_outputFileName
DumpFWRecoGeometry::~DumpFWRecoGeometry |
( |
void |
| ) |
|
|
inlineoverride |
Definition at line 37 of file DumpFWRecoGeometry.cc.
References end, FWRecoGeometry::extraDet, FrontierConditions_GlobalTag_cff::file, edm::EventSetup::get(), mps_fire::i, FWRecoGeometry::idToName, m_outputFileName, m_tag, and edm::ESTransientHandle< T >::product().
Referenced by ~DumpFWRecoGeometry().
45 TTree *
tree =
new TTree(
"idToGeo",
"raw detector id association with geometry ANT");
51 Float_t v_translation[3];
54 tree->SetBranchStyle( 0 );
55 tree->Branch(
"id", &v_id,
"id/i" );
56 tree->Branch(
"points", &v_vertex,
"points[24]/F" );
57 tree->Branch(
"topology", &v_params,
"topology[9]/F" );
58 tree->Branch(
"shape", &v_shape,
"shape[5]/F" );
59 tree->Branch(
"translation", &v_translation,
"translation[3]/F" );
60 tree->Branch(
"matrix", &v_matrix,
"matrix[9]/F" );
67 for(
unsigned int i = 0;
i < 24; ++
i )
68 v_vertex[
i] = it->points[
i];
69 for(
unsigned int i = 0;
i < 9; ++
i )
70 v_params[
i] = it->topology[
i];
71 for(
unsigned int i = 0;
i < 5; ++
i )
72 v_shape[
i] = it->shape[
i];
73 for(
unsigned int i = 0;
i < 3; ++
i )
74 v_translation[
i] = it->translation[
i];
75 for(
unsigned int i = 0;
i < 9; ++
i )
76 v_matrix[
i] = it->matrix[
i];
79 file.WriteTObject( tree );
82 file.WriteTObject(
new TNamed(
"CMSSW_VERSION", gSystem->Getenv(
"CMSSW_VERSION" )));
83 file.WriteTObject(
new TNamed(
"tag",
m_tag.c_str()));
85 file.WriteTObject(
new TNamed(
"PRODUCER_VERSION",
"1"));
std::vector< FWRecoGeom::Info >::const_iterator InfoMapItr
FWRecoGeom::InfoMap idToName
std::string m_outputFileName
T const * product() const
void DumpFWRecoGeometry::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
void DumpFWRecoGeometry::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
int DumpFWRecoGeometry::m_level |
|
private |
std::string DumpFWRecoGeometry::m_outputFileName |
|
private |
std::string DumpFWRecoGeometry::m_tag |
|
private |