| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

TupleEx4 Namespace Reference


Variables

string __author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu"
tuple gaudi = GaudiPython.AppMgr()
 get the application manager (create if needed)
tuple toolSvc = gaudi.toolsvc()
tuple ntSvc = GaudiPython.iService( 'NTupleSvc' )
 configure N-Tuple Service ntSvc = gaudi.service ( 'NTupleSvc' )
 Rndm = GaudiPython.gbl.Rndm
 define 3 output files in 'NEW' mode configure & initiliallize get some random numbers
 IRndmGenSvc = GaudiPython.gbl.IRndmGenSvc
tuple rndmSvc = gaudi.service('RndmGenSvc',IRndmGenSvc)
tuple rndmSvc = gaudi.service('RndmGenSvc',IRndmGenSvc)
tuple gauss = Rndm.Numbers( rndmSvc , Rndm.Gauss ( 0.0 , 1.0 ) )
tuple tup1
 get the first N-tuple
int b = 0
 fill it:
 Math = GaudiPython.gbl.ROOT.Math
tuple tup2
 get the second N-tuple
tuple lv1 = Math.PxPyPzEVector( gauss() , gauss() , gauss() , gauss() )
 fill it: Lorentz Vector
tuple lv2 = Math.PtEtaPhiEVector( gauss() , gauss() , gauss() , gauss() )
 Lorentz Vector.
tuple tup3
 get the third N-tuple
tuple v1 = Math.XYZVector( gauss() , gauss() , gauss() )
 fill it: 3D-Vector
int v2 = 3
 3D-Vector
tuple v3 = Math.RhoEtaPhiVector( gauss() , gauss() , gauss() )
 3D-Vector
tuple v4 = Math.RhoZPhiVector( gauss() , gauss() , gauss() )
 3D-Vector
tuple tup4
 get the fourth N-tuple
tuple p1 = Math.XYZPoint( gauss() , gauss() , gauss() )
 fill it: 3D-Point
int p2 = 3
 3D-Point
tuple p3 = Math.RhoEtaPhiPoint( gauss() , gauss() , gauss() )
 3D-Point
tuple p4 = Math.RhoZPhiPoint( gauss() , gauss() , gauss() )
 3D-Point
tuple tup5
 get the 5th N-tuple
tuple vct1 = GaudiPython.gbl.vector('double')
 vct2 = GaudiPython.gbl.CLHEP.HepVector
int v1 = 1
 fill it! variable size vector:
tuple n = max(10,long(50+25*gauss()))
tuple n = min(n,100)
tuple n2 = min(50,max(5,long(50+25*gauss())))
int v2 = 2
tuple tup6
 get the 6th N-tuple
 Gaudi = GaudiPython.gbl.Gaudi
int v1 = 1
int v2 = 2
int v3 = 2
int v4 = 3
int v5 = 4
int v6 = 5
int v7 = 6
int v8 = 7
tuple tup7
 get the 7th N-tuple
int m2 = 2
int m3 = 3
int m4 = 4
int m5 = 5
int m6 = 6
int m7 = 7
tuple tup8
 get the 8th N-tuple
int m2 = 2
int m3 = 3
int m4 = 4
int m5 = 5
int m6 = 6
int m7 = 7

Variable Documentation

string TupleEx4::__author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu" [static]

Definition at line 14 of file TupleEx4.py.

tuple TupleEx4::gaudi = GaudiPython.AppMgr() [static]

get the application manager (create if needed)

Definition at line 21 of file TupleEx4.py.

tuple TupleEx4::toolSvc = gaudi.toolsvc() [static]

Definition at line 28 of file TupleEx4.py.

tuple TupleEx4::ntSvc = GaudiPython.iService( 'NTupleSvc' ) [static]

configure N-Tuple Service ntSvc = gaudi.service ( 'NTupleSvc' )

Definition at line 33 of file TupleEx4.py.

TupleEx4::Rndm = GaudiPython.gbl.Rndm [static]

define 3 output files in 'NEW' mode configure & initiliallize get some random numbers

