public class FileAida extends Object
Constructor and Description |
---|
FileAida()
Create FileAida
|
FileAida(String file)
Create object to read AIDA file.
|
FileAida(String file,
boolean readOnly)
Create object to read AIDA file.
|
Modifier and Type | Method and Description |
---|---|
void |
cd(String dir)
Navigate to a directory inside the file
|
void |
close()
Close the file
|
void |
doc()
Show online documentation.
|
Object |
get(String skey)
Get object associated with the key name
|
ArrayList<hep.aida.IManagedObject> |
getAll()
Get list of all objects
|
ArrayList<String> |
getAllNames()
Get list of all objects
|
ArrayList<String> |
getAllNames(String a)
Get list of all objects
|
ArrayList<String> |
getAllTypes()
Get list of all types
|
ArrayList<String> |
getAllTypes(String a)
Get list of all types
|
hep.aida.ITree |
getITree()
Return ITree for further manipulations
|
String[] |
listObjectNames()
List name of the objects inside trees
|
void |
load(File f,
boolean readOnly)
Load a AIDA file
|
void |
load(String file,
boolean readOnly)
Load a AIDA file
|
String |
pwd()
Print the current directory
|
public FileAida(String file)
file
- Input AIDA filepublic FileAida(String file, boolean readOnly)
file
- Input AIDA filereadOnly
- public FileAida()
public void load(String file, boolean readOnly)
f
- input filereadOnly
- - only readpublic void load(File f, boolean readOnly)
f
- input filereadOnly
- - only readpublic Object get(String skey)
skey
- key namepublic String[] listObjectNames()
public ArrayList<String> getAllNames(String a)
a
- pathpublic ArrayList<String> getAllNames()
public ArrayList<String> getAllTypes(String a)
a
- pathpublic void cd(String dir)
public String pwd()
show
- current directorypublic void close() throws IOException
IOException
public ArrayList<hep.aida.IManagedObject> getAll()
public hep.aida.ITree getITree()
public void doc()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics