Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
Utilities
src
ShmOuputModuleRegistry.cc
Go to the documentation of this file.
1
#include "
EventFilter/Utilities/interface/ShmOutputModuleRegistry.h
"
2
#include "
EventFilter/Modules/src/FUShmOutputModule.h
"
3
4
5
namespace
evf{
6
7
ShmOutputModuleRegistry::ShmOutputModuleRegistry
(
const
edm::ParameterSet
&ps){
8
}
9
10
void
ShmOutputModuleRegistry::registerModule
(std::string &
name
,
edm::FUShmOutputModule
*op)
11
{
12
clm_
.insert(std::pair<std::string, edm::FUShmOutputModule*>(name,op));
13
}
14
15
16
edm::FUShmOutputModule
*
ShmOutputModuleRegistry::get
(std::string &
name
)
17
{
18
edm::FUShmOutputModule
* retval = 0;
19
idct
it=
clm_
.find(name);
20
if
(it!=
clm_
.end())
21
retval = (it->second);
22
return
retval;
23
}
24
void
ShmOutputModuleRegistry::dumpRegistry
(){
25
idct
it=
clm_
.begin();
26
while
(it!=
clm_
.end()){
27
std::cout
<<
"name "
<< it->first <<
"add "
28
<< (
unsigned
long)(it->second) << std::endl;
29
it++;
30
}
31
}
32
void
ShmOutputModuleRegistry::clear
()
33
{
34
clm_
.clear();
35
}
36
37
38
}
//end namespace evf
evf::ShmOutputModuleRegistry::ShmOutputModuleRegistry
ShmOutputModuleRegistry(const edm::ParameterSet &)
Definition:
ShmOuputModuleRegistry.cc:7
evf::ShmOutputModuleRegistry::clear
void clear()
Definition:
ShmOuputModuleRegistry.cc:32
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
evf::ShmOutputModuleRegistry::clm_
dct clm_
Definition:
ShmOutputModuleRegistry.h:30
evf::ShmOutputModuleRegistry::dumpRegistry
void dumpRegistry()
Definition:
ShmOuputModuleRegistry.cc:24
edm::FUShmOutputModule
Definition:
FUShmOutputModule.h:51
FUShmOutputModule.h
ShmOutputModuleRegistry.h
evf::ShmOutputModuleRegistry::get
edm::FUShmOutputModule * get(std::string &name)
Definition:
ShmOuputModuleRegistry.cc:16
evf::ShmOutputModuleRegistry::registerModule
void registerModule(std::string &name, edm::FUShmOutputModule *op)
Definition:
ShmOuputModuleRegistry.cc:10
edm::ParameterSet
Definition:
ParameterSet.h:32
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:41
evf::ShmOutputModuleRegistry::idct
dct::iterator idct
Definition:
ShmOutputModuleRegistry.h:28
Generated for CMSSW Reference Manual by
1.8.5