Add BAsic CF signals to pp
authorcbaumann <cbaumann@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Jun 2012 15:42:52 +0000 (15:42 +0000)
committercbaumann <cbaumann@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Jun 2012 15:42:52 +0000 (15:42 +0000)
PWGDQ/dielectron/macrosLMEE/ConfigLMEEpp2010.C

index 88a65f9..0c3ee97 100644 (file)
@@ -301,6 +301,36 @@ void InitCF(AliDielectron* die, Int_t cutDefinition)
 
   cf->SetStepsForSignal();
   die->SetCFManagerPair(cf);
+
+  AliDielectronSignalMC* lowMassDiele=new
+       AliDielectronSignalMC("lowMassDiele","low mass dielectron pairs");
+  lowMassDiele->SetLegPDGs(11,-11);
+  lowMassDiele->SetCheckBothChargesLegs(kTRUE,kTRUE);
+  lowMassDiele->SetLegSources(AliDielectronSignalMC::kPrimary,
+         AliDielectronSignalMC::kPrimary);
+  lowMassDiele->SetFillPureMCStep(kTRUE);
+  die->AddSignalMC(lowMassDiele);
+
+  AliDielectronSignalMC* secondary=new
+       AliDielectronSignalMC("secondary","secondary electrons pairs");
+  secondary->SetLegPDGs(11,-11);
+  secondary->SetCheckBothChargesLegs(kTRUE,kTRUE);
+  secondary->SetLegSources(AliDielectronSignalMC::kSecondary,
+         AliDielectronSignalMC::kSecondary);
+  die->AddSignalMC(secondary);
+
+
+  AliDielectronSignalMC* finalState=new
+       AliDielectronSignalMC("finalState","finalState electrons pairs");
+  finalState->SetLegPDGs(11,-11);
+  finalState->SetCheckBothChargesLegs(kTRUE,kTRUE);
+  finalState->SetLegSources(AliDielectronSignalMC::kFinalState,
+         AliDielectronSignalMC::kFinalState);
+  die->AddSignalMC(finalState);
+
+
+
+
 }
 
 //--------------------------------------