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 "AlidNdPt.h"
\r
21 using namespace std;
\r
25 //_____________________________________________________________________________
\r
26 AlidNdPt::AlidNdPt(): TNamed()
\r
27 , fdNdPtEventCuts(0)
\r
28 , fdNdPtAcceptanceCuts(0)
\r
30 , fUseMCInfo(kFALSE)
\r
31 , fAnalysisMode(AlidNdPtHelper::kTPC)
\r
32 , fTrigger(AliTriggerAnalysis::kMB1)
\r
34 // default constructor
\r
37 //_____________________________________________________________________________
\r
38 AlidNdPt::AlidNdPt(Char_t* name, Char_t* title): TNamed(name,title)
\r
39 , fdNdPtEventCuts(0)
\r
40 , fdNdPtAcceptanceCuts(0)
\r
42 , fUseMCInfo(kFALSE)
\r
43 , fAnalysisMode(AlidNdPtHelper::kTPC)
\r
44 , fTrigger(AliTriggerAnalysis::kMB1)
\r
49 //_____________________________________________________________________________
\r
50 AlidNdPt::~AlidNdPt(){
\r
52 if(fdNdPtEventCuts) delete fdNdPtEventCuts; fdNdPtEventCuts=NULL;
\r
53 if(fdNdPtAcceptanceCuts) delete fdNdPtAcceptanceCuts; fdNdPtAcceptanceCuts=NULL;
\r
54 if(fEsdTrackCuts) delete fEsdTrackCuts; fEsdTrackCuts=NULL;
\r