PandaRoot
FairEvtFilterParams.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 // ----- FairEvtFilterParams header file -----
15 // -------------------------------------------------------------------------
16 
26 #ifndef FAIREVTFILTERPARAMS_H_
27 #define FAIREVTFILTERPARAMS_H_
28 
29 #include "TObject.h"
30 
31 class FairEvtFilterParams : public TObject {
32 
33  public:
34  // Default constructor.
36 
37  // constructor with parameters
38  FairEvtFilterParams(Int_t FailedFilterEvents, Int_t GeneratedEvents, Int_t FilterMaxTries);
39 
40  // Destructor.
41  virtual ~FairEvtFilterParams();
42 
43  // number of failed attempts to find an event that satisfies all event filters
44  // events are generated by the registered event generators
45  // a value other than 0 indicates that there is something wrong!
47 
48  // total number of generated events (accepted + rejected)
50 
51  // limiting number for the attempts to find an event that suits all event filters
52  // set this to a very high number
53  // this number is only used to avoid infinite loops in case no event can be found
55 
56  ClassDef(FairEvtFilterParams, 1)
57 };
58 
59 #endif /* FAIREVTFILTERPARAMS_H_ */
virtual ~FairEvtFilterParams()