LCTuple  1.6.0
Public Member Functions | Protected Attributes | List of all members
LCTuple Class Reference

Creates a simple column wise ntuple in a ROOT tree from LCIO collections. More...

#include <LCTuple.h>

Inheritance diagram for LCTuple:

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 Called at the begin of the job before anything is read. More...
 
virtual void processRunHeader (LCRunHeader *run)
 Called for every run.
 
virtual void processEvent (LCEvent *evt)
 Called for every event - the working horse.
 
virtual void check (LCEvent *evt)
 
virtual void end ()
 Called after data processing for clean up.
 

Protected Attributes

std::string _mcpColName
 Input collection name.
 
std::string _mcpRemoveOverlayColName
 
std::string _recColName
 
std::string _jetColName
 
std::string _isolepColName
 
std::string _trkColName
 
std::string _cluColName
 
std::string _sthColName
 
std::string _trhColName
 
std::string _schColName
 
std::string _cahColName
 
std::string _vtxColName
 
std::string _pfoRelName
 
std::string _relName
 
bool _mcpColWriteParameters
 
bool _recColWriteParameters
 
bool _jetColWriteParameters
 
bool _isolepColWriteParameters
 
bool _trkColWriteParameters
 
bool _cluColWriteParameters
 
bool _sthColWriteParameters
 
bool _trhColWriteParameters
 
bool _schColWriteParameters
 
bool _cahColWriteParameters
 
bool _vtxColWriteParameters
 
bool _jetColExtraParameters
 
bool _jetColTaggingParameters
 
StringVec _relColNames
 
StringVec _relPrefixes
 
TTree * _tree
 
CWBranchesSet_evtBranches
 
CollectionBranches_mcpBranches
 
CollectionBranches_mcpremoveoverlayBranches
 
CollectionBranches_recBranches
 
JetBranches_jetBranches
 
CollectionBranches_isolepBranches
 
CollectionBranches_trkBranches
 
CollectionBranches_cluBranches
 
CollectionBranches_sthBranches
 
CollectionBranches_trhBranches
 
CollectionBranches_schBranches
 
CollectionBranches_cahBranches
 
CollectionBranches_vtxBranches
 
MCParticleFromRelationBranches_mcRelBranches
 
std::vector< CWBranchesSet * > _relBranchesVec
 
int _nRun
 
int _nEvt
 

Detailed Description

Creates a simple column wise ntuple in a ROOT tree from LCIO collections.

Input - Prerequisites

Needs collections of MCParticles, ReconstructedParticles, Tracks, .... There can only be one collection of every type (users should copy all collections of a given type into one (subset) collection).

Output

A ROOT TTree with LCIO data in column wise ntuple format

Parameters
MCParticleCollectionName of the MCParticle collection
RecoCollectionName of the ReconstructedParticleParticle collection
Author
F. Gaede, DESY
Version
Id:
LCTuple.h 5214 2015-11-04 04:37:50Z shaojun

Member Function Documentation

void LCTuple::init ( )
virtual

Called at the begin of the job before anything is read.

Use to initialize the processor, e.g. book histograms.

References _mcpColName.


The documentation for this class was generated from the following files: