|
| DumpFWRecoGeometry (const edm::ParameterSet &config) |
|
| ~DumpFWRecoGeometry (void) override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
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 & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 14 of file DumpFWRecoGeometry.cc.
Implements edm::EDAnalyzer.
Definition at line 35 of file DumpFWRecoGeometry.cc.
42 TTree*
tree =
new TTree(
"idToGeo",
"raw detector id association with geometry ANT");
48 Float_t v_translation[3];
51 tree->SetBranchStyle(0);
52 tree->Branch(
"id", &v_id,
"id/i");
53 tree->Branch(
"points", &v_vertex,
"points[24]/F");
54 tree->Branch(
"topology", &v_params,
"topology[9]/F");
55 tree->Branch(
"shape", &v_shape,
"shape[5]/F");
56 tree->Branch(
"translation", &v_translation,
"translation[3]/F");
57 tree->Branch(
"matrix", &v_matrix,
"matrix[9]/F");
62 for (
unsigned int i = 0;
i < 24; ++
i)
63 v_vertex[
i] = it->points[
i];
64 for (
unsigned int i = 0;
i < 9; ++
i)
65 v_params[
i] = it->topology[
i];
66 for (
unsigned int i = 0;
i < 5; ++
i)
67 v_shape[
i] = it->shape[
i];
68 for (
unsigned int i = 0;
i < 3; ++
i)
69 v_translation[
i] = it->translation[
i];
70 for (
unsigned int i = 0;
i < 9; ++
i)
71 v_matrix[
i] = it->matrix[
i];
76 file.WriteTObject(
new TNamed(
"CMSSW_VERSION", gSystem->Getenv(
"CMSSW_VERSION")));
77 file.WriteTObject(
new TNamed(
"tag",
m_tag.c_str()));
79 file.WriteTObject(
new TNamed(
"PRODUCER_VERSION",
"1"));
References end, FWRecoGeometry::extraDet, FrontierConditions_GlobalTag_cff::file, cms::cuda::for(), edm::EventSetup::get(), get, mps_fire::i, FWRecoGeometry::idToName, m_outputFileName, m_tag, edm::ESTransientHandle< T >::product(), and FWRecoGeometry::trackerTopologyXML.