add proptections (marcel), add GEANT process for MC
[u/mrichter/AliRoot.git] / PWGDQ / dielectron / AliDielectronSignalMC.cxx
1 /*************************************************************************
2  * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 ///////////////////////////////////////////////////////////////////////////
17 //                Dielectron MC signal description container             //
18 //                                                                       //
19 //                                                                       //
20 /*
21  * A container to describe the decay of a two body process
22  * 
23  * 
24  * 
25  * 
26  * 
27  */
28 //                                                                       //
29 ///////////////////////////////////////////////////////////////////////////
30
31 #include "AliDielectronSignalMC.h"
32
33 ClassImp(AliDielectronSignalMC)
34
35 //_________________________________________________________________________
36 AliDielectronSignalMC::AliDielectronSignalMC() :
37   TNamed("AliDielectronSignalMC", "AliDielectronSignalMC"),
38   fLeg1(0),
39   fLeg2(0),
40   fMother1(0),
41   fMother2(0),
42   fGrandMother1(0),
43   fGrandMother2(0),
44   fLeg1Exclude(kFALSE),      
45   fLeg2Exclude(kFALSE),         
46   fMother1Exclude(kFALSE),       
47   fMother2Exclude(kFALSE),   
48   fGrandMother1Exclude(kFALSE),
49   fGrandMother2Exclude(kFALSE),
50   fLeg1Source(kDontCare),
51   fLeg2Source(kDontCare),
52   fMother1Source(kDontCare),
53   fMother2Source(kDontCare),
54   fGrandMother1Source(kDontCare),
55   fGrandMother2Source(kDontCare),
56   fCheckBothChargesLeg1(kFALSE),
57   fCheckBothChargesLeg2(kFALSE),
58   fCheckBothChargesMother1(kFALSE),
59   fCheckBothChargesMother2(kFALSE),
60   fCheckBothChargesGrandMother1(kFALSE),
61   fCheckBothChargesGrandMother2(kFALSE),
62   fCheckGEANTProcess(kFALSE),
63   fMothersRelation(kUndefined),
64   fGEANTProcess(kPPrimary),
65   fJpsiRadiative(kAll),
66   fFillPureMCStep(kFALSE) {
67
68   //
69   // Default constructor
70   //
71 }
72
73
74 //_________________________________________________________________________
75 AliDielectronSignalMC::AliDielectronSignalMC(const Char_t* name, const Char_t* title) :
76   TNamed(name, title),
77   fLeg1(0),
78   fLeg2(0),
79   fMother1(0),
80   fMother2(0),
81   fGrandMother1(0),
82   fGrandMother2(0),
83   fLeg1Exclude(kFALSE),      
84   fLeg2Exclude(kFALSE),         
85   fMother1Exclude(kFALSE),       
86   fMother2Exclude(kFALSE),   
87   fGrandMother1Exclude(kFALSE),
88   fGrandMother2Exclude(kFALSE),
89   fLeg1Source(kDontCare),
90   fLeg2Source(kDontCare),
91   fMother1Source(kDontCare),
92   fMother2Source(kDontCare),
93   fGrandMother1Source(kDontCare),
94   fGrandMother2Source(kDontCare),
95   fCheckBothChargesLeg1(kFALSE),
96   fCheckBothChargesLeg2(kFALSE),
97   fCheckBothChargesMother1(kFALSE),
98   fCheckBothChargesMother2(kFALSE),
99   fCheckBothChargesGrandMother1(kFALSE),
100   fCheckBothChargesGrandMother2(kFALSE),
101   fCheckGEANTProcess(kFALSE),
102   fMothersRelation(kUndefined),
103   fGEANTProcess(kPPrimary),
104   fJpsiRadiative(kAll),
105   fFillPureMCStep(kFALSE) {
106
107   //
108   // Named constructor
109   //
110 }
111
112
113
114 //_________________________________________________________________________
115 AliDielectronSignalMC::~AliDielectronSignalMC() {
116   //
117   //  Destructor
118   //
119 }