KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVLayer.h
Go to the documentation of this file.
1 /***************************************************************************
2  kvlayer.h - description
3  -------------------
4  begin : Thu May 16 2002
5  copyright : (C) 2002 by J.D. Frankland
6  email : frankland@ganil.fr
7 
8 $Id: KVLayer.h,v 1.19 2009/03/03 14:27:15 franklan Exp $
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************/
19 
20 #ifndef KVLAYER_H
21 #define KVLAYER_H
22 #include "KVGeoStrucElement.h"
23 
24 #include <TGeoVolume.h>
25 
32 class KVLayer : public KVGeoStrucElement {
33 
34 public:
35 
36  KVLayer();
37  virtual ~ KVLayer();
38 
40  {
41  return kTRUE;
42  };
43  Int_t Compare(const TObject* obj) const;
44 
45  const Char_t* GetName() const;
46 
47  virtual TGeoVolume* GetGeoVolume();
48  virtual void AddToGeometry();
49 
50  ClassDef(KVLayer, 3) //Layer of telescopes at the "same distance" from the target in a multidetector array
51 };
52 
53 #endif
int Int_t
char Char_t
bool Bool_t
const Bool_t kTRUE
#define ClassDef(name, id)
Base class describing elements of array geometry.
Set of detectors at a similar distance from target (obsolete)
Definition: KVLayer.h:32
virtual TGeoVolume * GetGeoVolume()
Create and return TGeoVolume representing detectors in this layer.
Definition: KVLayer.cpp:91
const Char_t * GetName() const
Definition: KVLayer.cpp:70
KVLayer()
default ctor
Definition: KVLayer.cpp:32
virtual ~ KVLayer()
virtual void AddToGeometry()
Construct and position a TGeoVolume shape to represent this layer in the current geometry.
Definition: KVLayer.cpp:113
Bool_t IsSortable() const
Definition: KVLayer.h:39
Int_t Compare(const TObject *obj) const
For sorting lists of layer according to layer number.
Definition: KVLayer.cpp:53