PandaRoot
PndMvdDigiTask.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 
18 #ifndef PNDMVDDIGITASK_H
19 #define PNDMVDDIGITASK_H
20 
21 #include "PndPersistencyTask.h"
22 
23 class TClonesArray;
24 
26  public:
29 
31  virtual ~PndMvdDigiTask();
32 
33  void SetPersistance(Bool_t p = kTRUE);
34  Bool_t GetPersistance() { return fPersistance; };
35  void RunTimeBased();
36 
37  private:
38  Bool_t fPersistance; // switch to turn on/off storing the arrays to a file
39  void Register();
40  void Reset();
41  void ProduceHits();
42  ClassDef(PndMvdDigiTask, 1);
43 };
44 
45 #endif /* MVDDIGITASK_H */
Bool_t GetPersistance()
void RunTimeBased()
virtual ~PndMvdDigiTask()
void SetPersistance(Bool_t p=kTRUE)