SetSensorRotation();
SetHalfDisplacement();
SetHalfRotation();
+ SetComment();
}
//__________________________________________________________________
AliDebug(1, Form("Make alignment for %s (volume %d): (%f,%f,%f) (%f,%f,%f)",
path.Data(), id, transX, transY, transZ, rotX, rotY, rotZ));
Int_t nAlign = fArray->GetEntries();
+ id = 0;
AliAlignObjAngles* obj =
new ((*fArray)[nAlign]) AliAlignObjAngles(path.Data(), id,0,0,0,0,0,0);
if (!obj) {
AliFMDAlignFaker::WriteToCDB()
{
// Make the objects.
- AliCDBManager* cdb = AliCDBManager::Instance();
- if (GetTitle() && GetTitle()[0] != '\0')
- cdb->SetDefaultStorage(GetTitle());
-
- AliCDBMetaData* meta = new AliCDBMetaData;
+ AliCDBManager* cdb = AliCDBManager::Instance();
+ AliCDBMetaData* meta = new AliCDBMetaData;
meta->SetResponsible(gSystem->GetUserInfo()->fRealName.Data());
meta->SetAliRootVersion(gROOT->GetVersion());
meta->SetBeamPeriod(1);
- meta->SetComment("Dummy data for testing");
+ meta->SetComment(fComment.Data());
AliCDBId id("FMD/Align/Data", fRunMin, fRunMax);
cdb->Put(fArray, id, meta);
}
file->cd();
fArray->Write("FMDAlignment");
- file->Close();
file->Write();
+ file->Close();
}