Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAlienCollection Class Reference

Definition at line 35 of file TAlienCollection.h.

Public Member Functions

 TAlienCollection ()
 
 TAlienCollection (const char *localCollectionFile, UInt_t maxentries)
 Create Alien event collection by reading collection from the specified XML file. More...
 
 TAlienCollection (TList *eventlist, UInt_t ngroups=0, UInt_t ngroupfiles=0)
 Create Alien event collection using an event list. More...
 
virtual ~TAlienCollection ()
 Clean up event file collection. 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 CheckIfOnline (Bool_t bulk=kFALSE)
 Run an online check if files are currently accessible (staged) or offline (to be staged). 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 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 * GetCollectionName () const
 
TDSetGetDataset (const char *type, const char *objname="*", const char *dir="/")
 Return a TDSet from a collection. More...
 
TEntryListGetEntryList (const char *name)
 Get a file's event list. Returns 0 in case of error. More...
 
const char * GetExportUrl ()
 
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...
 
TListGetFileGroupList () const
 
TGridResultGetGridResult (const char *filename="", Bool_t onlyonline=kTRUE, Bool_t publicaccess=kFALSE)
 Return a TGridResult. More...
 
const char * GetInfoComment () const
 
const char * GetLFN (const char *name="")
 Get a file's LFN. Returns 0 in case of error. More...
 
UInt_t GetNofGroupfiles () const
 
UInt_t GetNofGroups () 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...
 
Long64_t GetSize (const char *name="")
 Get a file's LFN. 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...
 
TListGetTagFilterList () const
 
const char * GetTURL (const char *name="")
 Get a file's transport URL (TURL). Returns 0 in case of error. More...
 
Bool_t InvertSelection ()
 Invert the selection. 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...
 
Bool_t LookupSUrls (Bool_t verbose=kTRUE)
 retrieves all the SURLS for the LFNS More...
 
TMapNext ()
 Return next event file map. More...
 
TFileOpenFile (const char *filename)
 Open the file specified by <filename> from the currently active file group in the collection via its TURL. More...
 
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...
 
Bool_t Prepare (Bool_t bulk=kFALSE)
 
void Print (Option_t *opt) const
 Print event file collection. More...
 
Bool_t Remove (TMap *map)
 Return next event file map. More...
 
void Reset ()
 Reset file iterator. 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 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 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...
 
void SetTagFilterList (TList *filterlist)
 
Bool_t Stage (Bool_t bulk=kFALSE, Option_t *option="")
 Execute the 'stage' method for all files in this collection (trigger staging). More...
 
void Status ()
 Prints statistics, selection and status about the loaded collection. More...
 
- Public Member Functions inherited from TGridCollection
 TGridCollection ()
 
virtual ~TGridCollection ()
 
virtual void Add (TGridCollection *)
 
virtual Bool_t CheckIfOnline (Bool_t=kFALSE)
 
virtual Bool_t DeselectFile (const char *, Int_t=-1, Int_t=-1)
 
virtual Bool_t DownscaleSelection (UInt_t=2)
 
virtual Bool_t ExportXML (const char *, Bool_t=kTRUE, Bool_t=kTRUE, const char *="ROOT xml", const char *="Exported XML")
 
virtual const char * GetCollectionName () const
 
virtual TDSetGetDataset (const char *, const char *, const char *)
 
virtual TEntryListGetEntryList (const char *)
 
virtual const char * GetExportUrl ()
 
virtual TFileCollectionGetFileCollection (const char *="", const char *="") const
 
virtual TListGetFileGroupList () const
 
virtual TGridResultGetGridResult (const char *="", Bool_t=kTRUE, Bool_t=kFALSE)
 
virtual const char * GetInfoComment () const
 
virtual const char * GetLFN (const char *="")
 
virtual UInt_t GetNofGroupfiles () const
 
virtual UInt_t GetNofGroups () const
 
virtual Long64_t GetSize (const char *="")
 
virtual const char * GetSURL (const char *="")
 
virtual TListGetTagFilterList () const
 
virtual const char * GetTURL (const char *="")
 
virtual Bool_t InvertSelection ()
 
virtual Bool_t IsOnline (const char *="")
 
virtual Bool_t IsSelected (const char *="")
 
virtual Bool_t LookupSUrls (Bool_t=kTRUE)
 
virtual TMapNext ()
 
virtual TFileOpenFile (const char *)
 
virtual Bool_t OverlapCollection (TGridCollection *)
 
virtual Bool_t Prepare (Bool_t=kFALSE)
 
virtual void Print (Option_t *) const
 This method must be overridden when a class wants to print itself. More...
 
virtual Bool_t Remove (TMap *)
 
virtual void Reset ()
 
virtual Bool_t SelectFile (const char *, Int_t=-1, Int_t=-1)
 
virtual Bool_t SetExportUrl (const char *=0)
 
virtual void SetTag (const char *, const char *, TMap *)
 
virtual void SetTagFilterList (TList *)
 
virtual Bool_t Stage (Bool_t=kFALSE, Option_t *="")
 
virtual void Status ()
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. 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...
 
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...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. 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 selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. 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 void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. 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 const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. 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...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. 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...
 
void InvertBit (UInt_t f)
 
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 IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. 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...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. 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 void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. 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...
 
void ResetBit (UInt_t f)
 
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...
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. 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 SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
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 void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. 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...
 

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 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 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 Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

Private Member Functions

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...
 
virtual void ParseXML (UInt_t maxentries)
 Parse event file collection XML file. More...
 

Private Attributes

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

Additional Inherited Members

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

#include <TAlienCollection.h>

Inheritance diagram for TAlienCollection:
[legend]

Constructor & Destructor Documentation

◆ TAlienCollection() [1/3]

TAlienCollection::TAlienCollection ( )
inline

Definition at line 60 of file TAlienCollection.h.

◆ TAlienCollection() [2/3]

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() [3/3]

TAlienCollection::TAlienCollection ( const char *  localcollectionfile,
UInt_t  maxentries 
)

Create Alien event collection by reading collection from the specified XML file.

You can restrict the number of importet entries using the maxentries value.

Definition at line 46 of file TAlienCollection.cxx.

◆ ~TAlienCollection()

TAlienCollection::~TAlienCollection ( )
virtual

Clean up event file collection.

Definition at line 94 of file TAlienCollection.cxx.

Member Function Documentation

◆ Add()

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.

◆ AddFast()

void TAlienCollection::AddFast ( TGridCollection addcollection)

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

Definition at line 968 of file TAlienCollection.cxx.

◆ CheckIfOnline()

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.

◆ DeselectFile()

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.

◆ DownscaleSelection()

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.

◆ ExportXML() [1/2]

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.

◆ ExportXML() [2/2]

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.

◆ GetCollectionName()

const char * TAlienCollection::GetCollectionName ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 128 of file TAlienCollection.h.

◆ GetDataset()

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.

◆ GetEntryList()

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.

◆ GetExportUrl()

const char * TAlienCollection::GetExportUrl ( )
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 90 of file TAlienCollection.h.

◆ GetFileCollection()

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.

◆ GetFileGroupList()

TList * TAlienCollection::GetFileGroupList ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 101 of file TAlienCollection.h.

◆ GetGridResult()

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.

◆ GetInfoComment()

const char * TAlienCollection::GetInfoComment ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 129 of file TAlienCollection.h.

◆ GetLFN()

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.

◆ GetNofGroupfiles()

UInt_t TAlienCollection::GetNofGroupfiles ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 105 of file TAlienCollection.h.

◆ GetNofGroups()

UInt_t TAlienCollection::GetNofGroups ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 103 of file TAlienCollection.h.

◆ GetOutputFileName()

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.

◆ GetSize()

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.

◆ GetSURL()

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.

◆ GetTagFilterList()

