]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliJetControlPlots.cxx
Added an example function, similar to what will be used for EMC.
[u/mrichter/AliRoot.git] / JETAN / AliJetControlPlots.cxx
index a9c1030d327237d038d2b2a3ddb62bc2b7fc6602..42787b046fbad08f6bb3d212a5ee0201c1c9250e 100755 (executable)
@@ -13,6 +13,8 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
   
+/* $Id$ */
+
 //---------------------------------------------------------------------
 // Jet Control Plots class 
 // manages histograms with control plots of jet searching
 // Author: jgcn@mda.cinvestav.mx
 //---------------------------------------------------------------------
 
-#include <TStyle.h>
 #include <TCanvas.h>
-#include <TH1I.h>
 #include <TH1D.h>
+#include <TH1I.h>
+#include <TMath.h>
+#include <TStyle.h>
+
 #include "AliJetReader.h"
 #include "AliJet.h"
 
@@ -32,10 +36,24 @@ ClassImp(AliJetControlPlots)
   
 ////////////////////////////////////////////////////////////////////////
 
-AliJetControlPlots::AliJetControlPlots()
+AliJetControlPlots::AliJetControlPlots():
+  fNJetsH(0),
+  fMultH(0),
+  fPtH(0),
+  fEtaH(0),
+  fEneH(0),
+  fFragH(0),
+  fFragLnH(0),
+  fFragrH(0),
+  fFragLnrH(0),
+  fShapeH(0),
+  fShaperH(0),
+  fPhiH(0),
+  fInJetH(0),
+  fNJetT(0)
+
 {
-  // Constructor
-  fNJetT=0;
+  // Default constructor
 
   // general properties
   fNJetsH = new TH1I("fNJetsH","Number of Jets",12,0,11);
@@ -230,7 +248,7 @@ void AliJetControlPlots::SetProperties(TH1* h,const char* x, const char* y) cons
   h->SetMarkerColor(2);
   h->SetXTitle(x);
   h->SetYTitle(y);
-  h->Sumw2();
+  // h->Sumw2();
 }