#include <TRefFinder.hpp>
Public Member Functions | |
| TRefFinder () | |
| virtual | ~TRefFinder () |
| void | setDebug (int debug) |
| void | setTrackBranchName (const std::string name) |
| void | setVertexBranchName (const std::string name) |
| void | SetVariablesTrack (const cafe::Variables &vars) |
| void | addTrackVariable (const std::string &name) |
| void | SetVariablesVertex (const cafe::Variables &vars) |
| void | addVertexVariable (const std::string &name) |
| const TMBTrack * | FindTrack (cafe::Event &event, const TRef &ref) const |
| const TMBPrimaryVertex * | FindVertex (cafe::Event &event, const TRef &ref) const |
| ClassDef (TRefFinder, 0) | |
Private Attributes | |
| std::string | _trackBranch |
| std::string | _vertexBranch |
| cafe::Variables | _trvars |
| cafe::Variables | _vtxvars |
| int | _debug |
The method FindTrack will find the track using the TRef, if the TRef constaind the valid unique ID. This will only work if the root file was written with only one process ID, this means during one ROOT session. Usually this is the case for the CSG caf tree production and not valid for the file merged from the several production files.
Usage:
Definition at line 32 of file TRefFinder.hpp.
|
|
Definition at line 8 of file TRefFinder.cpp. |
|
|
Definition at line 41 of file TRefFinder.hpp. |
|
|
Definition at line 49 of file TRefFinder.hpp. References _trvars, and cafe::Variables::add(). |
|
|
Definition at line 51 of file TRefFinder.hpp. References _vtxvars, and cafe::Variables::add(). |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 12 of file TRefFinder.cpp. References _debug, _trackBranch, _trvars, cafe::Collection< T >::begin(), cafe::Collection< T >::end(), and cafe::EventBase::getCollection(). Referenced by caf_util::VertexSelector::selectObject(), and caf_util::ElectronSelector::selectObject(). |
|
||||||||||||
|
Definition at line 46 of file TRefFinder.cpp. References _vertexBranch, _vtxvars, cafe::Collection< T >::begin(), cafe::Collection< T >::end(), and cafe::EventBase::getCollection(). |
|
|
Definition at line 43 of file TRefFinder.hpp. References _debug. Referenced by caf_util::VertexSelector::begin(). |
|
|
Definition at line 45 of file TRefFinder.hpp. References _trackBranch. |
|
|
Definition at line 48 of file TRefFinder.hpp. References _trvars. Referenced by caf_util::ElectronSelector::ElectronSelector(), and caf_util::VertexSelector::VertexSelector(). |
|
|
Definition at line 50 of file TRefFinder.hpp. References _vtxvars. |
|
|
Definition at line 46 of file TRefFinder.hpp. References _vertexBranch. |
|
|
Definition at line 38 of file TRefFinder.hpp. Referenced by FindTrack(), and setDebug(). |
|
|
Definition at line 34 of file TRefFinder.hpp. Referenced by FindTrack(), and setTrackBranchName(). |
|
|
Definition at line 36 of file TRefFinder.hpp. Referenced by addTrackVariable(), FindTrack(), and SetVariablesTrack(). |
|
|
Definition at line 35 of file TRefFinder.hpp. Referenced by FindVertex(), and setVertexBranchName(). |
|
|
Definition at line 37 of file TRefFinder.hpp. Referenced by addVertexVariable(), FindVertex(), and SetVariablesVertex(). |
1.3.4