]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
change the EventSelection switch to Pile-Up event rejection switch
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Thu, 20 Feb 2014 08:48:07 +0000 (09:48 +0100)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Thu, 20 Feb 2014 08:48:34 +0000 (09:48 +0100)
PWGGA/CaloTrackCorrelations/macros/AddTaskCaloTrackCorr.C
PWGGA/CaloTrackCorrelations/macros/AddTaskGenKine.C
PWGGA/CaloTrackCorrelations/macros/AddTaskPi0.C
PWGGA/CaloTrackCorrelations/macros/AddTaskPi0EMCALPbPb.C
PWGGA/CaloTrackCorrelations/macros/AddTaskShowerShapeStudies.C
PWGGA/CaloTrackCorrelations/macros/QA/AddTaskPi0IMGammaCorrQA.C

index 3220e5d2f26872da3b4f96e2d1cf3b566e122114..9c41a35df1cc6fd04b5ae78bea262f3adc0fd173 100644 (file)
@@ -476,18 +476,18 @@ AliCaloTrackReader * ConfigureReader()
   else
     reader->SwitchOnEventTriggerAtSE();  
   
-  reader->SetZvertexCut(10.);                // Open cut
+  reader->SetZvertexCut(10.);               // Open cut
   reader->SwitchOnPrimaryVertexSelection(); // and besides primary vertex
 
   if(kEventSelection)
   {
-    reader->SwitchOnEventSelection();         // remove pileup by default
-    reader->SwitchOnV0ANDSelection() ;        // and besides v0 AND
+    reader->SwitchOnEventPileUpRejection(); // remove pileup by default
+    reader->SwitchOnV0ANDSelection() ;      // and besides v0 AND
   }
   else 
   {
-    reader->SwitchOffEventSelection();         // remove pileup by default
-    reader->SwitchOffV0ANDSelection() ;        // and besides v0 AND
+    reader->SwitchOffPileUpEventRejection();// remove pileup by default
+    reader->SwitchOffV0ANDSelection() ;     // and besides v0 AND
   }
     
   if(kCollisions=="PbPb") 
index 480cafd1abf2fadefc48c8ae57fa643b8ba16cf0..c9ed5fad3a2f0343bee8618a0a8ca8c9a2cab325 100644 (file)
@@ -110,11 +110,11 @@ AliCaloTrackReader * ConfigureReader()
   reader->SwitchOffPHOSCells();  
   reader->SwitchOffPHOS();
   
-  reader->SetZvertexCut(10.);                // Open cut
+  reader->SetZvertexCut(10.);               // Open cut
   reader->SwitchOnPrimaryVertexSelection(); // and besides primary vertex
 
-  reader->SwitchOffEventSelection();         // remove pileup by default
-  reader->SwitchOffV0ANDSelection() ;        // and besides v0 AND
+  reader->SwitchOffPileUpEventRejection();  // remove pileup by default
+  reader->SwitchOffV0ANDSelection() ;       // and besides v0 AND
         
   if(kPrint)reader->Print("");
   
index bb4a9c2e8e796f6db94800adeb5333768356f50f..b933a42b606c0ec47f69869349f64e4ff6e7141f 100644 (file)
@@ -341,13 +341,13 @@ AliCaloTrackReader * ConfigureReader()
   
   if(kEventSelection)
   {
-    reader->SwitchOnEventSelection();         // remove pileup by default
+    reader->SwitchOnPileUpEventRejection();   // remove pileup by default
     reader->SwitchOnV0ANDSelection() ;        // and besides v0 AND
   }
   else 
   {
-    reader->SwitchOffEventSelection();         // remove pileup by default
-    reader->SwitchOffV0ANDSelection() ;        // and besides v0 AND
+    reader->SwitchOffPileUpEventRejection();  // remove pileup by default
+    reader->SwitchOffV0ANDSelection() ;       // and besides v0 AND
   }
     
   if(kCollisions=="PbPb") 
index 04aaf92a89cbd728431da0041e5567f271623c6b..46b2614519e7ebc0dd1ec2d2f465e433a98aa69a 100644 (file)
@@ -181,13 +181,13 @@ AliCaloTrackReader * ConfigureReader(TString kData,TString kInputDataType, TStri
   //if(!kUseKinematics) reader->SetFiredTriggerClassName("CEMC7EGA-B-NOPF-CENTNOTRD"); // L1 Gamma
   
   if     (kCollisions=="pp"  ) {
-    reader->SwitchOffEventSelection(); 
+    reader->SwitchOffPileUpEventRejection();   // remove pileup by default
     reader->SwitchOffV0ANDSelection() ;        // and besides v0 AND
     reader->SwitchOffPrimaryVertexSelection(); // and besides primary vertex
     reader->SetZvertexCut(50.);                // Open cut
   }
   else if(kCollisions=="PbPb") {
-    reader->SwitchOffEventSelection();         // remove pileup by default
+    reader->SwitchOffPileUpEventRejection();   // remove pileup by default
     reader->SwitchOffV0ANDSelection() ;        // and besides v0 AND
     reader->SwitchOffPrimaryVertexSelection(); // and besides primary vertex
     reader->SetZvertexCut(10.);                // Centrality defined in this range.
index 18a66003bd7988464ab660c5fafb6d05eb2f1dc8..16e0efb1a26fbf9899e620a722b047cd43c4a21b 100644 (file)
@@ -344,13 +344,13 @@ AliCaloTrackReader * ConfigureReader()
   
   if(kEventSelection)
   {
-    reader->SwitchOnEventSelection();         // remove pileup by default
+    reader->SwitchOnPileUpEventRejection();   // remove pileup by default
     reader->SwitchOnV0ANDSelection() ;        // and besides v0 AND
     reader->SwitchOnPrimaryVertexSelection(); // and besides primary vertex
   }
   else 
   {
-    reader->SwitchOffEventSelection();         // remove pileup by default
+    reader->SwitchOffPileUpRejection();        // remove pileup by default
     reader->SwitchOffV0ANDSelection() ;        // and besides v0 AND
     reader->SwitchOffPrimaryVertexSelection(); // and besides primary vertex    
   }
index c3e7e9fbe2b0c7856c05b449a39073b1ce052f90..81822d5183514a2983f81484962bee58351eef89 100644 (file)
@@ -223,7 +223,7 @@ AliCaloTrackReader * ConfigureReader(TString inputDataType,
   
   reader->SetZvertexCut(10.);
   reader->SwitchOnPrimaryVertexSelection(); // and besides primary vertex
-  reader->SwitchOffEventSelection();        // remove pileup by default
+  reader->SwitchOffPileUpEventRejection();  // remove pileup
   reader->SwitchOffV0ANDSelection() ;       // and besides v0 AND
   
   reader->SetCentralityBin(minCen,maxCen); // Accept all events, if not select range