New histograms (C.Cheshkov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Oct 2003 15:18:47 +0000 (15:18 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Oct 2003 15:18:47 +0000 (15:18 +0000)
MONITOR/AliMonitorTPC.cxx
MONITOR/AliMonitorTPC.h

index 94b8181b52f0efb8711445bf5f2441edff743b75..89251da43a0209e6ed71183e570f786d90cef0cc 100644 (file)
@@ -137,6 +137,10 @@ void AliMonitorTPC::CreateHistos(TFolder* folder)
                           AliMonitorHisto::kNormEntries);
   fTrackPhi->SetDescription("The phi distribution should be flat on average.\nIf it is not flat check for dead TPC sectors.");
 
+  fTrackNCl = CreateHisto1("TrackNCl", "Number of clusters per track", 
+                          200, 0, 200, "N_{clusters}", "#Delta N/N",
+                          AliMonitorHisto::kNormEntries);
+
   fTrackDEdxVsP = CreateHisto2("TrackDEdxVsP", "dE/dx of tracks", 
                               100, 0, 3, 100, 0, 200, 
                               "p [GeV/c]", "dE/dx", "#Delta N/N",
@@ -213,6 +217,7 @@ void AliMonitorTPC::FillHistos(AliRunLoader* runLoader,
     fTrackPt->Fill(track->Pt());
     fTrackEta->Fill(track->Eta());
     fTrackPhi->Fill(track->Phi() * TMath::RadToDeg());
+    fTrackNCl->Fill(track->GetNumberOfClusters());
     fTrackDEdxVsP->Fill(track->P(), track->GetdEdx());
 
     fData->fPt[i] = track->Pt();
index ab487505136911f235fd2740b7638b525127d82f..88a0e5ea18983e3a25d2e1d50c48ae7fc4988924 100644 (file)
@@ -51,6 +51,7 @@ private:
   AliMonitorHisto* fTrackPt;            // pt distribution of TPC tracks
   AliMonitorHisto* fTrackEta;           // eta distribution of TPC tracks
   AliMonitorHisto* fTrackPhi;           // phi distribution of TPC tracks
+  AliMonitorHisto* fTrackNCl;           // number of clusters per track
   AliMonitorHisto* fTrackDEdxVsP;       // dE/dx vs momentum distribution of TPC tracks
 
   AliMonitorDataTPC* fData;             // data for the monitor tree