]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
get rid of compilation warnings; minor fixes in documentation
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Feb 2008 14:30:23 +0000 (14:30 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Feb 2008 14:30:23 +0000 (14:30 +0000)
12 files changed:
HLT/BASE/AliHLTComponent.h
HLT/BASE/AliHLTModuleAgent.h
HLT/README
HLT/SampleLib/AliHLTSampleMonitoringComponent.h
HLT/TPCLib/AliHLTTPCAgent.h
HLT/comp/AliHLTCOMPHuffmanAltro.cxx
HLT/comp/AliHLTCOMPHuffmanAltroCalibComponent.cxx
HLT/comp/AliHLTCOMPHuffmanAltroComponent.cxx
HLT/comp/AliHLTCOMPHuffmanCodeData.h
HLT/comp/AliHLTCOMPHuffmanData.cxx
HLT/comp/AliHLTCompPreprocessor.cxx
HLT/rec/AliHLTReconstructorBase.cxx

index e646cb8a07141196b8ba20f29779472e6d5c7614..a17a859979302c33480c8742605fd9dc5d448744 100644 (file)
@@ -507,9 +507,9 @@ class AliHLTComponent : public AliHLTLogging {
    * Set the ID and Origin of an AliHLTComponentDataType structure.
    * Given the fact that the data type ID is 64bit wide and origin 32, this helper
    * function sets the data type from those two parameters.
-   * @param tgtdt   target data type structure
+   * @param dt      target data type structure
    * @param id      64bit id
-   * @param origin  32bit origin
+   * @param orig    32bit origin
    */
   static void SetDataType(AliHLTComponentDataType& dt, AliHLTUInt64_t id, AliHLTUInt32_t orig); 
 
index 8a2255ff208d429b94957158dd6247e2c0be6e68..85645c3ab8f072f906252e5be4e2b16c706ed917 100644 (file)
@@ -117,8 +117,8 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
   /**
    * Get module id.
    * The module id is a string specifying the detector, or module. The
-   * library must follow the naming scheme \it libAliHLTModule.so, e.g.
-   * \it libAliHLTTPC.so if the module is 'TPC'
+   * library must follow the naming scheme \em libAliHLTModule.so, e.g.
+   * \em libAliHLTTPC.so if the module is 'TPC'
    */
   const char* GetModuleId() const;
 
@@ -287,7 +287,7 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
    */
   virtual int GetHandlerDescription(AliHLTComponentDataType dt,
                                    AliHLTUInt32_t spec,
-                                   AliHLTOUTHandlerDesc& pDesc) const;
+                                   AliHLTOUTHandlerDesc& desc) const;
 
   /**
    * Get handler for a data block of the HLTOUT data.
index ad47c5122c97e3ccabf1bedaaa5138a437b02481..05121ed479d34827f5d0823af2877442f66e6aac 100644 (file)
@@ -237,6 +237,7 @@ For committing do:
  - 5. depending on where you changes are send the whole HLT module except the build
       sub-directories or your HLT sub- directory to
       Matthias.Richter@ift.uib.no
+      Please include a message/description for the check in
  - 6. you will get a notification when the code is committed, right after that
       you must either do another svn update or check out the complete module
       again in order to have the right SVN information. Please check that your
index 3528f1c8f0e3ee8fd2cf1d67c97389935b7d4e34..3a2a01a4c7de85dca6fac9d18c0c31ced6ae5e71 100644 (file)
@@ -36,13 +36,13 @@ class TH1F;
  *    in fact, the component ignores all incoming data blocks
  *
  * Output Data Types:
- * \it {ROOT_TH1,EXPL}                                              <br>
+ * \li {ROOT_TH1,EXPL}                                              <br>
  *     one histogram per data block, specification identifies the
  *     specific histogram.
- * \it {ROOTOBJA,EXPL}                                              <br>
+ * \li {ROOTOBJA,EXPL}                                              <br>
  *     the two histograms are added to a TOBjArray which is pushed
  *     to the output stream
- * \it {ROOTTREE,EXPL}                                              <br>
+ * \li {ROOTTREE,EXPL}                                              <br>
  *     the two histograms are added to a TTree which is pushed
  *     to the output stream
  *
index 0dbc18b97910cb17affea19539634db55e35375a..33ac753228db6939fbc3f4c18fa5fac9fa576fd4 100644 (file)
@@ -73,7 +73,7 @@ class AliHLTTPCAgent : public AliHLTModuleAgent {
    * Get handler decription for TPC data in the HLTOUT data stream.
    * @param dt        [in] data type of the block
    * @param spec      [in] specification of the block
-   * @param pDesc     [out] handler description
+   * @param desc      [out] handler description
    * @return 1 if the agent can provide a handler, 0 if not
    */
   int GetHandlerDescription(AliHLTComponentDataType dt,
index 77f8f73d5beaced9244a2ca19f7e07039dfea803..0c58c8426522116427e0261eaa7e04fcae7ff564 100644 (file)
@@ -1704,7 +1704,7 @@ Int_t AliHLTCOMPHuffmanAltro::EntropyDecompression()
          ++idxoutwd;
        }
 
-      for(int ii = 1; ii < fNrcuTrailerwords; ii++)
+      for(UInt_t ii = 1; ii < fNrcuTrailerwords; ii++)
        {
          // write second trailer to output data
          if(bitpsoutwd + 32 < 65) // trailer fits in current line, append on the right
index b656117bf0791ce1bc79e6241b3dafba6ca1454c..7662d0fc2c133d66577c2289919df42feab7120f 100644 (file)
@@ -34,8 +34,8 @@ ClassImp(AliHLTCOMPHuffmanAltroCalibComponent)
 AliHLTCOMPHuffmanAltroCalibComponent::AliHLTCOMPHuffmanAltroCalibComponent()
   :
   fHuffmanCompressor(NULL),
-  fHuffmanData(NULL),
   fOrigin(kAliHLTVoidDataOrigin),
+  fHuffmanData(NULL),
   fRunNumber(0),
   fSpecification(0),
   fTablePath(),
index afd93098d2e0e6dee7faed423332574e3631156c..731b7978663bf90869e4a5f4fed10963b27f5e89 100644 (file)
@@ -135,7 +135,7 @@ int AliHLTCOMPHuffmanAltroComponent::DoInit( int argc, const char** argv )
   
   
   Int_t i = 0;
-  Char_t* cpErr;
+  //Char_t* cpErr;
   
   while ( i < argc ) 
     {     
@@ -331,7 +331,7 @@ int AliHLTCOMPHuffmanAltroComponent::DoDeinit()
 
 int AliHLTCOMPHuffmanAltroComponent::DoEvent( const AliHLTComponentEventData& evtData, 
                                              const AliHLTComponentBlockData* blocks, 
-                                             AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, 
+                                             AliHLTComponentTriggerData& /*trigData*/, AliHLTUInt8_t* outputPtr, 
                                              AliHLTUInt32_t& size, 
                                              vector<AliHLTComponentBlockData>& outputBlocks )
 {
index 2bb249a3e700659febd2f43b7f9214961d3a3f18..cbefab91ecc42ae26001342abeb11fb608a1b208 100644 (file)
@@ -42,7 +42,7 @@ public:
   {
     Int_t famplitude; // ADC-value
     AliHLTUInt64_t fhuffmancode; // maximal possible codelength: 64 bits
-    Int_t fvalidcodelength; // validcodelength needed as code is of variable length!!
+    UInt_t fvalidcodelength; // validcodelength needed as code is of variable length!!
   } AliHLTCOMPHuffmanCodeStruct;
   
   /** standard constructor */
index d2e11b2867faf593a15c15ef55af39ef64da0f18..d7483a682ad06cee89ac3485187308d6eaec4486 100644 (file)
@@ -31,6 +31,9 @@ ClassImp(AliHLTCOMPHuffmanData)
 
 /** construction without any arguments (used for isolated tests) */
 AliHLTCOMPHuffmanData::AliHLTCOMPHuffmanData()
+  :
+  fOrigin(kAliHLTVoidDataOrigin),
+  fDataSpec(0)
 {
   // see header file for class documentation
   // or
index 186e2aa66259d486df3d60731d096694a13835cd..ff89e7fec0c245893a1d131a1c2e08371f070ca4 100644 (file)
@@ -52,14 +52,14 @@ AliHLTCompPreprocessor::~AliHLTCompPreprocessor()
   // see header file for function documentation
 }
 
-void AliHLTCompPreprocessor::Initialize(Int_t run, UInt_t startTime
-                                       UInt_t endTime)
+void AliHLTCompPreprocessor::Initialize(Int_t /*run*/, UInt_t /*startTime*/
+                                       UInt_t /*endTime*/)
 {
   // see header file for function documentation
 }
 
 
-UInt_t AliHLTCompPreprocessor::Process(TMap* dcsAliasMap)
+UInt_t AliHLTCompPreprocessor::Process(TMap* /*dcsAliasMap*/)
 {
   // see header file for function documentation
   UInt_t retVal = 0;
@@ -132,7 +132,8 @@ UInt_t AliHLTCompPreprocessor::GetHuffmanTables()
        }
            
       TObject* huffmandata = (TObject*) currenthuffmanfile->Get("fHuffmanData");
-      AliHLTCOMPHuffmanData* currenthuffmandata = (AliHLTCOMPHuffmanData*) huffmandata;
+      // class object not needed since container uses TObjects!
+      //AliHLTCOMPHuffmanData* currenthuffmandata = (AliHLTCOMPHuffmanData*) huffmandata;
 
       // specifications necessary for sorting process
       TString detectororigin = "";//currenthuffmandata->GetOrigin();
index 5fab10f27ee09fa345595ec1d1dc61cce872209e..e3518287a08859bde5f143e78091db506b5a2c58 100644 (file)
@@ -16,7 +16,7 @@
 //* provided "as is" without express or implied warranty.                  *
 //**************************************************************************
 
-/** @file   AliHLTReconstructionBase.cxx
+/** @file   AliHLTReconstructorBase.cxx
     @author Matthias Richter
     @date   
     @brief  Base class for HLT reconstruction classes.