PandaRoot
PndLmdDigiStrips.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
/*
14
* PndLmdDigiStrips.h
15
*
16
* Created on: Aug 9, 2009
17
* Author: huagen
18
*/
19
20
#ifndef PNDLMDDIGISTRIPS_H_
21
#define PNDLMDDIGISTRIPS_H_
22
23
#include "TObject.h"
24
#include <iostream>
25
#include "TString.h"
26
#include <vector>
27
using namespace
std
;
28
29
// define the class for the digis data, which include detName, detID
30
// FE numbers, FE channels, charge of the strip
31
// it shall be registered as a new data type
32
class
PndLmdDigiStrips
:
public
TObject {
33
public
:
34
PndLmdDigiStrips
();
35
PndLmdDigiStrips
(Int_t index, Int_t detID, TString detName, Int_t fe, Int_t channel, Double_t charge);
36
//@param index is the position of PndLmdMCPoint in TClonesArray
37
//@param detName is the sensor name
38
//@param detID is the detID
39
//@param FE is the FE module number
40
//@param channel is the channel number in the FE moudule
41
//@param charge is the charge of the related channel
42
~PndLmdDigiStrips
(){};
43
44
// public method
45
std::vector<Int_t>
GetIndex
()
const
{
return
fIndex; }
46
Int_t
GetFe
()
const
{
return
fFE; }
47
Int_t
GetChannel
()
const
{
return
fChannel; }
48
Double_t
GetCharge
()
const
{
return
fCharge; }
49
TString
GetDetName
()
const
{
return
fdetName; }
50
Int_t
GetDetID
()
const
{
return
fdetID; }
51
52
private
:
53
TString fdetName;
54
// Int_t fIndex;
55
std::vector<Int_t> fIndex;
//??
56
Int_t fdetID;
57
Int_t fFE;
58
Int_t fChannel;
59
Double_t fCharge;
60
61
ClassDef(
PndLmdDigiStrips
, 1);
62
};
63
64
#endif
/* PNDLMDDIGISTRIPS_H_ */
PndLmdDigiStrips::GetDetName
TString GetDetName() const
Definition:
PndLmdDigiStrips.h:49
std
STL namespace.
PndLmdDigiStrips::GetCharge
Double_t GetCharge() const
Definition:
PndLmdDigiStrips.h:48
PndLmdDigiStrips::GetIndex
std::vector< Int_t > GetIndex() const
Definition:
PndLmdDigiStrips.h:45
PndLmdDigiStrips::GetChannel
Int_t GetChannel() const
Definition:
PndLmdDigiStrips.h:47
PndLmdDigiStrips::GetDetID
Int_t GetDetID() const
Definition:
PndLmdDigiStrips.h:50
PndLmdDigiStrips::GetFe
Int_t GetFe() const
Definition:
PndLmdDigiStrips.h:46
PndLmdDigiStrips
Definition:
PndLmdDigiStrips.h:32
PndLmdDigiStrips::~PndLmdDigiStrips
~PndLmdDigiStrips()
Definition:
PndLmdDigiStrips.h:42
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
lmd
LmdDigiSingle
PndLmdDigiStrips.h
Generated on Fri Nov 29 2024 06:04:43 for PandaRoot by
1.8.13