X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=STRUCT%2FAliFRAMEv2.cxx;h=e3dec76dfbca3112153bcf328f119713fdc8a8e9;hb=7dd2cbe4f183e78c83c59e4a366a72cd04a7f660;hp=6235e718aeca4fa4be23cfabce0942abbfe86dd5;hpb=2245ab3abb9f7ad06d3b95e01fa7542f6b7577f7;p=u%2Fmrichter%2FAliRoot.git diff --git a/STRUCT/AliFRAMEv2.cxx b/STRUCT/AliFRAMEv2.cxx index 6235e718aec..e3dec76dfbc 100644 --- a/STRUCT/AliFRAMEv2.cxx +++ b/STRUCT/AliFRAMEv2.cxx @@ -172,6 +172,7 @@ void AliFRAMEv2::CreateGeometry() trB77B->RegisterYourself(); TGeoCompositeShape* shB77 = new TGeoCompositeShape("shB77", "shB77A+shB77B:trB77A+shB77B:trB77B"); TGeoVolume* voB77 = new TGeoVolume("B077", shB77, gGeoManager->GetMedium("FRAME_Air")); + voB77->SetName("B077"); // just to avoid a warning gMC->Gspos("B077", 1, "ALIC", 0., 0., 0., 0, "ONLY"); // // Reference plane #1 for TRD @@ -1354,7 +1355,7 @@ void AliFRAMEv2::StepManager() -void AliFRAMEv2::MakeHeatScreen(char* name, Float_t dyP, Int_t rot1, Int_t rot2) +void AliFRAMEv2::MakeHeatScreen(const char* name, Float_t dyP, Int_t rot1, Int_t rot2) { // Heat screen panel // @@ -1434,7 +1435,7 @@ void AliFRAMEv2::MakeHeatScreen(char* name, Float_t dyP, Int_t rot1, Int_t rot2) -void AliFRAMEv2::WebFrame(char* name, Float_t dHz, Float_t theta0, Float_t phi0) +void AliFRAMEv2::WebFrame(const char* name, Float_t dHz, Float_t theta0, Float_t phi0) { // // Create a web frame element