1 /*************************************************************************
2 * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 ///////////////////////////////////////////////////////////////////////////
17 // Dielectron MC signal description container //
21 * A container to describe the decay of a two body process
29 ///////////////////////////////////////////////////////////////////////////
31 #include "AliDielectronSignalMC.h"
33 ClassImp(AliDielectronSignalMC)
35 //_________________________________________________________________________
36 AliDielectronSignalMC::AliDielectronSignalMC() :
37 TNamed("AliDielectronSignalMC", "AliDielectronSignalMC"),
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),
66 fFillPureMCStep(kFALSE) {
69 // Default constructor
74 //_________________________________________________________________________
75 AliDielectronSignalMC::AliDielectronSignalMC(const Char_t* name, const Char_t* title) :
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) {
114 //_________________________________________________________________________
115 AliDielectronSignalMC::~AliDielectronSignalMC() {