ROOT  6.06/09
Reference Guide
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAlienCollection Class Reference

Definition at line 43 of file TAlienCollection.h.

Public Member Functions

 TAlienCollection ()
 
 TAlienCollection (TList *eventlist, UInt_t ngroups=0, UInt_t ngroupfiles=0)
 Create Alien event collection using an event list. More...
 
 TAlienCollection (const char *localCollectionFile, UInt_t maxentries)
 
virtual ~TAlienCollection ()
 Clean up event file collection. More...
 
TFileCollectionGetFileCollection (const char *name="", const char *title="") const
 creates a TFileCollection objects and fills it with the information from this collection note that TFileCollection has a flat structure and no groups –> all files are filles on a flat level the TFileInfo of each file in the TFileCollection is filled with turl, size, md5, guid More...
 
void Reset ()
 Reset file iterator. More...
 
TMapNext ()
 Return next event file map. More...
 
Bool_t Remove (TMap *map)
 Return next event file map. More...
 
const char * GetTURL (const char *name="")
 Get a file's transport URL (TURL). Returns 0 in case of error. More...
 
const char * GetSURL (const char *name="")
 Get a file's storage URL (SURL). Returns 0 in case of error. More...
 
const char * GetLFN (const char *name="")
 Get a file's LFN. Returns 0 in case of error. More...
 
Long64_t GetSize (const char *name="")
 Get a file's LFN. Returns 0 in case of error. More...
 
Bool_t IsOnline (const char *name="")
 Get a file's online tag. Returns false if not online or CheckIfOnline was never executed, true if online. More...
 
Bool_t IsSelected (const char *name="")
 Get a file's online tag. Returns false if not online or CheckIfOnline was never executed, true if online. More...
 
void Status ()
 Prints statistics, selection and status about the loaded collection. More...
 
void SetTag (const char *tag, const char *value, TMap *tagmap)
 Set's a key value pair in a tagmap. If it is existing, the existing tag is overwritten. If not, it is created. More...
 
Bool_t SelectFile (const char *name, Int_t=-1, Int_t=-1)
 Selects all files with name <filename> in the collection All files can be selected using "*" as filename. More...
 
Bool_t DeselectFile (const char *name, Int_t=-1, Int_t=-1)
 Deselects the file <filename> from the loaded collection All files can be deselected using "*" as <filename> More...
 
Bool_t InvertSelection ()
 Invert the selection. More...
 
Bool_t DownscaleSelection (UInt_t scaler=2)
 downscales the selection with scaler More...
 
Bool_t ExportXML (const char *exporturl, Bool_t selected, Bool_t online, const char *name, const char *comment)
 Exports the contens of the TAlienCollection into an XML formatted file. More...
 
const char * GetExportUrl ()
 
Bool_t SetExportUrl (const char *exporturl=0)
 Set the 'default' export URL for an XML collection. A collection can be restored to the export URL using ExportXML("");. More...
 
void Print (Option_t *opt) const
 Print event file collection. More...
 
TFileOpenFile (const char *filename)
 Open the file specified by <filename> from the currently active file group in the collection via its TURL. More...
 
TEntryListGetEntryList (const char *name)
 Get a file's event list. Returns 0 in case of error. More...
 
TListGetFileGroupList () const
 
UInt_t GetNofGroups () const
 
UInt_t GetNofGroupfiles () const
 
Bool_t OverlapCollection (TGridCollection *comparator)
 return kTRUE if comparator overlaps with this all objects in this collection, which are not defined in the <comparator> collection are removed. More...
 
void Add (TGridCollection *addcollection)
 adds <addcollection> to this collection - equal elements are skipped More...
 
void AddFast (TGridCollection *addcollection)
 adds <addcollection> to this collection - NO check for identical elements More...
 
Bool_t Stage (Bool_t bulk=kFALSE, Option_t *option="")
 Execute the 'stage' method for all files in this collection (trigger staging). More...
 
Bool_t Prepare (Bool_t bulk=kFALSE)
 
Bool_t CheckIfOnline (Bool_t bulk=kFALSE)
 Run an online check if files are currently accessible (staged) or offline (to be staged). More...
 
TDSetGetDataset (const char *type, const char *objname="*", const char *dir="/")
 Return a TDSet from a collection. More...
 
TGridResultGetGridResult (const char *filename="", Bool_t onlyonline=kTRUE, Bool_t publicaccess=kFALSE)
 Return a TGridResult. More...
 
