PandaRoot
PndEmcFullDigiTask.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 // Description:
15 // Class Template
16 //------------------------------------------------------------------------
17 
18 #ifndef PNDEMCFULLDIGITASK_H
19 #define PNDEMCFULLDIGITASK_H
20 
21 #include <PndPersistencyTask.h>
22 
28  public:
29  // Constructors
30  PndEmcFullDigiTask(Int_t verbose = 0, Bool_t storedigis = kTRUE);
31 
32  // Destructor
33  virtual ~PndEmcFullDigiTask();
34 
36  virtual InitStatus Init();
37 
39  virtual void Exec(Option_t *opt);
40 
41  void StoreDigi(Bool_t val); // Method to specify whether digis are stored.
42  void StoreWaveforms(Bool_t val); // Method to specify whether wavefors are stored.
43 
44  protected:
45  private:
47  virtual void SetParContainers();
48 
50  Int_t fVerbose;
51 
52  static Int_t fEventCounter;
53 
54  ClassDef(PndEmcFullDigiTask, 1);
55 };
56 #endif // PndEmcFullDigiTask_HH
combines the tasks PndEmcHitsToWaveform and PndEmcWaveformToDigi
void StoreDigi(Bool_t val)
PndEmcFullDigiTask(Int_t verbose=0, Bool_t storedigis=kTRUE)
void StoreWaveforms(Bool_t val)
virtual void Exec(Option_t *opt)
virtual InitStatus Init()
virtual ~PndEmcFullDigiTask()