+ fInputHandler = (AliInputEventHandler*)
+ ((AliAnalysisManager::GetAnalysisManager())->GetInputEventHandler());
+ return kTRUE;
+}
+
+
+void AliAnalysisTaskTagCreator::GetGUID(TString &guid) {
+ // Get the guid of the AliAOD.root file
+ ofstream myfile ("guid.txt");
+ if (myfile.is_open()) {
+ TFile *f = TFile::Open("AliAOD.root","read");
+ if(f->IsOpen()) {
+ guid = f->GetUUID().AsString();
+ myfile << "AliAOD.root \t"<<f->GetUUID().AsString();
+ cout<<guid.Data()<<endl;
+ myfile.close();
+ }
+ else cout<<"Input file not found"<<endl;
+ f->Close();