]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fixes 16578 16568 566 565
authormfloris <mfloris@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Apr 2011 09:14:36 +0000 (09:14 +0000)
committermfloris <mfloris@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Apr 2011 09:14:36 +0000 (09:14 +0000)
OADB/AliOADBFillingScheme.cxx
OADB/AliOADBPhysicsSelection.cxx
OADB/AliOADBPhysicsSelection.h

index bade3c0e3c552052bf52e30e6fe5a7dcbd1153c4..dc92edb242829db0b099f748b148665698c1ded3 100644 (file)
@@ -39,15 +39,15 @@ AliOADBFillingScheme::~AliOADBFillingScheme(){
 
 }
 
-AliOADBFillingScheme::AliOADBFillingScheme(const AliOADBFillingScheme& cont) {
-  // Copy ctor
-  AliError("To be implemented");
-}
-
-AliOADBFillingScheme& AliOADBFillingScheme::operator=(const AliOADBFillingScheme& cont) {
-  //Assignment operator
-  AliError("To be implemented");
-}
+// AliOADBFillingScheme::AliOADBFillingScheme(const AliOADBFillingScheme& cont) {
+//   // Copy ctor
+//   AliError("To be implemented");
+// }
+
+// AliOADBFillingScheme& AliOADBFillingScheme::operator=(const AliOADBFillingScheme& cont) {
+//   //Assignment operator
+//   AliError("To be implemented");
+// }
   
 // Getters
 
index c5ef84eb2b55dc1244d6a77ed0819e38f1ee8ad9..8cff8c783bb2e0fae4eafdf68097c5195cfacad6 100644 (file)
@@ -234,7 +234,7 @@ void AliOADBPhysicsSelection::Browse(TBrowser *b)
       TObject::Browse(b);
 }
 
-const UInt_t AliOADBPhysicsSelection::GetActiveBit(UInt_t mask) {
+UInt_t AliOADBPhysicsSelection::GetActiveBit(UInt_t mask) {
   // Returns the active bit index in the mask
   // Assumes only one bit is on.
   // If more than one bit is lit, prints an error and returns the first.
index 349b731a891a8014838a592483ce16710b78593a..bef2cc50554f48e97235e7e3844a538756892ff6 100644 (file)
@@ -53,7 +53,7 @@ class AliOADBPhysicsSelection : public TNamed {
   // Thess take a single trigger bit, as the HW/offline conditions are mapped 1 <-> 1 to a single EOfflineTriggerTypes bit
   const TString  GetHardwareTrigger(UInt_t triggerLogic) const { return triggerLogic >= NTRIGGERLOGICS ? "" : fHardwareTrigger[triggerLogic].String(); }
   const TString  GetOfflineTrigger (UInt_t triggerLogic) const { return triggerLogic >= NTRIGGERLOGICS ? "" : fOfflineTrigger [triggerLogic].String(); }
-  const UInt_t GetNTriggerBits()  const { return fNtriggerBits; }
+  UInt_t GetNTriggerBits()  const { return fNtriggerBits; }
   // Setters 
   void AddCollisionTriggerClass(AliVEvent::EOfflineTriggerTypes triggerMask, const char* className,const char * beamSide, UInt_t triggerLogic);
   void AddBGTriggerClass       (AliVEvent::EOfflineTriggerTypes triggerMask, const char* className,const char * beamSide, UInt_t triggerLogic);
@@ -67,7 +67,7 @@ class AliOADBPhysicsSelection : public TNamed {
   void Browse(TBrowser *b);
   virtual void Print(Option_t* option = "") const;
 
-  static const UInt_t GetActiveBit(UInt_t mask) ;
+  static UInt_t GetActiveBit(UInt_t mask) ;
 
 protected:
   void CleanKey(TString & str) ;