]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/EMCAL/AliHLTEMCALRawAnalyzerComponent.cxx
Bug fixes.
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALRawAnalyzerComponent.cxx
index 598f649eddb55af57dad8527ddcfa1544bd06940..fd5460852a53779cac32c53f8d005f7831bf669f 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+// Base class fro anlyzing EMCAL raww data
+// Further documentation found in base class
+// --------------
+// --------------
+// --------------
+// --------------
+
+
 
 #include "AliHLTEMCALRawAnalyzerComponent.h"
 #include "AliHLTEMCALMapper.h"
 #include "AliHLTEMCALDefinitions.h"
 
 
-AliHLTEMCALRawAnalyzerComponent::AliHLTEMCALRawAnalyzerComponent() : 
-AliHLTCaloRawAnalyzerComponentv3("EMCAL")
-{
-  
 
+AliHLTEMCALRawAnalyzerComponent::AliHLTEMCALRawAnalyzerComponent() : AliHLTCaloRawAnalyzerComponentv3("EMCAL")
+{
+  //fDebug = true;
+  fDebug = false;
 }
 
 
@@ -36,7 +44,6 @@ AliHLTEMCALRawAnalyzerComponent::~AliHLTEMCALRawAnalyzerComponent()
 }
 
 
-
 void 
 AliHLTEMCALRawAnalyzerComponent::GetInputDataTypes( vector <AliHLTComponentDataType>& list)
 {
@@ -45,24 +52,18 @@ AliHLTEMCALRawAnalyzerComponent::GetInputDataTypes( vector <AliHLTComponentDataT
 }
 
 
-bool 
-AliHLTEMCALRawAnalyzerComponent::CheckInputDataType(const AliHLTComponentDataType &datatype)
+AliHLTComponentDataType
+AliHLTEMCALRawAnalyzerComponent::GetOutputDataType()
 {
-  if ( datatype  == AliHLTEMCALDefinitions::fgkDDLRawDataType  )
-     {
-       return true;
-     }
-   else
-     {
-       return false;
-     }
+  //comment
+  return AliHLTEMCALDefinitions::fgkChannelDataType;
 }
 
 
 void 
 AliHLTEMCALRawAnalyzerComponent::InitMapping( const int specification )
 {
-
+  // Comment
   if ( fMapperPtr == 0 )
     {
       fMapperPtr =  new   AliHLTEMCALMapper( specification );
@@ -74,3 +75,5 @@ AliHLTEMCALRawAnalyzerComponent::InitMapping( const int specification )
       exit(-2);
     }
 }
+
+