StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StSvtClassLibrary
StSvtWaferCollection.hh
1
/***************************************************************************
2
*
3
* $Id: StSvtWaferCollection.hh,v 1.2 2007/03/21 17:22:21 fisyak Exp $
4
*
5
* Author: Marcelo Munhoz
6
***************************************************************************
7
*
8
* Description: SVT Wafer Array BASE class
9
*
10
***************************************************************************
11
*
12
* $Log: StSvtWaferCollection.hh,v $
13
* Revision 1.2 2007/03/21 17:22:21 fisyak
14
* Ivan Kotov's drift velocities, use TGeoHMatrix for coordinate transformation
15
*
16
* Revision 1.1 2001/08/16 21:02:04 munhoz
17
* changing StObjArray to StStrArray. StSvtConfig reestructured. New classes for geometry DB
18
*
19
*
20
**************************************************************************/
21
22
#ifndef STSVTWAFERCOLLECTION_HH
23
#define STSVTWAFERCOLLECTION_HH
24
25
#define MAX_NUMBER_OF_BARRELS 3
26
27
#include "StArray.h"
28
29
class
StSvtHybridObject
;
30
class
StSvtConfig
;
31
class
TString;
32
33
class
StSvtWaferCollection
:
public
StRefArray
34
{
35
public
:
36
StSvtWaferCollection
();
37
StSvtWaferCollection
(
StSvtConfig
* config);
38
StSvtWaferCollection
(
const
char
* config);
39
virtual
~
StSvtWaferCollection
();
40
41
int
getNumberOfBarrels();
42
int
getNumberOfLadders(
int
barrel);
43
int
getNumberOfWafers(
int
barrel);
44
int
getTotalNumberOfWafers();
45
int
getWaferIndex(
int
barrel,
int
ladder,
int
wafer);
46
47
void
setConfiguration(
const
char
* config);
// Set the SVT configuration
48
void
setConfiguration(
StSvtConfig
* config);
// Set the SVT configuration
49
StSvtConfig
* getSvtConfig() {
return
mSvtConfig;}
// Returns the SVT configuration object
50
const
char
* getConfiguration();
// Returns the SVT configuration
51
52
//StSvtHybridObject* At(int index); // needed for backward compatibility
53
//void AddAt(StSvtHybridObject* object, int index); // needed for backward compatibility
54
55
StSvtHybridObject
* getObject(
int
barrel,
int
ladder,
int
wafer);
// Returns a object of the collection
56
57
protected
:
58
59
StSvtConfig
* mSvtConfig;
60
TString
mConfig
;
// SVT Configuration
61
62
ClassDef(
StSvtWaferCollection
,1)
63
};
64
65
#endif
StSvtWaferCollection::mConfig
TString mConfig
SVT Configuration.
Definition:
StSvtWaferCollection.hh:60
StRefArray
Definition:
StArray.h:155
StSvtHybridObject
Definition:
StSvtHybridObject.hh:27
StSvtConfig
Definition:
StSvtConfig.hh:35
StSvtWaferCollection
Definition:
StSvtWaferCollection.hh:33
Generated by
1.8.5