TList * TAlienCollection::GetTagFilterList ( ) const
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 122 of file TAlienCollection.h.

◆ GetTURL()

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.

◆ InvertSelection()

Bool_t TAlienCollection::InvertSelection ( )
virtual

Invert the selection.

Reimplemented from TGridCollection.

Definition at line 632 of file TAlienCollection.cxx.

◆ IsOnline()

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.

◆ IsSelected()

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.

◆ LookupSUrls()

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.

◆ Next()

TMap * TAlienCollection::Next ( )
virtual

Return next event file map.

Reimplemented from TGridCollection.

Definition at line 446 of file TAlienCollection.cxx.

◆ Open()

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.

◆ OpenAlienCollection()

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.

◆ OpenFile()

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.

◆ OpenQuery()

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.

◆ OverlapCollection()

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.

◆ ParseXML()

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.

◆ Prepare()

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

Reimplemented from TGridCollection.

Definition at line 111 of file TAlienCollection.h.

◆ Print()

void TAlienCollection::Print ( Option_t opt) const
virtual

Print event file collection.

Reimplemented from TGridCollection.

Definition at line 831 of file TAlienCollection.cxx.

◆ Remove()

Bool_t TAlienCollection::Remove ( TMap map)
virtual

Return next event file map.

Reimplemented from TGridCollection.

Definition at line 686 of file TAlienCollection.cxx.

◆ Reset()

void TAlienCollection::Reset ( void  )
virtual

Reset file iterator.

Reimplemented from TGridCollection.

Definition at line 277 of file TAlienCollection.cxx.

◆ SelectFile()

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.

◆ SetExportUrl()

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.

◆ SetTag()

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.

◆ SetTagFilterList()

void TAlienCollection::SetTagFilterList ( TList filterlist)
inlinevirtual

Reimplemented from TGridCollection.

Definition at line 124 of file TAlienCollection.h.

◆ Stage()

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.

◆ Status()

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

◆ fCollectionName

TString TAlienCollection::fCollectionName
private

Definition at line 52 of file TAlienCollection.h.

◆ fCurrent

TMap* TAlienCollection::fCurrent
private

event file list iterator

Definition at line 41 of file TAlienCollection.h.

◆ fExportUrl

TString TAlienCollection::fExportUrl
private

pointer to the file stager object

Definition at line 50 of file TAlienCollection.h.

◆ fFileGroupList

TList* TAlienCollection::fFileGroupList
private

Definition at line 39 of file TAlienCollection.h.

◆ fFileGroupListIter

TIter* TAlienCollection::fFileGroupListIter
private

Definition at line 40 of file TAlienCollection.h.

◆ fFileStager

TFileStager* TAlienCollection::fFileStager
private

Definition at line 49 of file TAlienCollection.h.

◆ fHasOnline

Bool_t TAlienCollection::fHasOnline
private

Definition at line 47 of file TAlienCollection.h.

◆ fHasSelection

Bool_t TAlienCollection::fHasSelection
private

Definition at line 45 of file TAlienCollection.h.

◆ fHasSUrls

Bool_t TAlienCollection::fHasSUrls
private

Definition at line 44 of file TAlienCollection.h.

◆ fInfoComment

TString TAlienCollection::fInfoComment
private

Definition at line 51 of file TAlienCollection.h.

◆ fLastOutFileName

TString TAlienCollection::fLastOutFileName
private

Definition at line 48 of file TAlienCollection.h.

◆ fNofGroupfiles

UInt_t TAlienCollection::fNofGroupfiles
private

Definition at line 43 of file TAlienCollection.h.

◆ fNofGroups

UInt_t TAlienCollection::fNofGroups
private

current event file map

Definition at line 42 of file TAlienCollection.h.

◆ fTagFilterList

TList* TAlienCollection::fTagFilterList
private

Definition at line 53 of file TAlienCollection.h.

◆ fXmlFile

TString TAlienCollection::fXmlFile
private

Definition at line 38 of file TAlienCollection.h.


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