origin[2] = fVertex[2] + jparticle->Vz();
}
- Int_t decayed = jparticle->GetFirstDaughter();
Int_t doTracking = fTrackIt && selected && !(jparticle->TestBit(kDoneBit));
Int_t parent = jparticle->GetFirstMother();
virtual void SetPmax(Float_t pmax = 10.) {fPmax = pmax;}
virtual void SetNominalCmsEnergy(Float_t energy = 14000.) {fCMS = energy;}
virtual void SetTarget(Float_t a=208, Float_t z=82) {fATarget = a; fZTarget = z;}
+ virtual void SetTarget(TString s, Int_t a, Int_t z) {AliGenerator::SetTarget(s, a, z);}
virtual void SetProtonDirection(Float_t dir = 1.);
virtual void SetCharge(Int_t c = 1) {fCharge = c;}
virtual void SetTemperature(Double_t t1 = 0.04, Double_t t2 = 0.004)
Float_t pbox[3];
// Mother volumes
TGeoVolumeAssembly* asDCM0 = new TGeoVolumeAssembly("DCM0");
+ asDCM0->SetName("DCM0");
gMC->Gsatt ("DCM0", "SEEN", 0);
//
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