+
+//_____________________________________________________________________________
+AliLoader* AliVZERO::MakeLoader(const char* topfoldername)
+{
+ //
+ // Builds VZEROgetter (AliLoader type)
+ // if detector wants to use customized getter, it must overload this method
+ //
+
+ Info("MakeLoader","Creating AliVZEROLoader. Top folder is %s.",topfoldername);
+ fLoader = new AliVZEROLoader(GetName(),topfoldername);
+ return fLoader;
+}
+
+//_____________________________________________________________________________
+void AliVZERO::SetTreeAddress()
+{
+ //
+ // Sets tree address for hits.
+ //
+
+ if (fLoader->TreeH() && (fHits == 0x0))
+ fHits = new TClonesArray("AliVZEROhit", 400);
+
+ AliDetector::SetTreeAddress();
+}
+
+