PandaRoot
PndLmdDigiQ.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 // ---- PndLmdDigiQ header file ---
15 // ---- Created 19.09.14 by A.Karavdina ---
16 // --------------------------------------------------------
17 
24 #ifndef PNDLMDDIGIQ_H
25 #define PNDLMDDIGIQ_H
26 
27 #include "PndSdsDigiPixel.h"
28 
29 #include "TObject.h"
30 #include "TString.h"
31 #include <iostream>
32 #include <vector>
33 
34 class PndLmdDigiQ : public PndSdsDigiPixel {
35 
36  public:
37  PndLmdDigiQ();
38  PndLmdDigiQ(const PndSdsDigiPixel &digiIn, bool sigfl);
39  void SetFlSig() { fSigfl = true; }
40  void SetFlBkg() { fSigfl = false; }
41  void SetPDG(int pdgcode) { fPDG = pdgcode; }
42  void SetPlane(int pl) { fPl = pl; }
43  void SetHalf(int hf) { fHf = hf; }
44  void SetModule(int mod) { fModule = mod; }
45  void SetSide(int side) { fSide = side; }
46  void SetThMC(double th) { fThMC = th; }
47  void SetMCtrkID(int id) { fMCtrkID = id; }
48  void SetEvT(double t) { fEvTime = t; }
49  bool GetFlSig() { return fSigfl; }
50  int GetPDG() { return fPDG; }
51  int GetPlane() { return fPl; }
52  int GetHalf() { return fHf; }
53  int GetModule() { return fModule; }
54  int GetSide() { return fSide; }
55  double GetThMC() { return fThMC; }
56  int GetMCtrkID() { return fMCtrkID; }
57  double GetEvT() { return fEvTime; }
58  virtual ~PndLmdDigiQ(){};
59 
60  virtual void Print() { std::cout << *this; }
61 
62  protected:
63  bool fSigfl; // signal?
64  int fPDG; // PDG Code of particle
65  int fPl; // plane number
66  int fHf; // half number
67  int fModule; // module number
68  int fSide; // side of plane
69  double fThMC; // theta MC
70  double fEvTime; // event time
71  int fMCtrkID; // MCtrk ID
73 };
74 
75 #endif
double fEvTime
Definition: PndLmdDigiQ.h:70
double GetThMC()
Definition: PndLmdDigiQ.h:55
int GetHalf()
Definition: PndLmdDigiQ.h:52
void SetThMC(double th)
Definition: PndLmdDigiQ.h:46
virtual ~PndLmdDigiQ()
Definition: PndLmdDigiQ.h:58
bool GetFlSig()
Definition: PndLmdDigiQ.h:49
void SetMCtrkID(int id)
Definition: PndLmdDigiQ.h:47
int GetMCtrkID()
Definition: PndLmdDigiQ.h:56
double fThMC
Definition: PndLmdDigiQ.h:69
int GetPlane()
Definition: PndLmdDigiQ.h:51
void SetPDG(int pdgcode)
Definition: PndLmdDigiQ.h:41
int GetSide()
Definition: PndLmdDigiQ.h:54
virtual void Print()
Definition: PndLmdDigiQ.h:60
void SetPlane(int pl)
Definition: PndLmdDigiQ.h:42
void SetEvT(double t)
Definition: PndLmdDigiQ.h:48
void SetSide(int side)
Definition: PndLmdDigiQ.h:45
void SetFlSig()
Definition: PndLmdDigiQ.h:39
void SetModule(int mod)
Definition: PndLmdDigiQ.h:44
void SetFlBkg()
Definition: PndLmdDigiQ.h:40
ClassDef(PndLmdDigiQ, 5)
int GetPDG()
Definition: PndLmdDigiQ.h:50
Data class to store the digi output of a pixel module.
int GetModule()
Definition: PndLmdDigiQ.h:53
void SetHalf(int hf)
Definition: PndLmdDigiQ.h:43
double GetEvT()
Definition: PndLmdDigiQ.h:57