Bool_t LookupSUrls (Bool_t verbose=kTRUE)
 retrieves all the SURLS for the LFNS More...
 
TListGetTagFilterList () const
 
void SetTagFilterList (TList *filterlist)
 
const char * GetCollectionName () const
 
const char * GetInfoComment () const
 
const char * GetOutputFileName (const char *infile, Bool_t rename=kTRUE, const char *suffix="root")
 Adds to a file given by infile the collection identification , f.e. More...
 
- Public Member Functions inherited from TGridCollection
 TGridCollection ()
 
virtual ~TGridCollection ()
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsSortable () const
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Static Public Member Functions

static TGridCollectionOpen (const char *collectionurl, UInt_t maxentries=1000000)
 Static method used to create an Alien event collection, by reading an XML collection from the specified url. More...
 
static TGridCollectionOpenQuery (TGridResult *queryresult, Bool_t nogrouping=kFALSE)
 Static method used to create an Alien event collection, by creating collection from a TGridResult Query result (TAlien::Query) nogrouping means that files in the same directory are treated as not belonging to a file group. More...
 
static TAlienCollectionOpenAlienCollection (TGridResult *queryresult, Option_t *option="")
 Static method used to create an Alien event collection, by creating collection from a TGridResult GetCollection result (TAlien::GetCollection) More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

Private Member Functions

virtual void ParseXML (UInt_t maxentries)
 Parse event file collection XML file. More...
 
Bool_t ExportXML (TFile *file, Bool_t selected, Bool_t online, const char *name, const char *comment)
 Internal Export function to write a collection as an XML file. See above. More...
 

Private Attributes

TString fXmlFile
 
TListfFileGroupList
 
TIterfFileGroupListIter
 
TMapfCurrent
 event file list iterator More...
 
UInt_t fNofGroups
 current event file map More...
 
UInt_t fNofGroupfiles
 
Bool_t fHasSUrls
 
Bool_t fHasSelection
 
Bool_t fHasOnline
 
TString fLastOutFileName
 
TFileStagerfFileStager
 
TString fExportUrl
 pointer to the file stager object More...
 
TString fInfoComment
 
TString fCollectionName
 
TListfTagFilterList
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

#include <TAlienCollection.h>

+ Inheritance diagram for TAlienCollection:
+ Collaboration diagram for TAlienCollection:

Constructor & Destructor Documentation

TAlienCollection::TAlienCollection ( )
inline

Definition at line 68 of file TAlienCollection.h.

Referenced by Open(), OpenAlienCollection(), and OpenQuery().

TAlienCollection::TAlienCollection ( TList eventlist,
UInt_t  ngroups = 0,
UInt_t  ngroupfiles = 0 
)

Create Alien event collection using an event list.

Definition at line 72 of file TAlienCollection.cxx.

TAlienCollection::TAlienCollection ( const char *  localCollectionFile,
UInt_t  maxentries 
)
TAlienCollection::~TAlienCollection ( )
virtual

Clean up event file collection.

Definition at line 94 of file TAlienCollection.cxx.

Member Function Documentation

void TAlienCollection::Add ( TGridCollection addcollection)
virtual

adds <addcollection> to this collection - equal elements are skipped

Reimplemented from TGridCollection.

Definition at line 934 of file TAlienCollection.cxx.

Referenced by CheckIfOnline(), and LookupSUrls().

void TAlienCollection::AddFast ( TGridCollection addcollection)

adds <addcollection> to this collection - NO check for identical elements

Definition at line 968 of file TAlienCollection.cxx.

Bool_t TAlienCollection::CheckIfOnline ( Bool_t  bulk = kFALSE)
virtual

Run an online check if files are currently accessible (staged) or offline (to be staged).

The <bulk> check is currently not working.

Reimplemented from TGridCollection.

Definition at line 1114 of file TAlienCollection.cxx.

Bool_t TAlienCollection::DeselectFile ( const char *  name,
Int_t  nstart = -1,
Int_t  nstop = -1 
)
virtual

Deselects the file <filename> from the loaded collection All files can be deselected using "*" as <filename>

Reimplemented from TGridCollection.

Definition at line 600 of file TAlienCollection.cxx.

Bool_t TAlienCollection::DownscaleSelection ( UInt_t  scaler = 2)
virtual

downscales the selection with scaler

Reimplemented from TGridCollection.