Definition at line 44 of file TupleEx4.py.

TupleEx4::IRndmGenSvc = GaudiPython.gbl.IRndmGenSvc [static]

Definition at line 45 of file TupleEx4.py.

tuple TupleEx4::rndmSvc = gaudi.service('RndmGenSvc',IRndmGenSvc) [static]

Definition at line 46 of file TupleEx4.py.

tuple TupleEx4::rndmSvc = gaudi.service('RndmGenSvc',IRndmGenSvc) [static]

Definition at line 48 of file TupleEx4.py.

tuple TupleEx4::gauss = Rndm.Numbers( rndmSvc , Rndm.Gauss ( 0.0 , 1.0 ) ) [static]

Definition at line 50 of file TupleEx4.py.

tuple TupleEx4::tup1 [static]

Initial value:

TupleUtils.nTuple( "path"             , ## the path 
                          "It is a title for my n-tuple" , ## the title 
                          LUN = 'MYLUN1'                 )
get the first N-tuple

Definition at line 54 of file TupleEx4.py.

int TupleEx4::b = 0 [static]

fill it:

Definition at line 62 of file TupleEx4.py.

TupleEx4::Math = GaudiPython.gbl.ROOT.Math [static]

Definition at line 68 of file TupleEx4.py.

tuple TupleEx4::tup2 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          "MyTupleLV"                     , ## literal ID 
                          "N-tuple: Lorentz Vectors "     , ## the title
                          LUN = 'MYLUN1'                  )
get the second N-tuple

Definition at line 71 of file TupleEx4.py.

tuple TupleEx4::lv1 = Math.PxPyPzEVector( gauss() , gauss() , gauss() , gauss() ) [static]

fill it: Lorentz Vector

Definition at line 80 of file TupleEx4.py.

tuple TupleEx4::lv2 = Math.PtEtaPhiEVector( gauss() , gauss() , gauss() , gauss() ) [static]

Lorentz Vector.

Definition at line 84 of file TupleEx4.py.

tuple TupleEx4::tup3 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          "MyTuple3DV"                    , ## literal ID 
                          "N-tuple: 3D-Vectors "          , ## the title
                          LUN = 'MYLUN2'                  )
get the third N-tuple

Definition at line 91 of file TupleEx4.py.

tuple TupleEx4::v1 = Math.XYZVector( gauss() , gauss() , gauss() ) [static]

fill it: 3D-Vector

Definition at line 100 of file TupleEx4.py.

int TupleEx4::v2 = 3 [static]

3D-Vector

Definition at line 104 of file TupleEx4.py.

tuple TupleEx4::v3 = Math.RhoEtaPhiVector( gauss() , gauss() , gauss() ) [static]

3D-Vector

Definition at line 108 of file TupleEx4.py.

tuple TupleEx4::v4 = Math.RhoZPhiVector( gauss() , gauss() , gauss() ) [static]

3D-Vector

Definition at line 112 of file TupleEx4.py.

tuple TupleEx4::tup4 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          "MyTuple3DP"                    , ## literal ID 
                          "N-tuple: 3D-Points"            , ## the title
                          LUN = 'MYLUN3'                  )
get the fourth N-tuple

Definition at line 119 of file TupleEx4.py.

tuple TupleEx4::p1 = Math.XYZPoint( gauss() , gauss() , gauss() ) [static]

fill it: 3D-Point

Definition at line 128 of file TupleEx4.py.

int TupleEx4::p2 = 3 [static]

3D-Point

Definition at line 132 of file TupleEx4.py.

tuple TupleEx4::p3 = Math.RhoEtaPhiPoint( gauss() , gauss() , gauss() ) [static]

3D-Point

Definition at line 136 of file TupleEx4.py.

tuple TupleEx4::p4 = Math.RhoZPhiPoint( gauss() , gauss() , gauss() ) [static]

3D-Point

Definition at line 140 of file TupleEx4.py.

tuple TupleEx4::tup5 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          415                             , ## integer ID 
                          "N-tuple: VarArrays"            , ## the title
                          LUN = 'MYLUN1'                  )
