]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/EMCAL/AliHLTEMCALRawHistoMaker.h
annoying ^M filtered out from source
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALRawHistoMaker.h
index 4bd783948228469a176cb406dd2e21cfe4930eef..d8efe951f837dae2dfbf16a7bbf89af88b0e8e93 100644 (file)
-/**************************************************************************\r
- * This file is property of and copyright by the ALICE HLT Project        *\r
- * All rights reserved.                                                   *\r
- * INFN Laboratori Nazionali di Frascati                                  *\r
- * Primary Authors: Federico Ronchetti                                    *\r
- *                                                                        *\r
- * Permission to use, copy, modify and distribute this software and its   *\r
- * documentation strictly for non-commercial purposes is hereby granted   *\r
- * without fee, provided that the above copyright notice appears in all   *\r
- * copies and that both the copyright notice and this permission notice   *\r
- * appear in the supporting documentation. The authors make no claims     *\r
- * about the suitability of this software for any purpose. It is          *\r
- * provided "as is" without express or implied warranty.                  *\r
- **************************************************************************/\r
-#ifndef ALIHLTEMCALRAWHISTOMAKER_H\r
-#define ALIHLTEMCALRAWHISTOMAKER_H\r
-\r
-/**\r
- * Class makes histograms from information from raw data\r
- *\r
- * @file   AliHLTEMCALRawHistoMaker.h\r
- * @author Federico Ronchetti\r
- * @date\r
- * @brief  Histo maker for EMCAL HLT\r
- */\r
-\r
-\r
-#include "AliHLTCaloConstantsHandler.h"\r
-#include "AliHLTCaloDigitDataStruct.h"\r
-#include "AliHLTCaloChannelDataStruct.h"\r
+/**************************************************************************
+ * This file is property of and copyright by the ALICE HLT Project        *
+ * All rights reserved.                                                   *
+ * INFN Laboratori Nazionali di Frascati                                  *
+ * Primary Authors: Federico Ronchetti                                    *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+#ifndef ALIHLTEMCALRAWHISTOMAKER_H
+#define ALIHLTEMCALRAWHISTOMAKER_H
+
+/**
+ * Class makes histograms from information from raw data
+ *
+ * @file   AliHLTEMCALRawHistoMaker.h
+ * @author Federico Ronchetti
+ * @date
+ * @brief  Histo maker for EMCAL HLT
+ */
+
+
+#include "AliHLTCaloConstantsHandler.h"
+#include "AliHLTCaloDigitDataStruct.h"
+#include "AliHLTCaloChannelDataStruct.h"
 #include "AliHLTDataTypes.h"
 #include "AliHLTDataTypes.h"
-#include "AliAltroRawStreamV3.h"\r
-#include "AliRawReaderMemory.h"\r
-#include "AliAltroRawStreamV3.h"\r
-#include "AliCaloRawStreamV3.h"\r
-#include "AliEMCALTriggerSTURawStream.h"\r
-\r
-// include root stuff\r
-#include "TFile.h"\r
-#include "TProfile2D.h"\r
-#include "TH1F.h"\r
-#include "TH2F.h"\r
-#include "TH2I.h"\r
-#include "TObjArray.h"\r
-#include "TString.h"\r
-\r
-\r
-\r
-class AliHLTEMCALConstants;\r
-class AliHLTCaloSharedMemoryInterfacev2;\r
-class AliHLTCaloChannelDataHeaderStruct;\r
-class AliHLTEMCALMapper;\r
-class AliRawReaderMemory;\r
-class AliAltroRawStreamV3;\r
-class AliEMCALTriggerSTURawStream;\r
-class AliCaloRawStreamV3;\r
-class AliCaloRawAnalyzer;\r
+#include "AliAltroRawStreamV3.h"
+#include "AliRawReaderMemory.h"
+#include "AliAltroRawStreamV3.h"
+#include "AliCaloRawStreamV3.h"
+#include "AliEMCALTriggerSTURawStream.h"
+
+// include root stuff
+#include "TFile.h"
+#include "TProfile2D.h"
+#include "TH1F.h"
+#include "TH2F.h"
+#include "TH2I.h"
+#include "TObjArray.h"
+#include "TString.h"
+
+
+
+class AliHLTEMCALConstants;
+class AliHLTCaloSharedMemoryInterfacev2;
+class AliHLTCaloChannelDataHeaderStruct;
+class AliHLTEMCALMapper;
+class AliRawReaderMemory;
+class AliAltroRawStreamV3;
+class AliEMCALTriggerSTURawStream;
+class AliCaloRawStreamV3;
+class AliCaloRawAnalyzer;
 class TString;
 class TString;