Definition at line 659 of file TAlienCollection.cxx.

Bool_t TAlienCollection::ExportXML ( TFile file,
Bool_t  selected,
Bool_t  online,
const char *  name,
const char *  comment 
)
private

Internal Export function to write a collection as an XML file. See above.

Definition at line 1314 of file TAlienCollection.cxx.

Referenced by ExportXML().

Bool_t TAlienCollection::ExportXML ( const char *  exporturl,
Bool_t  selected,
Bool_t  online,
const char *  name,
const char *  comment 
)
virtual

Exports the contens of the TAlienCollection into an XML formatted file.

By default exports only selected files. By default exports only accessible (online) files. You can change this behaviour by specifying online=kFALSE or selected=kFALSE. <name> specifies a name you want to assign to this collection. <comment> can be a user comment to this collection. If <exporturl>="" the collection is exported to the URL which was stored inside the collection or was specified by the ExportUrl(const char* url) method.

Reimplemented from TGridCollection.

Definition at line 1279 of file TAlienCollection.cxx.

const char* TAlienCollection::GetCollectionName ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 136 of file TAlienCollection.h.

TDSet * TAlienCollection::GetDataset ( const char *  type,
const char *  objname = "*",
const char *  dir = "/" 
)
virtual

Return a TDSet from a collection.

Filter, Selections and online tags are not taken into account.

Reimplemented from TGridCollection.

Definition at line 848 of file TAlienCollection.cxx.

TEntryList * TAlienCollection::GetEntryList ( const char *  name)
virtual

Get a file's event list. Returns 0 in case of error.

Reimplemented from TGridCollection.

Definition at line 778 of file TAlienCollection.cxx.

const char* TAlienCollection::GetExportUrl ( )
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 98 of file TAlienCollection.h.

Referenced by ExportXML().

TFileCollection * TAlienCollection::GetFileCollection ( const char *  name = "",
const char *  title = "" 
) const
virtual

creates a TFileCollection objects and fills it with the information from this collection note that TFileCollection has a flat structure and no groups –> all files are filles on a flat level the TFileInfo of each file in the TFileCollection is filled with turl, size, md5, guid

the object has to be deleted by the user

Reimplemented from TGridCollection.

Definition at line 1594 of file TAlienCollection.cxx.

TList* TAlienCollection::GetFileGroupList ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 109 of file TAlienCollection.h.

TGridResult * TAlienCollection::GetGridResult ( const char *  filename = "",
Bool_t  onlyonline = kTRUE,
Bool_t  publicaccess = kFALSE 
)
virtual

Return a TGridResult.

If files have been selected in this collection, only the selected files are returned. If <onlyonline> is set to kTRUE, only files which are 'online' (staged) are included. If no online check was done, TGridResult will be empty. <publicaccess> adds the publicaccess option to the TGridResult entries

Reimplemented from TGridCollection.

Definition at line 872 of file TAlienCollection.cxx.

const char* TAlienCollection::GetInfoComment ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 137 of file TAlienCollection.h.

const char * TAlienCollection::GetLFN ( const char *  name = "")
virtual

Get a file's LFN. Returns 0 in case of error.

Reimplemented from TGridCollection.

Definition at line 795 of file TAlienCollection.cxx.

Referenced by Add(), CheckIfOnline(), GetOutputFileName(), OverlapCollection(), and Stage().

UInt_t TAlienCollection::GetNofGroupfiles ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 113 of file TAlienCollection.h.

Referenced by CheckIfOnline(), and Stage().

UInt_t TAlienCollection::GetNofGroups ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 111 of file TAlienCollection.h.

Referenced by CheckIfOnline(), and Stage().

const char * TAlienCollection::GetOutputFileName ( const char *  infile,
Bool_t  rename = kTRUE,
const char *  suffix = "root" 
)

Adds to a file given by infile the collection identification , f.e.

for collection files sitting in directories like 100/1/AliESD.root ... 110/1/AliESD.root "./histo.root" will be converted to "./histo.100_1-110_1.230.root

The name syntax is <oldname>.<first run>="">_<first event>-<last run>="">.<last event>="">.<nevents>.root

By default the found files are renamed on the local disk example:

  • you specify f.e. as arguments GetOutputFileName("*.root",kTRUE); —>> this renames all ROOT files corresponding to the collection contents

Definition at line 1517 of file TAlienCollection.cxx.

