ClassDef of AliReconstruction increased.
#include <TList.h>
#include <TObjString.h>
#include <TLorentzVector.h>
+#include <TMap.h>
//ROOT-AliEn
#include <TGrid.h>
}
//_____________________________________________________________________________
-void AliESDTagCreator::CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, TList */*grpList*/) {
+void AliESDTagCreator::CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, TMap */* grpData */) {
//GRP
Float_t lhcLuminosity = 0.0;
TString lhcState = "test";
#include <TSystem.h>
class TChain;
class TList;
+class TMap;
#include <AliTagCreator.h>
AliESDTagCreator();
~AliESDTagCreator();
- void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, TList *grpList);
+ void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, TMap *grpData);
void SetInactiveBranches(const char* branches) {fBranches = branches;}
fDiamondProfileTPC(NULL),
fMeanVertexConstraint(kTRUE),
- fGRPList(NULL),
+ fGRPData(NULL),
fAlignObjArray(NULL),
fCDBUri(),
fDiamondProfileTPC(NULL),
fMeanVertexConstraint(rec.fMeanVertexConstraint),
- fGRPList(NULL),
+ fGRPData(NULL),
fAlignObjArray(rec.fAlignObjArray),
fCDBUri(rec.fCDBUri),
fesd->AddObject(fesdf);
}
-
// Get the GRP CDB entry
AliCDBEntry* entryGRP = AliCDBManager::Instance()->Get("GRP/GRP/Data");
- if(entryGRP) {
- fGRPList = dynamic_cast<TList*> (entryGRP->GetObject());
- } else {
+ if (entryGRP)
+ fGRPData = dynamic_cast<TMap*> (entryGRP->GetObject());
+
+ if (!fGRPData)
AliError("No GRP entry found in OCDB!");
- }
// Get the diamond profile from OCDB
AliCDBEntry* entry = AliCDBManager::Instance()
// Create tags for the events in the ESD tree (the ESD tree is always present)
// In case of empty events the tags will contain dummy values
AliESDTagCreator *esdtagCreator = new AliESDTagCreator();
- esdtagCreator->CreateESDTags(fFirstEvent,fLastEvent,fGRPList);
+ esdtagCreator->CreateESDTags(fFirstEvent,fLastEvent,fGRPData);
if (fWriteAOD) {
AliWarning("AOD tag creation not supported anymore during reconstruction.");
}
fDiamondProfile = NULL;
delete fDiamondProfileTPC;
fDiamondProfileTPC = NULL;
- delete fGRPList;
- fGRPList = NULL;
+ delete fGRPData;
+ fGRPData = NULL;
}
class TTree;
class TList;
class AliQADataMakerRec;
+class TMap;
class AliReconstruction: public TNamed {
public:
AliESDVertex* fDiamondProfileTPC; // (x,y) diamond profile from TPC for AliVertexerTracks
Bool_t fMeanVertexConstraint; // use fDiamondProfile in AliVertexerTracks
- TList* fGRPList; // TList from the GRP/GRP/Data CDB folder
+ TMap* fGRPData; // Data from the GRP/GRP/Data CDB folder
TObjArray* fAlignObjArray; // array with the alignment objects to be applied to the geometry
AliVertexerTracks* ftVertexer; //! Pointer to the vertexer based on ESD tracks
Bool_t fIsNewRunLoader; // galice.root created from scratch (real raw data case)
- ClassDef(AliReconstruction, 22) // class for running the reconstruction
+ ClassDef(AliReconstruction, 23) // class for running the reconstruction
};
#endif