-class TH2F;\r
-class TH2I;\r
-\r
-\r
-class AliHLTEMCALRawHistoMaker : AliHLTCaloConstantsHandler\r
-{\r
-\r
-public:\r
-  /** Constructor */\r
-  AliHLTEMCALRawHistoMaker();\r
-\r
-  /** Destructor */\r
-  virtual ~AliHLTEMCALRawHistoMaker();\r
-\r
-  /** Assignment */\r
-  AliHLTEMCALRawHistoMaker & operator = (const AliHLTEMCALRawHistoMaker)\r
-  {\r
-    return *this; \r
-  }\r
-\r
-  /**\r
-   * Make the digits for one event.\r
-   * @param channelDataHeader is the data header from the AliHLTCaloRawAnalyzer\r
-   * @return the number of digits found\r
-   */\r
-\r
-  Int_t MakeHisto(AliHLTCaloChannelDataHeaderStruct* channelDataHeader,\r
-                 const AliHLTComponentBlockData* iter, AliHLTUInt8_t* outputPtr,\r
-                 const AliHLTUInt32_t size, int beverbose);\r
-\r
-  TObjArray * GetHistograms();\r
-\r
-private:\r
-\r
-  TProfile2D **fChannelEMap;\r
-  TProfile2D **fChannelTMap;\r
-  TH2F **fChannelETMap;\r
-\r
-  TH2I* h2DTRU;\r
-  TH2I* h2DSTU;\r
-\r
-  TObjArray *hList;\r
-\r
-  /** Pointer to shared memory interface */\r
-  AliHLTCaloSharedMemoryInterfacev2* fShmPtr;                    //! transient\r
-\r
-  /** Pointer to the raw data reader which reads from memory */\r
-   AliRawReaderMemory* fRawCounterMemoryPtr;            //!transient\r
-\r
-   /** Pointer to the raw stream */\r
-   AliAltroRawStreamV3* fAltroRawStreamPtr;               //!transient\r
-\r
-   /** Pointer to the calo raw stream */\r
-   AliCaloRawStreamV3* fRawStreamPtr;              //!transient\r
-\r
-   /** Pointer to the STU raw stream */\r
-   AliEMCALTriggerSTURawStream* fSTURawStreamPtr;\r
-\r
-  /** Mapper */\r
-  AliHLTEMCALMapper* fMapperPtr;                                  //COMMENT\r
-\r
-\r
-  /** Pointer to an analyzer object used for raw data anlysis */\r
-  AliCaloRawAnalyzer *fAnalyzerPtr;   //COMMENT\r
-\r
-  /** Constants class */\r
-  AliHLTEMCALConstants* fEMCALConstants;\r
-\r
-  AliHLTEMCALRawHistoMaker(const AliHLTEMCALRawHistoMaker &);\r
-    //AliHLTEMCALRawHistoMaker & operator = (const AliHLTEMCALRawHistoMaker &);\r
-  \r
-  ClassDef(AliHLTEMCALRawHistoMaker, 0); \r
-\r
-};\r
-\r
-\r
-#endif\r
\r
+class TH2F;
+class TH2I;
+
+
+class AliHLTEMCALRawHistoMaker : AliHLTCaloConstantsHandler
+{
+
+public:
+  /** Constructor */
+  AliHLTEMCALRawHistoMaker();
+
+  /** Destructor */
+  virtual ~AliHLTEMCALRawHistoMaker();
+
+  /** Assignment */
+  AliHLTEMCALRawHistoMaker & operator = (const AliHLTEMCALRawHistoMaker)
+  {
+    return *this; 
+  }
+
+  /**
+   * Make the digits for one event.
+   * @param channelDataHeader is the data header from the AliHLTCaloRawAnalyzer
+   * @return the number of digits found
+   */
+
+  Int_t MakeHisto(AliHLTCaloChannelDataHeaderStruct* channelDataHeader,
+                 const AliHLTComponentBlockData* iter, AliHLTUInt8_t* outputPtr,
+                 const AliHLTUInt32_t size, int beverbose);
+
+  TObjArray * GetHistograms();
+
+private:
+
+  TProfile2D **fChannelEMap;
+  TProfile2D **fChannelTMap;
+  TH2F **fChannelETMap;
+
+  TH2I* h2DTRU;
+  TH2I* h2DSTU;
+
+  TObjArray *hList;
+
+  /** Pointer to shared memory interface */
+  AliHLTCaloSharedMemoryInterfacev2* fShmPtr;                    //! transient
+
+  /** Pointer to the raw data reader which reads from memory */
+   AliRawReaderMemory* fRawCounterMemoryPtr;            //!transient
+
+   /** Pointer to the raw stream */
+   AliAltroRawStreamV3* fAltroRawStreamPtr;               //!transient
+
+   /** Pointer to the calo raw stream */
+   AliCaloRawStreamV3* fRawStreamPtr;              //!transient
+
+   /** Pointer to the STU raw stream */
+   AliEMCALTriggerSTURawStream* fSTURawStreamPtr;
+
+  /** Mapper */
+  AliHLTEMCALMapper* fMapperPtr;                                  //COMMENT
+
+
+  /** Pointer to an analyzer object used for raw data anlysis */
+  AliCaloRawAnalyzer *fAnalyzerPtr;   //COMMENT
+
+  /** Constants class */
+  AliHLTEMCALConstants* fEMCALConstants;
+
+  AliHLTEMCALRawHistoMaker(const AliHLTEMCALRawHistoMaker &);
+    //AliHLTEMCALRawHistoMaker & operator = (const AliHLTEMCALRawHistoMaker &);
+  
+  ClassDef(AliHLTEMCALRawHistoMaker, 0); 
+
+};
+
+
+#endif