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

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self, isMC, isOnline)
 add (self, folder, db)
 addSplitMC (self, folder, folderMC)
 addSplitOnline (self, onlineFolder, oflineFolder)
 get (self)

Protected Attributes

list _folders = []
 _isMC = isMC
 _isOnlineAndNotMC = isOnline and not isMC

Detailed Description

Keep Tile folders taking into account whether it is online/offline and MC/Data

Definition at line 5 of file TileFolders.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

python.TileFolders.TileFolders.__init__ ( self,
isMC,
isOnline )
Initialize taking into account whether it is online/offline and MC/Data

Definition at line 8 of file TileFolders.py.

8 def __init__(self, isMC, isOnline):
9 """Initialize taking into account whether it is online/offline and MC/Data"""
10 self._folders = []
11 self._isMC = isMC
12 self._isOnlineAndNotMC = isOnline and not isMC
13

Member Function Documentation

◆ add()

python.TileFolders.TileFolders.add ( self,
folder,
db )
Add and return Tile folder using given db Tile schema

Definition at line 14 of file TileFolders.py.

14 def add(self, folder, db):
15 """Add and return Tile folder using given db Tile schema"""
16 self._folders.append((folder + '<key>' + folder + '</key>', db, 'CondAttrListCollection'))
17 return folder
18
bool add(const std::string &hname, TKey *tobj)
Definition fastadd.cxx:55

◆ addSplitMC()

python.TileFolders.TileFolders.addSplitMC ( self,
folder,
folderMC )
Add and return Tile folder, using folder (online) for real data, folderMC (offline) for MC

Definition at line 19 of file TileFolders.py.

19 def addSplitMC(self, folder, folderMC):
20 """Add and return Tile folder, using folder (online) for real data, folderMC (offline) for MC"""
21 actualFolder, db = (folderMC, 'TILE_OFL') if self._isMC else (folder, 'TILE')
22 return self.add(actualFolder, db)
23

◆ addSplitOnline()

python.TileFolders.TileFolders.addSplitOnline ( self,
onlineFolder,
oflineFolder )
Add and return Tile folder, using onlineFolder online, oflineFolder offline

Definition at line 24 of file TileFolders.py.

24 def addSplitOnline(self, onlineFolder, oflineFolder):
25 """Add and return Tile folder, using onlineFolder online, oflineFolder offline"""
26 actualFolder, db = (onlineFolder, 'TILE') if self._isOnlineAndNotMC else (oflineFolder, 'TILE_OFL')
27 return self.add(actualFolder, db)
28

◆ get()

python.TileFolders.TileFolders.get ( self)
Return Tile folders as list of (folder, DB, 'CondAttrListCollection')

Definition at line 29 of file TileFolders.py.

29 def get(self):
30 """Return Tile folders as list of (folder, DB, 'CondAttrListCollection')"""
31 return self._folders
32
33
34
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:130

Member Data Documentation

◆ _folders

list python.TileFolders.TileFolders._folders = []
protected

Definition at line 10 of file TileFolders.py.

◆ _isMC

python.TileFolders.TileFolders._isMC = isMC
protected

Definition at line 11 of file TileFolders.py.

◆ _isOnlineAndNotMC

python.TileFolders.TileFolders._isOnlineAndNotMC = isOnline and not isMC
protected

Definition at line 12 of file TileFolders.py.


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