get the 5th N-tuple

Definition at line 147 of file TupleEx4.py.

tuple TupleEx4::vct1 = GaudiPython.gbl.vector('double') [static]

Definition at line 152 of file TupleEx4.py.

TupleEx4::vct2 = GaudiPython.gbl.CLHEP.HepVector [static]

Definition at line 154 of file TupleEx4.py.

int TupleEx4::v1 = 1 [static]

fill it! variable size vector:

Definition at line 160 of file TupleEx4.py.

tuple TupleEx4::n = max(10,long(50+25*gauss())) [static]

Definition at line 161 of file TupleEx4.py.

tuple TupleEx4::n = min(n,100) [static]

Definition at line 162 of file TupleEx4.py.

tuple TupleEx4::n2 = min(50,max(5,long(50+25*gauss()))) [static]

Definition at line 167 of file TupleEx4.py.

int TupleEx4::v2 = 2 [static]

Definition at line 168 of file TupleEx4.py.

tuple TupleEx4::tup6 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          "xTuple"                        , ## literal ID 
                          "N-tuple: FixArrays"            , ## the title
                          LUN = 'MYLUN2'                  )
get the 6th N-tuple

Definition at line 177 of file TupleEx4.py.

TupleEx4::Gaudi = GaudiPython.gbl.Gaudi [static]

Definition at line 182 of file TupleEx4.py.

int TupleEx4::v1 = 1 [static]

Definition at line 186 of file TupleEx4.py.

int TupleEx4::v2 = 2 [static]

Definition at line 190 of file TupleEx4.py.

int TupleEx4::v3 = 2 [static]

Definition at line 193 of file TupleEx4.py.

int TupleEx4::v4 = 3 [static]

Definition at line 196 of file TupleEx4.py.

int TupleEx4::v5 = 4 [static]

Definition at line 200 of file TupleEx4.py.

int TupleEx4::v6 = 5 [static]

Definition at line 203 of file TupleEx4.py.

int TupleEx4::v7 = 6 [static]

Definition at line 206 of file TupleEx4.py.

int TupleEx4::v8 = 7 [static]

Definition at line 209 of file TupleEx4.py.

tuple TupleEx4::tup7 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          "FixMatrices"                   , ## literal ID 
                          "N-tuple: FixMatrices"          , ## the title
                          LUN = 'MYLUN3'                  )
get the 7th N-tuple

Definition at line 215 of file TupleEx4.py.

int TupleEx4::m2 = 2 [static]

Definition at line 222 of file TupleEx4.py.

int TupleEx4::m3 = 3 [static]

Definition at line 225 of file TupleEx4.py.

int TupleEx4::m4 = 4 [static]

Definition at line 228 of file TupleEx4.py.

int TupleEx4::m5 = 5 [static]

Definition at line 231 of file TupleEx4.py.

int TupleEx4::m6 = 6 [static]

Definition at line 234 of file TupleEx4.py.

int TupleEx4::m7 = 7 [static]

Definition at line 237 of file TupleEx4.py.

tuple TupleEx4::tup8 [static]

Initial value:

TupleUtils.nTuple( "another/path"                  , ## the path
                          "FixSymMatrices"                , ## literal ID 
                          "N-tuple: FixSymMatrices"       , ## the title
                          LUN = 'MYLUN2'                  )
get the 8th N-tuple

Definition at line 243 of file TupleEx4.py.

int TupleEx4::m2 = 2 [static]

Definition at line 250 of file TupleEx4.py.

int TupleEx4::m3 = 3 [static]

Definition at line 253 of file TupleEx4.py.

int TupleEx4::m4 = 4 [static]

Definition at line 256 of file TupleEx4.py.

int TupleEx4::m5 = 5 [static]

Definition at line 259 of file TupleEx4.py.

int TupleEx4::m6 = 6 [static]

Definition at line 262 of file TupleEx4.py.

int TupleEx4::m7 = 7 [static]

Definition at line 265 of file TupleEx4.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:59:39 2011 for GaudiExamples by doxygen 1.4.7