#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 |
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) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
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 32 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 64 of file ShallowTree.h.
|
inlineexplicit |
Definition at line 62 of file ShallowTree.h.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 11 of file ShallowTree.cc.
References connectors, and tree.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 41 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::ProductSelector::initialize(), INT, INT_V, python.Node::leaf, LONG, LONG_V, TFileService::make(), pset, edm::second(), edm::ProductSelector::selected(), corrVsCorr::selection, SHORT, SHORT_V, AlCaHLTBitMon_QueryRunRegistry::string, 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 58 of file ShallowTree.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file ShallowTree.h.
Referenced by beginJob().
|
private |
Definition at line 59 of file ShallowTree.h.
Referenced by Types._ConvertToPSet::addBool(), Types._ConvertToPSet::addDouble(), Types._ConvertToPSet::addESInputTag(), Types._ConvertToPSet::addEventID(), Types._ConvertToPSet::addEventRange(), Types._ConvertToPSet::addInputTag(), Types._ConvertToPSet::addInt32(), Types._ConvertToPSet::addInt64(), Types._ConvertToPSet::addLuminosityBlockID(), Types._ConvertToPSet::addLuminosityBlockRange(), Types._ConvertToPSet::addNewFileInPath(), Types._ConvertToPSet::addPSet(), Types._ConvertToPSet::addString(), Types._ConvertToPSet::addUInt32(), Types._ConvertToPSet::addUInt64(), Types._ConvertToPSet::addVBool(), Types._ConvertToPSet::addVDouble(), Types._ConvertToPSet::addVESInputTag(), Types._ConvertToPSet::addVEventID(), Types._ConvertToPSet::addVEventRange(), Types._ConvertToPSet::addVInputTag(), Types._ConvertToPSet::addVInt32(), Types._ConvertToPSet::addVInt64(), Types._ConvertToPSet::addVLuminosityBlockID(), Types._ConvertToPSet::addVLuminosityBlockRange(), Types._ConvertToPSet::addVPSet(), Types._ConvertToPSet::addVString(), Types._ConvertToPSet::addVUInt32(), Types._ConvertToPSet::addVUInt64(), and beginJob().
|
private |
Definition at line 57 of file ShallowTree.h.
Referenced by svgfig.SVG::__str__(), analyze(), beginJob(), and python.cmstools.EventTree::SetAlias().