1 /**************************************************************************
\r
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
\r
4 * Author: The ALICE Off-line Project. *
\r
5 * Contributors are mentioned in the code where appropriate. *
\r
7 * Permission to use, copy, modify and distribute this software and its *
\r
8 * documentation strictly for non-commercial purposes is hereby granted *
\r
9 * without fee, provided that the above copyright notice appears in all *
\r
10 * copies and that both the copyright notice and this permission notice *
\r
11 * appear in the supporting documentation. The authors make no claims *
\r
12 * about the suitability of this software for any purpose. It is *
\r
13 * provided "as is" without express or implied warranty. *
\r
14 **************************************************************************/
\r
16 #include "AliESDtrackCuts.h"
\r
17 #include "AlidNdPtEventCuts.h"
\r
18 #include "AlidNdPtAcceptanceCuts.h"
\r
19 #include "AliPhysicsSelection.h"
\r
20 #include "AlidNdPt.h"
\r
22 using namespace std;
\r
26 //_____________________________________________________________________________
\r
27 AlidNdPt::AlidNdPt(): TNamed()
\r
28 , fdNdPtEventCuts(0)
\r
29 , fdNdPtAcceptanceCuts(0)
\r
31 , fUseMCInfo(kFALSE)
\r
32 , fAnalysisMode(AlidNdPtHelper::kTPC)
\r
33 , fTrigger(AliTriggerAnalysis::kMB1)
\r
35 , fParticleMode(AlidNdPtHelper::kAllPart)
\r
36 , fPhysicsSelection(0)
\r
38 // default constructor
\r
41 //_____________________________________________________________________________
\r
42 AlidNdPt::AlidNdPt(Char_t* name, Char_t* title): TNamed(name,title)
\r
43 , fdNdPtEventCuts(0)
\r
44 , fdNdPtAcceptanceCuts(0)
\r
46 , fUseMCInfo(kFALSE)
\r
47 , fAnalysisMode(AlidNdPtHelper::kTPC)
\r
48 , fTrigger(AliTriggerAnalysis::kMB1)
\r
50 , fParticleMode(AlidNdPtHelper::kAllPart)
\r
51 , fPhysicsSelection(0)
\r
56 //_____________________________________________________________________________
\r
57 AlidNdPt::~AlidNdPt() {
\r
59 if(fdNdPtEventCuts) delete fdNdPtEventCuts; fdNdPtEventCuts=NULL;
\r
60 if(fdNdPtAcceptanceCuts) delete fdNdPtAcceptanceCuts; fdNdPtAcceptanceCuts=NULL;
\r
61 if(fEsdTrackCuts) delete fEsdTrackCuts; fEsdTrackCuts=NULL;
\r
62 if(fPhysicsSelection) delete fPhysicsSelection; fPhysicsSelection=NULL;
\r