KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVLayer.h
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
33class KVLayer : public KVGeoStrucElement {
34
35public:
36
37 KVLayer();
38 virtual ~ KVLayer();
39
41 {
42 return kTRUE;
43 };
44 Int_t Compare(const TObject* obj) const;
45
46 const Char_t* GetName() const;
47
48 virtual TGeoVolume* GetGeoVolume();
49 virtual void AddToGeometry();
50
51 ClassDef(KVLayer, 3) //Layer of telescopes at the "same distance" from the target in a multidetector array
52};
53
54#endif
int Int_t
bool Bool_t
char Char_t
constexpr 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:33
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 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:40
Int_t Compare(const TObject *obj) const
For sorting lists of layer according to layer number.
Definition KVLayer.cpp:53