//_____________________________________________________________________________
AliDIPOv3::AliDIPOv3(const char *name, const char *title)
- : AliDIPOv2(name,title)
+ : AliDIPOv2(name,title),
+ fCenterOfDDIPVolume(0.0)
+
{
//
// Standard constructor for the magnetic dipole version 3
top->AddNode(asDipole, 1, new TGeoCombiTrans(0., dipoleL / 2. * TMath::Tan(alhc * kDegrad), -kZDipole, rotxzlhc));
top->AddNode(voDDIP, 1, new TGeoCombiTrans(0., dipoleL / 2. * TMath::Tan(alhc * kDegrad), -kZDipole, rotxzlhc));
+ // This following value is needed by the MUON module to place the station 3
+ // in the DDIP volume with respect to the center of this volume.
+ fCenterOfDDIPVolume = kZDipole;
}
AliDIPOv3(const char *name, const char *title);
virtual ~AliDIPOv3() {}
virtual Int_t IsVersion() const {return 3;}
+ Float_t GetCenterOfDDIPVolume() {return fCenterOfDDIPVolume;} // This getter is needed for placing the Station 3 of the muon spectromeer inside de Dipole
private:
virtual void CreateSpectrometerDipole();
+ Float_t fCenterOfDDIPVolume;
ClassDef(AliDIPOv3,1) //Class manager for magnetic dipole version 2
};