Definition at line 26 of file Package.h.
◆ Package() [1/2]
Hal::Package::Package |
( |
| ) |
|
◆ Package() [2/2]
Hal::Package::Package |
( |
const TObject * | object, |
|
|
Bool_t | cut_template = kFALSE ) |
create class from object
- Parameters
-
object | object that give name for this class |
cut_template | if true then only first part of name is used as class name (e.g. ClassA_A will be named as ClassA |
Definition at line 34 of file Package.cxx.
◆ ~Package()
Hal::Package::~Package |
( |
| ) |
|
|
virtual |
◆ Add()
void Hal::Package::Add |
( |
const Package * | pack | ) |
|
add object of the same structure to this
- Parameters
-
Definition at line 254 of file Package.cxx.
◆ AddObject()
void Hal::Package::AddObject |
( |
TObject * | object | ) |
|
add object to array of objects
- Parameters
-
Definition at line 209 of file Package.cxx.
◆ Browse()
void Hal::Package::Browse |
( |
TBrowser * | b | ) |
|
|
virtual |
used to by TBrowser
- Parameters
-
Definition at line 195 of file Package.cxx.
◆ Exist()
Bool_t Hal::Package::Exist |
( |
TString | name, |
|
|
Int_t | index = 0, |
|
|
Option_t * | opt = " " ) const |
- Parameters
-
name | object name |
index | index of object (if few with the same name exists) |
opt | if " " search by name and index, if "classname" find by classname not name of object if "index" search only by index |
- Returns
- true if object exist
Definition at line 300 of file Package.cxx.
◆ GetComment()
TString Hal::Package::GetComment |
( |
| ) |
const |
◆ GetEntries()
Int_t Hal::Package::GetEntries |
( |
| ) |
const |
- Returns
- number objects inside this object
Definition at line 61 of file Package.cxx.
◆ GetMerged()
Int_t Hal::Package::GetMerged |
( |
| ) |
const |
- Returns
- number of merging this object if 1 then object has never been merged
Definition at line 140 of file Package.cxx.
◆ GetName()
const char * Hal::Package::GetName |
( |
| ) |
const |
◆ GetObject()
TObject * Hal::Package::GetObject |
( |
Int_t | i | ) |
const |
- Parameters
-
- Returns
- found ojbect
Definition at line 52 of file Package.cxx.
◆ GetObjectByClassName()
TObject * Hal::Package::GetObjectByClassName |
( |
TString | name, |
|
|
Int_t | index = 0 ) const |
search for object
- Parameters
-
name | class name of object |
index | used if few object have the same classname |
- Returns
- found object
Definition at line 169 of file Package.cxx.
◆ GetObjectByName()
TObject * Hal::Package::GetObjectByName |
( |
TString | name, |
|
|
Int_t | index = 0, |
|
|
Bool_t | quited = kFALSE ) const |
search for object by name
- Parameters
-
name | name of object |
index | index of object (if few have the same name) |
quitet | if true supress warnings |
- Returns
- found object
Definition at line 67 of file Package.cxx.
◆ Merge()
Long64_t Hal::Package::Merge |
( |
TCollection * | collection | ) |
|
|
virtual |
used to merge similar objects
- Parameters
-
Definition at line 348 of file Package.cxx.
◆ operator+()
add objects
- Parameters
-
- Returns
- this
Definition at line 218 of file Package.cxx.
◆ PrintInfo()
void Hal::Package::PrintInfo |
( |
Int_t | max_deep = 0 | ) |
const |
print info about this object
- Parameters
-
max_deep | if 0 then objects that have internal structure don print their inner objects |
Definition at line 273 of file Package.cxx.
◆ PrintStruct()
void Hal::Package::PrintStruct |
( |
| ) |
const |
print structure of this object without additional information
Definition at line 292 of file Package.cxx.
◆ RemoveObjectByName()
void Hal::Package::RemoveObjectByName |
( |
TString | name, |
|
|
Int_t | index = 0, |
|
|
Bool_t | delete_obj = kTRUE ) |
remove object by name
- Parameters
-
name | name of object |
index | index (if more than one object with the same name exist) |
delete_obj | if true the destructor for removed object is called |
Definition at line 331 of file Package.cxx.
◆ Report()
Package * Hal::Package::Report |
( |
| ) |
const |
create package from package
- Returns
- created packages
Definition at line 129 of file Package.cxx.
◆ SetAdditionalCounter()
void Hal::Package::SetAdditionalCounter |
( |
Int_t | counter | ) |
|
add number to name of parent class (e.g. parentClass_1
- Parameters
-
Definition at line 50 of file Package.cxx.
◆ SetComment()
void Hal::Package::SetComment |
( |
TString | name | ) |
|
set comment to this package
- Parameters
-
Definition at line 65 of file Package.cxx.
◆ SetName()
void Hal::Package::SetName |
( |
TString | name | ) |
|
overwrite name of class that is creator of this package
- Parameters
-
name | new name of parent class for this object |
Definition at line 298 of file Package.cxx.
The documentation for this class was generated from the following files: