PandaRoot
PndPersistencyTask.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 // ----- PndPersistencyTask header file -----
15 // ----- Created 28/02/18 by T. Stockmanns -----
16 // -------------------------------------------------------------------------
17 
27 #ifndef PndPersistencyTask_H
28 #define PndPersistencyTask_H
29 
30 #include "FairTask.h"
31 
32 class PndPersistencyTask : public FairTask {
33 
34  public:
36  PndPersistencyTask(const char *name, Int_t iVerbose = 1);
37  virtual ~PndPersistencyTask();
38 
39  void SetPersistency(Bool_t val = kTRUE) { fPersistency = val; }
40  Bool_t GetPersistency() { return fPersistency; }
41 
42  private:
43  Bool_t fPersistency;
44 
45  ClassDef(PndPersistencyTask, 1)
46 };
47 
48 #endif
virtual ~PndPersistencyTask()
void SetPersistency(Bool_t val=kTRUE)