#include <reconRootWriterAlg.h>
Inheritance diagram for reconRootWriterAlg:

Public Methods | |
| reconRootWriterAlg (const std::string& name, ISvcLocator* pSvcLocator) | |
| constructor: create the converters. More... | |
| StatusCode | initialize () |
| initialize - open the root tree in write mode. More... | |
| StatusCode | execute () |
| load the root tree and write event by event. More... | |
| StatusCode | finalize () |
| close the root-tree. More... | |
| StatusCode | retrieve () |
| retrieve the TD from TDS. More... | |
Protected Methods | |
| void | save (SiRecObjs* sirec) |
| save the tracker hight level reconstructed objects from transient to persistent storage. More... | |
| void | save (SiClusters* sicl) |
| save the tracker medium level reconstructed objects from transient to persistent storage. More... | |
| void | save (CalRecLogs* crls) |
| save the CalRecLogs. More... | |
| void | save (CsIClusterList* ccl) |
| save the CsIClusterList. More... | |
| void | load (SiRecObjs* sirec) |
| null load the tracker hight level reconstructed objects from transient to persistent storage. More... | |
| void | load (SiClusters* sicl) |
| null load the tracker medium level reconstructed objects from transient to persistent storage. More... | |
| void | load (CalRecLogs* crls) |
| null load the CalRecLogs. More... | |
| void | load (CsIClusterList* ccl) |
| null load the CsIClusterList. More... | |
| void | writeEvent () |
| The User should define in this methods the converters from Recon->Transient. More... | |
| void | close () |
| StatusCode | saveHeader () |
Private Methods | |
| CalLogEne* | converter (const CalRecLog* crl) |
| CalCluster* | converter (const ICsICluster* cc) |
| TkrTrack* | converter (const GFtrack* track, int id, bool mother = false) |
| converter for the reconstructed tracks. More... | |
| TkrLocator* | converter (const GFdata* gf) |
| converter to locate an elemento of the track (i.e. vertex). More... | |
| TkrSiCluster* | converter (const SiCluster* scl) |
| convertor from transiend to persistend data of the same class "SiCluster" (a simple copy). More... | |
| TkrHit* | converter (const KalPlane& kp, SiCluster::view a) |
| convertor (constructor) of a "TkrHit" object from a "KalPlane" object. More... | |
| TkrLocator* | converter (const KalPlane& kp, SiCluster::view a, int idummy) |
| converto from a "KalPlane" object to a "TkrLocator". More... | |
| void | importGamma (SiRecObjs* sirec) |
| import the tracker reconstructed gamma from "SiRecObjs" to persistent. More... | |
| void | importTracks (SiRecObjs* sirec) |
| import the reconstructed tracks from "SiRecObjs" into persistent. More... | |
| void | importHits (const GFtrack* track, TkrTrack* rtrack) |
| import the hits of a given track from transient ("KalPlane") to persistent ("TkrHit"). More... | |
Private Attributes | |
| int | m_idtrack |
| counter of the number of saved track per event. More... | |
| SiClusters* | m_SiClusters |
| SiRecObjs* | m_SiRecObjs |
| CalRecLogs* | m_CalRecLogs |
| CsIClusterList* | m_CsIClusterList |
| TFile* | recFile |
| TTree* | recTree |
| Recon* | m_rec |
| std::string | m_nameFile |
| std::string | m_inputSource |
|
|
constructor: create the converters. the constructor of converterServer will call defineConverters Definition at line 44 of file reconRootWriterAlg.cxx. |
|
|
Definition at line 142 of file reconRootWriterAlg.cxx. Referenced by finalize(). |
|
|
converto from a "KalPlane" object to a "TkrLocator". The "KalPlane" objects contain information for the SiClusters and the fitted hit in a given position of the track Definition at line 385 of file reconRootWriterAlg.cxx. |
|
|
convertor (constructor) of a "TkrHit" object from a "KalPlane" object. A "TkrHit" contains information of the "TkrLocator" of a given hit, its chi2, residual, and the "SiCluster" which is associated with" Definition at line 362 of file reconRootWriterAlg.cxx. |
|
|
convertor from transiend to persistend data of the same class "SiCluster" (a simple copy).
Definition at line 188 of file reconRootWriterAlg.cxx. |
|
|
converter to locate an elemento of the track (i.e. vertex). A "TkrLocator" contains information about the position, direction and errors of a reconstructed track in a given position Definition at line 304 of file reconRootWriterAlg.cxx. |
|
|
converter for the reconstructed tracks. A GFtrack (3D) tracks is divided into 2 "TkrTrack" (X and Y) projectios. The ID of a "TkrTrack" associated the X-Y projection of the same 3D "GFtrack" Definition at line 322 of file reconRootWriterAlg.cxx. |
|
|
Definition at line 433 of file reconRootWriterAlg.cxx. |
|
|
Definition at line 485 of file reconRootWriterAlg.cxx. Referenced by converter(), importGamma(), importHits(), importTracks(), and save(). |
|
|
load the root tree and write event by event.
Definition at line 87 of file reconRootWriterAlg.cxx. |
|
|
close the root-tree.
Definition at line 151 of file reconRootWriterAlg.cxx. |
|
|
import the tracker reconstructed gamma from "SiRecObjs" to persistent.
Definition at line 214 of file reconRootWriterAlg.cxx. Referenced by save(). |
|
|
import the hits of a given track from transient ("KalPlane") to persistent ("TkrHit").
Definition at line 287 of file reconRootWriterAlg.cxx. Referenced by converter(). |
|
|
import the reconstructed tracks from "SiRecObjs" into persistent.
Definition at line 267 of file reconRootWriterAlg.cxx. Referenced by save(). |
|
|
initialize - open the root tree in write mode.
Definition at line 53 of file reconRootWriterAlg.cxx. |
|
|
null load the CsIClusterList.
Definition at line 65 of file reconRootWriterAlg.h. |
|
|
null load the CalRecLogs.
Definition at line 63 of file reconRootWriterAlg.h. |
|
|
null load the tracker medium level reconstructed objects from transient to persistent storage.
Definition at line 61 of file reconRootWriterAlg.h. |
|
|
null load the tracker hight level reconstructed objects from transient to persistent storage.
Definition at line 59 of file reconRootWriterAlg.h. |
|
|
retrieve the TD from TDS.
Definition at line 159 of file reconRootWriterAlg.cxx. Referenced by execute(). |
|
|
save the CsIClusterList.
Definition at line 418 of file reconRootWriterAlg.cxx. |
|
|
save the CalRecLogs.
Definition at line 467 of file reconRootWriterAlg.cxx. |
|
|
save the tracker medium level reconstructed objects from transient to persistent storage.
Definition at line 171 of file reconRootWriterAlg.cxx. |
|
|
save the tracker hight level reconstructed objects from transient to persistent storage.
Definition at line 205 of file reconRootWriterAlg.cxx. Referenced by execute(). |
|
|
Definition at line 107 of file reconRootWriterAlg.cxx. Referenced by execute(). |
|
|
The User should define in this methods the converters from Recon->Transient. The system will not know the persistent data and will interact only with the algorithms created for the converters that the User declare here Definition at line 130 of file reconRootWriterAlg.cxx. Referenced by execute(). |
|
|
Definition at line 123 of file reconRootWriterAlg.h. |
|
|
Definition at line 124 of file reconRootWriterAlg.h. |
|
|
Definition at line 121 of file reconRootWriterAlg.h. |
|
|
Definition at line 122 of file reconRootWriterAlg.h. |
|
|
counter of the number of saved track per event.
Definition at line 117 of file reconRootWriterAlg.h. |
|
|
Definition at line 132 of file reconRootWriterAlg.h. |
|
|
Definition at line 131 of file reconRootWriterAlg.h. |
|
|
Definition at line 129 of file reconRootWriterAlg.h. |
|
|
Definition at line 126 of file reconRootWriterAlg.h. |
|
|
Definition at line 127 of file reconRootWriterAlg.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000