FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
HypData
PndHypStrip.h
Go to the documentation of this file.
1
#ifndef _PNDHYPSTRIP_HH
2
#define _PNDHYPSTRIP_HH
3
4
#include "
PndHypHit.h
"
5
#include "FairGeoVector.h"
6
#include <iostream>
7
#include <vector>
8
9
10
class
PndHypStrip
11
{
12
public
:
13
PndHypStrip
() :
14
fnumber
(-1),
15
fcharge
(-1.0)
16
// _fe = -1;
17
{}
18
19
// PndHypStrip(const std::string& detName, int fe, int nr, double charge){
20
PndHypStrip
(Int_t nr,
Double_t
charge):
21
// _detName = detName;
22
// _fe = fe;
23
fnumber
(nr),
24
fcharge
(charge)
25
// _index = 0;
26
// _detID = 0;
27
// _trackID = 0;
28
{
29
}
30
31
void
SetIndex
(Int_t nr) {
fnumber
= nr;}
32
void
SetCharge
(
Double_t
charge) {
fcharge
= charge;}
33
// void SetDetName(const std::string& detName) {_detName = detName;}
34
// void SetFE (int fe) {_fe = fe;}
35
// void SetIndex (int fe) {_fe = fe;}
36
37
int
GetIndex
()
const
{
return
fnumber
;}
38
double
GetCharge
()
const
{
return
fcharge
;}
39
// std::string GetDetName() const {return _detName;}
40
// int GetFE() const {return _fe;}
41
42
friend
std::ostream
&
operator<<
(
std::ostream
&
out
,
const
PndHypStrip
& strip)
43
{
44
/*
45
out << "Detector: " << strip.GetDetName() << " FE: " <<
46
strip.GetFE() << " Strip Nr.: " << strip.GetChannel() << " "
47
<< " Charge: " << strip.GetCharge();
48
*/
49
out <<
" Strip Nr.: "
<< strip.
GetIndex
() <<
" "
50
<<
" Charge: "
<< strip.
GetCharge
();
51
52
return
out
;
53
}
54
55
56
private
:
57
// int _fe;
58
Int_t
fnumber
;
59
Double_t
fcharge
;
60
// int _index;
61
// int _detID;
62
// int _trackID;
63
64
// std::string _detName;
65
};
66
67
#endif //fMVDSTRIP_HH
PndHypStrip::fnumber
Int_t fnumber
Definition:
PndHypStrip.h:58
PndHypStrip::operator<<
friend std::ostream & operator<<(std::ostream &out, const PndHypStrip &strip)
Definition:
PndHypStrip.h:42
PndHypStrip::PndHypStrip
PndHypStrip()
Definition:
PndHypStrip.h:13
PndHypStrip::PndHypStrip
PndHypStrip(Int_t nr, Double_t charge)
Definition:
PndHypStrip.h:20
PndHypStrip
Definition:
PndHypStrip.h:10
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
out
TFile * out
Definition:
reco_muo.C:20
PndHypStrip::fcharge
Double_t fcharge
Definition:
PndHypStrip.h:59
PndHypStrip::SetCharge
void SetCharge(Double_t charge)
Definition:
PndHypStrip.h:32
std::basic_ostream
Definition:
PndFTSCATrackParamVector.h:1258
PndHypStrip::GetCharge
double GetCharge() const
Definition:
PndHypStrip.h:38
PndHypHit.h
PndHypStrip::SetIndex
void SetIndex(Int_t nr)
Definition:
PndHypStrip.h:31
PndHypStrip::GetIndex
int GetIndex() const
Definition:
PndHypStrip.h:37
Generated on Sun Aug 18 2019 03:01:34 for FairRoot/PandaRoot by
1.8.8