ATLAS Offline Software
Static Public Attributes | Private Member Functions | List of all members
python.AthenaCommonFlags.TreeName Class Reference
Inheritance diagram for python.AthenaCommonFlags.TreeName:
Collaboration diagram for python.AthenaCommonFlags.TreeName:

Static Public Attributes

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

Private Member Functions

def _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()

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

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

string 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

string 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: