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
35 // default constructor
\r
38 //_____________________________________________________________________________
\r
39 AlidNdPt::AlidNdPt(Char_t* name, Char_t* title): TNamed(name,title)
\r
40 , fdNdPtEventCuts(0)
\r
41 , fdNdPtAcceptanceCuts(0)
\r
43 , fUseMCInfo(kFALSE)
\r
44 , fAnalysisMode(AlidNdPtHelper::kTPC)
\r
45 , fTrigger(AliTriggerAnalysis::kMB1)
\r
51 //_____________________________________________________________________________
\r
52 AlidNdPt::~AlidNdPt(){
\r
54 if(fdNdPtEventCuts) delete fdNdPtEventCuts; fdNdPtEventCuts=NULL;
\r
55 if(fdNdPtAcceptanceCuts) delete fdNdPtAcceptanceCuts; fdNdPtAcceptanceCuts=NULL;
\r
56 if(fEsdTrackCuts) delete fEsdTrackCuts; fEsdTrackCuts=NULL;
\r