ATLAS Offline Software
Loading...
Searching...
No Matches
python.AthenaCommonFlags.TreeName Class Reference
Inheritance diagram for python.AthenaCommonFlags.TreeName:
Collaboration diagram for python.AthenaCommonFlags.TreeName:

Static Public Attributes

bool statusOn = True
str allowedType = "str"
str StoredValue = "CollectionTree"

Protected Member Functions

 _do_action (self, *args, **kwds)

Detailed Description

The name of the ttree in the input file

Definition at line 65 of file AthenaCommonFlags.py.

Member Function Documentation

◆ _do_action()

python.AthenaCommonFlags.TreeName._do_action ( self,
* args,
** kwds )
protected

Definition at line 71 of file AthenaCommonFlags.py.

71 def _do_action( self, *args, **kwds ):
72 from AthenaCommon import AppMgr
73 if not hasattr(AppMgr.ServiceMgr,"EventSelector"):
74 #assume the TreeAccess mode then ..
75 jobproperties.AthenaCommonFlags.AccessMode="TreeAccess"
76
77 if not hasattr(AppMgr.ServiceMgr.EventSelector,"TupleName"):
78 if self.StoredValue != "CollectionTree":
79 raise ValueError("TreeName can only be CollectionTree if you are not using AccessMode=TreeAccess")
80 else:
81 AppMgr.ServiceMgr.EventSelector.TupleName = self.StoredValue
82
83

Member Data Documentation

◆ allowedType

str python.AthenaCommonFlags.TreeName.allowedType = "str"
static

Definition at line 68 of file AthenaCommonFlags.py.

◆ statusOn

bool python.AthenaCommonFlags.TreeName.statusOn = True
static

Definition at line 67 of file AthenaCommonFlags.py.

◆ StoredValue

str python.AthenaCommonFlags.TreeName.StoredValue = "CollectionTree"
static

Definition at line 69 of file AthenaCommonFlags.py.


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