Long64_t TAlienCollection::GetSize ( const char *  name = "")
virtual

Get a file's LFN. Returns 0 in case of error.

Reimplemented from TGridCollection.

Definition at line 812 of file TAlienCollection.cxx.

Referenced by Status().

const char * TAlienCollection::GetSURL ( const char *  name = "")
virtual

Get a file's storage URL (SURL). Returns 0 in case of error.

Reimplemented from TGridCollection.

Definition at line 715 of file TAlienCollection.cxx.

Referenced by CheckIfOnline(), and Stage().

TList* TAlienCollection::GetTagFilterList ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 130 of file TAlienCollection.h.

const char * TAlienCollection::GetTURL ( const char *  name = "")
virtual

Get a file's transport URL (TURL). Returns 0 in case of error.

Reimplemented from TGridCollection.

Definition at line 698 of file TAlienCollection.cxx.

Referenced by LookupSUrls(), and OpenFile().

Bool_t TAlienCollection::InvertSelection ( )
virtual

Invert the selection.

Reimplemented from TGridCollection.

Definition at line 632 of file TAlienCollection.cxx.

Bool_t TAlienCollection::IsOnline ( const char *  name = "")
virtual

Get a file's online tag. Returns false if not online or CheckIfOnline was never executed, true if online.

Reimplemented from TGridCollection.

Definition at line 732 of file TAlienCollection.cxx.

Referenced by ExportXML(), GetGridResult(), and Status().

Bool_t TAlienCollection::IsSelected ( const char *  name = "")
virtual

Get a file's online tag. Returns false if not online or CheckIfOnline was never executed, true if online.

Reimplemented from TGridCollection.

Definition at line 755 of file TAlienCollection.cxx.

Referenced by CheckIfOnline(), ExportXML(), GetGridResult(), InvertSelection(), LookupSUrls(), Stage(), and Status().

Bool_t TAlienCollection::LookupSUrls ( Bool_t  verbose = kTRUE)
virtual

retrieves all the SURLS for the LFNS

Reimplemented from TGridCollection.

Definition at line 984 of file TAlienCollection.cxx.

TMap * TAlienCollection::Next ( )
virtual
TGridCollection * TAlienCollection::Open ( const char *  collectionurl,
UInt_t  maxentries = 1000000 
)
static

Static method used to create an Alien event collection, by reading an XML collection from the specified url.

All ROOT URLs are supported. You can restrict the number of importet entries using the maxentries value

Definition at line 111 of file TAlienCollection.cxx.

Referenced by TAlien::OpenCollection().

TAlienCollection * TAlienCollection::OpenAlienCollection ( TGridResult queryresult,
Option_t option = "" 
)
static

Static method used to create an Alien event collection, by creating collection from a TGridResult GetCollection result (TAlien::GetCollection)

Definition at line 157 of file TAlienCollection.cxx.

Referenced by TAlien::OpenCollection().

TFile * TAlienCollection::OpenFile ( const char *  filename)
virtual

Open the file specified by <filename> from the currently active file group in the collection via its TURL.

Reimplemented from TGridCollection.

Definition at line 144 of file TAlienCollection.cxx.

TGridCollection * TAlienCollection::OpenQuery ( TGridResult queryresult,
Bool_t  nogrouping = kFALSE 
)
static

Static method used to create an Alien event collection, by creating collection from a TGridResult Query result (TAlien::Query) nogrouping means that files in the same directory are treated as not belonging to a file group.

Definition at line 194 of file TAlienCollection.cxx.

Referenced by TAlien::OpenCollectionQuery().

Bool_t TAlienCollection::OverlapCollection ( TGridCollection comparator)
virtual

return kTRUE if comparator overlaps with this all objects in this collection, which are not defined in the <comparator> collection are removed.

Reimplemented from TGridCollection.

Definition at line 900 of file TAlienCollection.cxx.

void TAlienCollection::ParseXML ( UInt_t  maxentries)
privatevirtual

Parse event file collection XML file.

<maxentries> stops the parsing after <maxentries>.

Definition at line 287 of file TAlienCollection.cxx.

Bool_t TAlienCollection::Prepare ( Bool_t  bulk = kFALSE)
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 119 of file TAlienCollection.h.

void TAlienCollection::Print ( Option_t opt) const
virtual

Print event file collection.

Reimplemented from TGridCollection.

Definition at line 831 of file TAlienCollection.cxx.

