#include "AliLog.h"
#include "AliMpDCSNamer.h"
#include "AliMpIntPair.h"
-#include "AliMUONConstants.h"
#include "AliMUONGlobalCrateConfig.h"
#include "AliMUONRegionalTriggerConfig.h"
#include "AliMUONRejectList.h"
TString hvCase("OTHER");
int dummy(0),a(-1),b(-1);
- char r[80];
+ char r[81];
Int_t nvalues = values.GetSize();
Int_t* indices = new Int_t[nvalues];
memset(indices,0,nvalues*sizeof(Int_t));
/// Create a new HV map from the OCDB for a given run
TMap* hvMap = dynamic_cast<TMap*>(CreateObject(runNumber,"MUON/Calib/HV",startOfValidity));
+ if (!hvMap) return 0x0;
+
if (patched)
{
TIter next(hvMap);
Int_t a(0),b(0),c(0),d(0),e(0),f(0),g(0),h(0),u(0),z(0);
TIter next(messages);
TObjString* msg;
- char hvCase;
+ char hvCase('u');
while ( ( msg = static_cast<TObjString*>(next()) ) )
{
if ( i >= 0 )
{
- sscanf(msg->String()(i,msg->String().Length()-i).Data(),"CASE:%c",&hvCase);
+ sscanf(msg->String()(i,msg->String().Length()-i).Data(),"CASE:%10c",&hvCase);
}
switch (hvCase)
entry->SetOwner(kFALSE);
delete entry;
}
+// else
+// {
+// entry->SetOwner(kTRUE); //FIXME : this should be done but is causing problems with RecoParams at the end of the reco : investigate why...
+// }
return object;
}
else