ATLAS Offline Software
SurfaceNtupleBranch.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRK_SURFACENTUPLEBRANCH_H
6 #define TRK_SURFACENTUPLEBRANCH_H
7 
8 #include <string>
9 class TTree;
10 
14 
15 
16 
17 namespace Trk {
18  class Surface;
19 
37 
39  void initForWrite(TTree& tree, const std::string& prefix = "" );
40 
42  void initForRead(TTree& tree, const std::string& prefix = "" );
43 
45  void fill( const Trk::Surface& surface );
46 
51  int m_id;
52  };
53 
54 }
55 
56 #endif
VectorNtupleBranch.h
Trk::SurfaceNtupleBranch::fill
void fill(const Trk::Surface &surface)
fill a vector
Definition: SurfaceNtupleBranch.cxx:30
Trk::TransformNtupleBranch
This class provides a simple interface to write Transforms to a root tree.
Definition: TransformNtupleBranch.h:34
Trk::VectorNtupleBranch
This class provides a simple interface to write Vectors to a root tree The size of the vectors cannot...
Definition: VectorNtupleBranch.h:34
tree
TChain * tree
Definition: tile_monitor.h:30
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
Trk::SurfaceNtupleBranch::initForRead
void initForRead(TTree &tree, const std::string &prefix="")
initialize class for reading
Definition: SurfaceNtupleBranch.cxx:21
GeoPrimitives.h
Trk::SurfaceNtupleBranch::m_id
int m_id
Definition: SurfaceNtupleBranch.h:51
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TransformNtupleBranch.h
Trk::SurfaceNtupleBranch::initForWrite
void initForWrite(TTree &tree, const std::string &prefix="")
initialize class for writing
Definition: SurfaceNtupleBranch.cxx:11
Trk::SurfaceNtupleBranch::m_normal
VectorNtupleBranch m_normal
Definition: SurfaceNtupleBranch.h:50
Trk::SurfaceNtupleBranch
This class provides a simple interface to write Surfaces to a root tree.
Definition: SurfaceNtupleBranch.h:36
Trk::SurfaceNtupleBranch::m_center
VectorNtupleBranch m_center
Definition: SurfaceNtupleBranch.h:49
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Trk::SurfaceNtupleBranch::m_transform
TransformNtupleBranch m_transform
data
Definition: SurfaceNtupleBranch.h:48