]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG0/dNdPt/AlidNdPt.cxx
Adding the posibility to set the participating detectors when running in AliHLTSystem.
[u/mrichter/AliRoot.git] / PWG0 / dNdPt / AlidNdPt.cxx
index 106839249c4f951ef93ff73e6de11ed5f9b0630a..e0feef22a3d2f938c65647a121d529a539d0ebe9 100644 (file)
@@ -16,6 +16,8 @@
 #include "AliESDtrackCuts.h"  \r
 #include "AlidNdPtEventCuts.h"\r
 #include "AlidNdPtAcceptanceCuts.h"\r
+#include "AliPhysicsSelection.h"\r
+#include "AlidNdPtBackgroundCuts.h"\r
 #include "AlidNdPt.h"\r
 \r
 using namespace std;\r
@@ -29,7 +31,11 @@ AlidNdPt::AlidNdPt(): TNamed()
 , fEsdTrackCuts(0)\r
 , fUseMCInfo(kFALSE)\r
 , fAnalysisMode(AlidNdPtHelper::kTPC) \r
-, fTrigger(AliPWG0Helper::kMB1) \r
+, fTrigger(AliTriggerAnalysis::kMB1) \r
+, fTriggerClass(0) \r
+, fParticleMode(AlidNdPtHelper::kAllPart) \r
+, fPhysicsSelection(0)\r
+, fdNdPtBackgroundCuts(0)\r
 {\r
   // default constructor\r
 }\r
@@ -41,15 +47,21 @@ AlidNdPt::AlidNdPt(Char_t* name, Char_t* title): TNamed(name,title)
 , fEsdTrackCuts(0)\r
 , fUseMCInfo(kFALSE)\r
 , fAnalysisMode(AlidNdPtHelper::kTPC) \r
-, fTrigger(AliPWG0Helper::kMB1) \r
+, fTrigger(AliTriggerAnalysis::kMB1) \r
+, fTriggerClass(0) \r
+, fParticleMode(AlidNdPtHelper::kAllPart) \r
+, fPhysicsSelection(0)\r
+, fdNdPtBackgroundCuts(0)\r
 {\r
   // constructor\r
 }\r
 \r
 //_____________________________________________________________________________\r
-AlidNdPt::~AlidNdPt(){\r
+AlidNdPt::~AlidNdPt() {\r
   // destructor\r
   if(fdNdPtEventCuts) delete fdNdPtEventCuts; fdNdPtEventCuts=NULL; \r
   if(fdNdPtAcceptanceCuts) delete fdNdPtAcceptanceCuts; fdNdPtAcceptanceCuts=NULL;\r
   if(fEsdTrackCuts) delete fEsdTrackCuts; fEsdTrackCuts=NULL;\r
+  if(fPhysicsSelection) delete fPhysicsSelection; fPhysicsSelection=NULL;\r
+  if(fdNdPtBackgroundCuts) delete fdNdPtBackgroundCuts; fdNdPtBackgroundCuts=NULL;\r
 }\r