Bool_t TAlienCollection::Remove ( TMap map)
virtual

Return next event file map.

Reimplemented from TGridCollection.

Definition at line 686 of file TAlienCollection.cxx.

Referenced by CheckIfOnline(), LookupSUrls(), and OverlapCollection().

void TAlienCollection::Reset ( void  )
virtual
Bool_t TAlienCollection::SelectFile ( const char *  name,
Int_t  nstart = -1,
Int_t  nstop = -1 
)
virtual

Selects all files with name <filename> in the collection All files can be selected using "*" as filename.

Reimplemented from TGridCollection.

Definition at line 567 of file TAlienCollection.cxx.

Bool_t TAlienCollection::SetExportUrl ( const char *  exporturl = 0)
virtual

Set the 'default' export URL for an XML collection. A collection can be restored to the export URL using ExportXML("");.

Reimplemented from TGridCollection.

Definition at line 1490 of file TAlienCollection.cxx.

Referenced by ParseXML().

void TAlienCollection::SetTag ( const char *  tag,
const char *  value,
TMap tagmap 
)
virtual

Set's a key value pair in a tagmap. If it is existing, the existing tag is overwritten. If not, it is created.

Reimplemented from TGridCollection.

Definition at line 548 of file TAlienCollection.cxx.

Referenced by DeselectFile(), DownscaleSelection(), InvertSelection(), and SelectFile().

void TAlienCollection::SetTagFilterList ( TList filterlist)
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 132 of file TAlienCollection.h.

Referenced by OpenQuery().

Bool_t TAlienCollection::Stage ( Bool_t  bulk = kFALSE,
Option_t option = "" 
)
virtual

Execute the 'stage' method for all files in this collection (trigger staging).

The <bulk> stage method is currently not working.

Reimplemented from TGridCollection.

Definition at line 1040 of file TAlienCollection.cxx.

Referenced by Prepare().

void TAlienCollection::Status ( )
virtual

Prints statistics, selection and status about the loaded collection.

Reimplemented from TGridCollection.

Definition at line 455 of file TAlienCollection.cxx.

Member Data Documentation

TString TAlienCollection::fCollectionName
private

Definition at line 60 of file TAlienCollection.h.

Referenced by ParseXML(), and TAlienCollection().

TMap* TAlienCollection::fCurrent
private
TString TAlienCollection::fExportUrl
private

pointer to the file stager object

Definition at line 58 of file TAlienCollection.h.

Referenced by ParseXML(), SetExportUrl(), and TAlienCollection().

TList* TAlienCollection::fFileGroupList
private
TIter* TAlienCollection::fFileGroupListIter
private

Definition at line 48 of file TAlienCollection.h.

Referenced by Next(), Reset(), TAlienCollection(), and ~TAlienCollection().

TFileStager* TAlienCollection::fFileStager
private

Definition at line 57 of file TAlienCollection.h.

Referenced by CheckIfOnline(), Stage(), and TAlienCollection().

Bool_t TAlienCollection::fHasOnline
private

Definition at line 55 of file TAlienCollection.h.

Referenced by CheckIfOnline(), GetGridResult(), ParseXML(), and TAlienCollection().

Bool_t TAlienCollection::fHasSelection
private
Bool_t TAlienCollection::fHasSUrls
private

Definition at line 52 of file TAlienCollection.h.

Referenced by CheckIfOnline(), LookupSUrls(), ParseXML(), Stage(), and TAlienCollection().

TString TAlienCollection::fInfoComment
private

Definition at line 59 of file TAlienCollection.h.

Referenced by ParseXML(), and TAlienCollection().

TString TAlienCollection::fLastOutFileName
private

Definition at line 56 of file TAlienCollection.h.

Referenced by GetOutputFileName().

UInt_t TAlienCollection::fNofGroupfiles
private

Definition at line 51 of file TAlienCollection.h.

Referenced by GetNofGroupfiles(), LookupSUrls(), ParseXML(), and TAlienCollection().

UInt_t TAlienCollection::fNofGroups
private

current event file map

Definition at line 50 of file TAlienCollection.h.

Referenced by GetNofGroups(), LookupSUrls(), ParseXML(), and TAlienCollection().

TList* TAlienCollection::fTagFilterList
private
TString TAlienCollection::fXmlFile
private

Definition at line 46 of file TAlienCollection.h.

Referenced by ParseXML().


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