]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCHistogramHandlerComponent.h
- adjusting binning of pad histograms to make single pad cluster contribution and...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCHistogramHandlerComponent.h
index 492596f4985a7bbd5bf4db054f2ad5a96b2d0e13..a2d363f5d1817460a89f7d96763fa8d87fd30bf3 100644 (file)
@@ -9,7 +9,7 @@
     //* See cxx source for full Copyright notice                               *
 
     /** @file   AliHLTTPCHistogramHandlerComponent.h
-       @author Kalliopi Kanaki
+       @author Kalliopi Kanaki, Kenneth Aamodt
        @date   
        @brief  Component for acting upon histograms
     */
@@ -34,10 +34,18 @@ class TH2;
  *  
  * The component has the following component arguments:
  *
- * -sum-noise-histograms Loops over the output of TPCNoiseMap and adds the histograms
+ * -sum-noise-histograms Loops over the output of TPCNoiseMap and sums the partition histograms
+ *  They are sorted per TPC side.
+ *
+ * -sum-krypton-histograms Loops over the output of the krypton CF and sums the histograms
+ * (it will become obsolete, when the next option does all the work)
+ *
+ * -use-general It will become the standard general option for summing histograms
+ *
+ * -ignore-specification It ignores the last part of the histogram name, if it has 
+ * the form "_Slice_%.2d%.2d_Partition_%.2d%.2d, minSlice, maxSlice, minPartition, maxPartition".
+ * It keeps the first part of the hist name and uses it to name the summed histogram.
  *
- * It loops over histogram input and sums up the TPC histograms per side (at the moment).
- * 
  * @ingroup alihlt_tpc
  */
 class AliHLTTPCHistogramHandlerComponent : public AliHLTProcessor {
@@ -61,17 +69,17 @@ public:
   // Public functions to implement AliHLTComponent's interface.
   // These functions are required for the registration process
       
-  /** interface function, see @ref AliHLTComponent for description */
+  /** interface function, see AliHLTComponent for description */
   const char* GetComponentID();                                                             
-  /** interface function, see @ref AliHLTComponent for description */
+  /** interface function, see AliHLTComponent for description */
   void GetInputDataTypes( vector<AliHLTComponentDataType>& list);                           
-  /** interface function, see @ref AliHLTComponent for description */
+  /** interface function, see AliHLTComponent for description */
   AliHLTComponentDataType GetOutputDataType();                                      
-  /** interface function, see @ref AliHLTComponent for description */
+  /** interface function, see AliHLTComponent for description */
   int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList);                           
-  /** interface function, see @ref AliHLTComponent for description */
+  /** interface function, see AliHLTComponent for description */
   virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); 
-  /** interface function, see @ref AliHLTComponent for description */
+  /** interface function, see AliHLTComponent for description */
   AliHLTComponent* Spawn();                                                       
   /** function for acting on the saving and cleaning histograms, after they are filled */
   void MakeHistosPublic();
@@ -100,13 +108,11 @@ private:
 
   /** the reader object for data decoding */
   AliHLTUInt32_t fSpecification;  //!transient
-      
-
-  
-      
-  Bool_t fNoiseHistograms;   //!transient
-  Bool_t fKryptonHistograms; //!transient
-  Bool_t fUseGeneral;        //!transient
+            
+  Bool_t fNoiseHistograms;     //!transient
+  Bool_t fKryptonHistograms;   //!transient
+  Bool_t fUseGeneral;          //!transient
+  Bool_t fIgnoreSpecification; //!transient 
       
   Int_t fSlice;  //!transient
       
@@ -117,17 +123,18 @@ private:
   TH1 *fPlotQmaxROCAll;            //!transient
   TH1 *fNumberOfClusters;          //!transient
             
-  TH2 *fHistTH2Tmp;    //!transient
-  TH2 *fHistTPCSideAmax;  //!transient 
+  TH2 *fHistTH2Tmp;       //!transient
+  TH2 *fHistTPCSideAmax;  //!transient 
   TH2 *fHistTPCSideCmax;  //!transient  
-  TH2 *fHistTPCSideAtot;  //!transient 
+  TH2 *fHistTPCSideAtot;  //!transient 
   TH2 *fHistTPCSideCtot;  //!transient  
-  TH2 *fHistTPCSideArms;  //!transient 
+  TH2 *fHistTPCSideArms;  //!transient 
   TH2 *fHistTPCSideCrms;  //!transient  
 
   vector<AliHLTHistogramData> fHistogramData;
+
   
-  ClassDef(AliHLTTPCHistogramHandlerComponent, 3)
+  ClassDef(AliHLTTPCHistogramHandlerComponent, 0)
 };
 
 #endif