{
TParticle * ichild =
(TParticle *) particles->At(j-1);
- Int_t kf = ichild->GetPdgCode();
+ kf = ichild->GetPdgCode();
//
//
if (ChildSelected(TMath::Abs(kf))) {
} else {
for (Int_t i = 0; i<np; i++) {
TParticle * iparticle = (TParticle *) particles->At(i);
- Int_t kf = iparticle->GetPdgCode();
+ kf = iparticle->GetPdgCode();
Int_t ks = iparticle->GetStatusCode();
if (ks==1 && kf!=0 && KinematicSelection(iparticle)) {
nc++;
+++ /dev/null
-{
-// to run this macro, you must have the correct .rootrc file
-// in your galice directory.
-// The gAlice classes summary documentation go to directory html
-// The gAlice classes source documentation go to directory html/src
-// The example macros documentation go to directory html/examples
-
- gSystem->Load("./libGeoAlice.so");
- THtml html;
- html.MakeAll(1);
-
-}
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include <TMath.h>
#include <TNode.h>
#include <TPGON.h>
Float_t par_dum[3];
Float_t par_trd[npar_trd];
Float_t par_cha[npar_cha];
+ Int_t iplan;
Float_t xpos, ypos, zpos;
Int_t *idtmed = fIdtmed->GetArray()-1299;
// The length of the inner chambers
- for (Int_t iplan = 0; iplan < kNplan; iplan++) fClengthI[iplan] = 110.0;
+ for (iplan = 0; iplan < kNplan; iplan++) fClengthI[iplan] = 110.0;
// The length of the middle chambers
fClengthM[0] = 123.5;
fClengthM[1] = 131.0;
gMC->Gspos("UL11",1,"UAIO",xpos,ypos,zpos,0,"ONLY");
// Position the chambers in the TRD mother volume
- for (Int_t iplan = 1; iplan <= kNplan; iplan++) {
+ for (iplan = 1; iplan <= kNplan; iplan++) {
// The inner chambers ---------------------------------------------------------------
virtual Int_t IsVersion() const = 0;
virtual void StepManager() = 0;
virtual void SetGasMix(Int_t imix = 0);
- virtual void SetHits(Int_t ihit) {};
- virtual void SetSensPlane(Int_t iplane) {};
- virtual void SetSensChamber(Int_t ichamber) {};
- virtual void SetSensSector(Int_t isector) {};
+ virtual void SetHits(Int_t ) {};
+ virtual void SetSensPlane(Int_t) {};
+ virtual void SetSensChamber(Int_t) {};
+ virtual void SetSensSector(Int_t ) {};
ClassDef(AliTRD,1) // Transition Radiation Detector base class