PandaRoot
PndLmdDigiStrips.h
Go to the documentation of this file.
1
/*
2
* PndLmdDigiStrips.h
3
*
4
* Created on: Aug 9, 2009
5
* Author: huagen
6
*/
7
8
#ifndef PNDLMDDIGISTRIPS_H_
9
#define PNDLMDDIGISTRIPS_H_
10
11
#include "TObject.h"
12
#include <iostream>
13
#include "TString.h"
14
#include <vector>
15
using namespace
std
;
16
17
// define the class for the digis data, which include detName, detID
18
// FE numbers, FE channels, charge of the strip
19
// it shall be registered as a new data type
20
class
PndLmdDigiStrips
:
public
TObject {
21
public
:
22
PndLmdDigiStrips
();
23
PndLmdDigiStrips
(Int_t index, Int_t detID, TString detName, Int_t fe, Int_t channel, Double_t charge);
24
//@param index is the position of PndLmdMCPoint in TClonesArray
25
//@param detName is the sensor name
26
//@param detID is the detID
27
//@param FE is the FE module number
28
//@param channel is the channel number in the FE moudule
29
//@param charge is the charge of the related channel
30
~PndLmdDigiStrips
(){};
31
32
// public method
33
std::vector<Int_t>
GetIndex
()
const
{
return
fIndex; }
34
Int_t
GetFe
()
const
{
return
fFE; }
35
Int_t
GetChannel
()
const
{
return
fChannel; }
36
Double_t
GetCharge
()
const
{
return
fCharge; }
37
TString
GetDetName
()
const
{
return
fdetName; }
38
Int_t
GetDetID
()
const
{
return
fdetID; }
39
40
private
:
41
TString fdetName;
42
// Int_t fIndex;
43
std::vector<Int_t> fIndex;
//??
44
Int_t fdetID;
45
Int_t fFE;
46
Int_t fChannel;
47
Double_t fCharge;
48
49
ClassDef(
PndLmdDigiStrips
, 1);
50
};
51
52
#endif
/* PNDLMDDIGISTRIPS_H_ */
PndLmdDigiStrips::GetDetName
TString GetDetName() const
Definition:
PndLmdDigiStrips.h:37
std
STL namespace.
PndLmdDigiStrips::GetCharge
Double_t GetCharge() const
Definition:
PndLmdDigiStrips.h:36
PndLmdDigiStrips::GetIndex
std::vector< Int_t > GetIndex() const
Definition:
PndLmdDigiStrips.h:33
PndLmdDigiStrips::GetChannel
Int_t GetChannel() const
Definition:
PndLmdDigiStrips.h:35
PndLmdDigiStrips::GetDetID
Int_t GetDetID() const
Definition:
PndLmdDigiStrips.h:38
PndLmdDigiStrips::GetFe
Int_t GetFe() const
Definition:
PndLmdDigiStrips.h:34
PndLmdDigiStrips
Definition:
PndLmdDigiStrips.h:20
PndLmdDigiStrips::~PndLmdDigiStrips
~PndLmdDigiStrips()
Definition:
PndLmdDigiStrips.h:30
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
detectors
lmd
LmdDigiSingle
PndLmdDigiStrips.h
Generated on Fri Oct 21 2022 07:03:59 for PandaRoot by
1.8.13