]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Particle decayer virtual base class.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Sep 2000 14:22:45 +0000 (14:22 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Sep 2000 14:22:45 +0000 (14:22 +0000)
EVGEN/AliDecayer.cxx [new file with mode: 0644]
EVGEN/AliDecayer.h [new file with mode: 0644]

diff --git a/EVGEN/AliDecayer.cxx b/EVGEN/AliDecayer.cxx
new file mode 100644 (file)
index 0000000..b106b52
--- /dev/null
@@ -0,0 +1,21 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+$Log$
+*/
+
+#include "AliDecayer.h"
+ClassImp(AliDecayer)
diff --git a/EVGEN/AliDecayer.h b/EVGEN/AliDecayer.h
new file mode 100644 (file)
index 0000000..d9149df
--- /dev/null
@@ -0,0 +1,31 @@
+#ifndef ALIDECAYER_H
+#define ALIDECAYER_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+#include "GenTypeDefs.h"
+#include <TObject.h>
+class TClonesArray;
+class TLorentzVector;
+
+class AliDecayer :
+public TObject
+{
+ public:
+//
+    virtual void    Init()                                     =0;
+    virtual void    Decay(Int_t idpart, TLorentzVector* p)     =0;
+    virtual Int_t   ImportParticles(TClonesArray *particles)   =0;
+    virtual void    ForceDecay(Decay_t type)                   =0;
+    virtual Float_t GetPartialBranchingRatio(Int_t ipart)      =0;
+    ClassDef(AliDecayer,1) // Alice Decayer Base Class
+};
+#endif
+
+
+
+
+
+
+