CbmRoot
CbmMuchSector.h
Go to the documentation of this file.
1
10
#ifndef CBMMUCHSECTOR_H
11
#define CBMMUCHSECTOR_H 1
12
13
#include <Rtypes.h>
// for THashConsistencyHolder, ClassDef
14
#include <RtypesCore.h>
// for UInt_t, Int_t
15
16
#include <vector>
// for vector
17
18
#include "
CbmMuchAddress.h
"
// for CbmMuchAddress
19
20
class
CbmMuchPad
;
21
22
class
CbmMuchSector
{
23
public
:
24
CbmMuchSector
();
25
CbmMuchSector
(UInt_t modAddress, UInt_t index, Int_t nChannels);
26
virtual
~CbmMuchSector
() {}
27
UInt_t
GetAddress
()
const
{
return
fAddress
; }
28
UInt_t
GetSectorIndex
()
const
{
29
return
CbmMuchAddress::GetSectorIndex
(
fAddress
);
30
}
31
Int_t
GetNChannels
()
const
{
return
fNChannels
; }
32
CbmMuchPad
*
GetPadByChannelIndex
(Int_t iChannel)
const
;
33
// virtual void GetPadVertices(Int_t iChannel, Double_t* xPad, Double_t* yPad) {}
34
virtual
void
AddPads
() {}
35
virtual
void
DrawPads
() {}
36
37
protected
:
38
UInt_t
fAddress
;
// Sector address
39
Int_t
fNChannels
;
// Number of channels
40
std::vector<CbmMuchPad*>
fPads
;
41
42
ClassDef
(
CbmMuchSector
, 2);
43
};
44
45
#endif
CbmMuchSector
Definition:
CbmMuchSector.h:22
CbmMuchSector::GetNChannels
Int_t GetNChannels() const
Definition:
CbmMuchSector.h:31
CbmMuchSector::CbmMuchSector
CbmMuchSector()
Definition:
CbmMuchSector.cxx:10
CbmMuchSector::~CbmMuchSector
virtual ~CbmMuchSector()
Definition:
CbmMuchSector.h:26
CbmMuchSector::AddPads
virtual void AddPads()
Definition:
CbmMuchSector.h:34
CbmMuchSector::GetSectorIndex
UInt_t GetSectorIndex() const
Definition:
CbmMuchSector.h:28
CbmMuchSector::fNChannels
Int_t fNChannels
Definition:
CbmMuchSector.h:39
CbmMuchSector::fAddress
UInt_t fAddress
Definition:
CbmMuchSector.h:38
CbmMuchSector::GetPadByChannelIndex
CbmMuchPad * GetPadByChannelIndex(Int_t iChannel) const
Definition:
CbmMuchSector.cxx:22
CbmMuchSector::fPads
std::vector< CbmMuchPad * > fPads
Definition:
CbmMuchSector.h:40
CbmMuchPad
Definition:
CbmMuchPad.h:21
CbmMuchAddress.h
CbmMuchSector::ClassDef
ClassDef(CbmMuchSector, 2)
Vector of pads.
CbmMuchSector::GetAddress
UInt_t GetAddress() const
Definition:
CbmMuchSector.h:27
CbmMuchSector::DrawPads
virtual void DrawPads()
Definition:
CbmMuchSector.h:35
CbmMuchAddress::GetSectorIndex
static Int_t GetSectorIndex(Int_t address)
Definition:
CbmMuchAddress.h:115
core
detectors
much
CbmMuchSector.h
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18