EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairVolumeList.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairVolumeList.h
1
#ifndef FAIR_VOLUMELIST_H
2
#define FAIR_VOLUMELIST_H
3
4
//#include "FairVolume.h"
5
6
#include "TObject.h"
7
#include "TObjArray.h"
8
#include "TString.h"
9
10
#include <iostream>
11
12
class
FairVolume
;
13
//class TObjArray;
14
22
class
FairVolumeList
:
public
TObject
23
{
24
private
:
25
TObjArray*
fData
;
26
FairVolumeList
(
const
FairVolumeList
&);
27
FairVolumeList
&
operator=
(
const
FairVolumeList
&);
28
29
public
:
30
FairVolumeList
();
31
virtual
~FairVolumeList
();
32
33
FairVolume
*
getVolume
( TString*
name
);
34
Int_t
getVolumeId
( TString*
name
);
35
36
FairVolume
*
findObject
( TString
name
);
37
void
addVolume
(
FairVolume
* elem);
38
39
Int_t
getEntries
() {
return
fData
->GetEntries();}
40
FairVolume
*
At
(Int_t
pos
) {
return
( (
FairVolume
*)
fData
->At(pos)); }
41
42
ClassDef(
FairVolumeList
,1)
// Volume List
43
};
44
45
#endif //FAIR_VOLUMELIST_H
46
47
EicRoot
blob
master
base
FairVolumeList.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration