X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWG2%2FFEMTOSCOPY%2FAliFemtoUser%2FAliFemtoCutMonitorTrackTPCncls.cxx;fp=PWG2%2FFEMTOSCOPY%2FAliFemtoUser%2FAliFemtoCutMonitorTrackTPCncls.cxx;h=0000000000000000000000000000000000000000;hb=254c6c8af74220fc46c2e15c8cd2fef33ff7af7e;hp=a279058a675b5422f7431c18b273dc8c325aad8c;hpb=4bfeae64a7615b110a610f6ce4a2a182cbc64eb1;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoCutMonitorTrackTPCncls.cxx b/PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoCutMonitorTrackTPCncls.cxx deleted file mode 100755 index a279058a675..00000000000 --- a/PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoCutMonitorTrackTPCncls.cxx +++ /dev/null @@ -1,102 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -/// /// -/// AliFemtoCutMonitorTrackTPCncls - the cut monitor for tracks to study /// -/// the number of TPC clusters distribution. /// -/// /// -//////////////////////////////////////////////////////////////////////////////// -#include "AliFemtoCutMonitorTrackTPCncls.h" -#include "AliFemtoModelHiddenInfo.h" -#include "AliFemtoEvent.h" -#include -#include -#include - - -AliFemtoCutMonitorTrackTPCncls::AliFemtoCutMonitorTrackTPCncls(): - fTrTPCncls(0) -{ - // Default constructor - fTrTPCncls = new TH1D("TrTPCncls", "Track TPC Clusters", 5001, -0.5, 5000.5); -} - -AliFemtoCutMonitorTrackTPCncls::AliFemtoCutMonitorTrackTPCncls(const char *aName): - AliFemtoCutMonitor(), - fTrTPCncls(0) -{ - // Normal constructor - char name[200]; - snprintf(name, 200, "TrTPCncls%s", aName); - fTrTPCncls = new TH1D(name, "Track TPC Clusters", 5001, -0.5, 5000.5); -} - -AliFemtoCutMonitorTrackTPCncls::AliFemtoCutMonitorTrackTPCncls(const AliFemtoCutMonitorTrackTPCncls &aCut): - AliFemtoCutMonitor(), - fTrTPCncls(0) -{ - // copy constructor - if (fTrTPCncls) delete fTrTPCncls; - fTrTPCncls = new TH1D(*aCut.fTrTPCncls); -} - -AliFemtoCutMonitorTrackTPCncls::~AliFemtoCutMonitorTrackTPCncls() -{ - // Destructor - delete fTrTPCncls; -} - -AliFemtoCutMonitorTrackTPCncls& AliFemtoCutMonitorTrackTPCncls::operator=(const AliFemtoCutMonitorTrackTPCncls& aCut) -{ - // assignment operator - if (this == &aCut) - return *this; - - if (fTrTPCncls) delete fTrTPCncls; - fTrTPCncls = new TH1D(*aCut.fTrTPCncls); - - return *this; -} - -AliFemtoString AliFemtoCutMonitorTrackTPCncls::Report(){ - // Prepare report from the execution - string stemp = "*** AliFemtoCutMonitorTrackTPCncls report"; - AliFemtoString returnThis = stemp; - return returnThis; -} - -void AliFemtoCutMonitorTrackTPCncls::Fill(const AliFemtoTrack* aTrack) -{ - // Fill in the monitor histograms with the values from the current track - fTrTPCncls->Fill(aTrack->TPCncls()); -} - -void AliFemtoCutMonitorTrackTPCncls::Write() -{ - // Write out the relevant histograms - fTrTPCncls->Write(); -} - -TList *AliFemtoCutMonitorTrackTPCncls::GetOutputList() -{ - TList *tOutputList = new TList(); - tOutputList->Add(fTrTPCncls); - - return tOutputList; -} - - - - - - - - - - - - - - - - - -