#include <ShallowTree.h>
Classes | |
class | BranchConnector |
class | TypedBranchConnector |
Public Types | |
enum | LEAFTYPE { BOOL =1, BOOL_V, SHORT, SHORT_V, U_SHORT, U_SHORT_V, INT, INT_V, U_INT, U_INT_V, FLOAT, FLOAT_V, DOUBLE, DOUBLE_V, LONG, LONG_V, U_LONG, U_LONG_V, CHAR, CHAR_V, U_CHAR, U_CHAR_V } |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Public Member Functions | |
ShallowTree (const edm::ParameterSet &iConfig) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
Private Attributes | |
std::vector< BranchConnector * > | connectors |
edm::Service< TFileService > | fs |
edm::ParameterSet | pset |
TTree * | tree |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Makes a tree out of C++ standard types and vectors of C++ standard types
This class, which is an EDAnalyzer, takes the same "keep" and "drop" outputCommands parameter as the PoolOutputSource, making a tree of the selected variables, which it obtains from the EDM tree.
See the file python/test_cfg.py for an example configuration.
See the file doc/README for more detailed documentation, including advantages, disadvantages, and use philosophy.
Definition at line 34 of file ShallowTree.h.
Enumerator | |
---|---|
BOOL | |
BOOL_V | |
SHORT | |
SHORT_V | |
U_SHORT | |
U_SHORT_V | |
INT | |
INT_V | |
U_INT | |
U_INT_V | |
FLOAT | |
FLOAT_V | |
DOUBLE | |
DOUBLE_V | |
LONG | |
LONG_V | |
U_LONG | |
U_LONG_V | |
CHAR | |
CHAR_V | |
U_CHAR | |
U_CHAR_V |
Definition at line 66 of file ShallowTree.h.
|
inlineexplicit |
Definition at line 64 of file ShallowTree.h.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 13 of file ShallowTree.cc.
References ShallowTree::BranchConnector::connect(), connectors, and tree.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 42 of file ShallowTree.cc.
References edm::ConstProductRegistry::allBranchDescriptions(), BOOL, BOOL_V, CHAR, CHAR_V, edm::errors::Configuration, connectors, DOUBLE, DOUBLE_V, edm::hlt::Exception, FLOAT, FLOAT_V, fs, edm::GroupSelector::initialize(), INT, INT_V, python.Node::leaf, LONG, LONG_V, TFileDirectory::make(), pset, edm::second(), edm::GroupSelector::selected(), elec_selection::selection(), SHORT, SHORT_V, tree, U_CHAR, U_CHAR_V, U_INT, U_INT_V, U_LONG, U_LONG_V, U_SHORT, and U_SHORT_V.
|
inlineprivatevirtual |
|
private |
Definition at line 60 of file ShallowTree.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 58 of file ShallowTree.h.
Referenced by beginJob().
|
private |
Definition at line 61 of file ShallowTree.h.
Referenced by beginJob().
|
private |
Definition at line 59 of file ShallowTree.h.
Referenced by svgfig.SVG::__str__(), analyze(), beginJob(), and python.cmstools.EventTree::SetAlias().