PandaRoot
BSEmcShashlykDigi.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 //#pragma once
14 
15 #ifndef BSEMCSHASHLYKDIGI_H_
16 #define BSEMCSHASHLYKDIGI_H_
17 
19 #include "BSEmcShashlykDigiPar.h"
20 
21 class BSEmcHit;
22 class BSEmcTwoCoordIndex;
23 class BSEmcWaveform;
24 
25 class TClonesArray;
26 class BSEmcRecoPar;
27 class BSEmcGeoPar;
28 class BSEmcAbsPSA;
29 class BSEmcAbsPulseshape;
31 
40 class BSEmcShashlykDigi : public BSEmcExtractDigisFromWaveforms<BSEmcShashlykDigiPar> {
41  public:
42  // Constructors
43  BSEmcShashlykDigi(const std::string &t_detectorname = "Shashlik", Bool_t t_storedigis = kTRUE);
44  // Destructor
45  virtual ~BSEmcShashlykDigi();
46 
47  protected:
48  virtual void DefinePSA() /*override*/;
49  virtual BSEmcDigi::eGAIN GetGainType(BSEmcWaveform *t_waveform, Int_t t_hit) const /*override*/;
50 
51  private:
53 };
54 
55 #endif /*BSEMCSHASHLYKDIGI_H_*/
Baseclass for pulseshapeanalysis ( featureextraction )
Definition: BSEmcAbsPSA.h:38
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:75
Task to create digis from waveforms.
virtual ~BSEmcShashlykDigi()
Task to create digis from waveforms.
pulseshape interface
virtual BSEmcDigi::eGAIN GetGainType(BSEmcWaveform *t_waveform, Int_t t_hit) const
ClassDef(BSEmcExtractDigisFromWaveforms, 1)
virtual void DefinePSA()
BSEmcShashlykDigi(const std::string &t_detectorname="Shashlik", Bool_t t_storedigis=kTRUE)