FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGenerator.cxx
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 // -------------------------------------------------------------------------
9 // ----- FairGenerator source file -----
10 // -------------------------------------------------------------------------
11 
12 #include "FairGenerator.h"
13 
15  : TNamed()
16 {}
17 
18 FairGenerator::FairGenerator(const char* name, const char* title)
19  : TNamed(name, title)
20 {}
21 
23  : TNamed(rhs)
24 {}
25 
27 
29 {
30  // check assignment to self
31  if (this == &rhs)
32  return *this;
33 
34  // base class assignment
35  TNamed::operator=(rhs);
36 
37  return *this;
38 }
39 
41 {
42  Fatal("CloneGenerator", "Has to be overriden in multi-threading applications.");
43  return 0;
44 }
45 
virtual FairGenerator * CloneGenerator() const
ClassImp(FairEventBuilder)
FairGenerator & operator=(const FairGenerator &)
virtual ~FairGenerator()