diff --git a/src/THcDC.cxx b/src/THcDC.cxx index f1e8290bdd9c7ea80e97b3b4fe731ece363a055a..d714583e0b63a73e83acdb681426e45a19b4a42e 100644 --- a/src/THcDC.cxx +++ b/src/THcDC.cxx @@ -346,6 +346,7 @@ Int_t THcDC::DefineVariables( EMode mode ) // Register variables in global list RVarDef vars[] = { + { "stubtest", "stub test", "fStubTest" }, { "nhit", "Number of DC hits", "fNhits" }, { "tnhit", "Number of good DC hits", "fNthits" }, { "trawhit", "Number of true raw DC hits", "fN_True_RawHits" }, @@ -422,6 +423,7 @@ inline void THcDC::ClearEvent() { // Reset per-event data. + fStubTest = 0; fNhits = 0; fNthits = 0; fN_True_RawHits=0; @@ -695,6 +697,7 @@ void THcDC::LinkStubs() && (TMath::Abs(dposyp) < fYptTrCriterion)) { if(newtrack) { assert(sptracks==0); + fStubTest = 1; //stubtest=1; Used in h_track_tests.f // Make a new track if there are not to many if(fNDCTracks < MAXTRACKS) { diff --git a/src/THcDC.h b/src/THcDC.h index 71bd4963ff9de5849de4081579ed0d7bb79ff54b..d11f2333ce479486419f285fc014a2d062889c96 100644 --- a/src/THcDC.h +++ b/src/THcDC.h @@ -103,6 +103,7 @@ protected: // Was used for SOS in ENGINE. // Per-event data + Int_t fStubTest; Int_t fNhits; Int_t fNthits; Int_t fN_True_RawHits; diff --git a/src/THcDriftChamber.cxx b/src/THcDriftChamber.cxx index b9ed691797b48154cf905f7ca2d4330b3d7bed22..95906b6184edb64589a5dac2464e2abf9c787430 100644 --- a/src/THcDriftChamber.cxx +++ b/src/THcDriftChamber.cxx @@ -224,6 +224,8 @@ Int_t THcDriftChamber::DefineVariables( EMode mode ) // Register variables in global list RVarDef vars[] = { + { "maxhits", "Maximum hits allowed", "fMaxHits" }, + { "spacepoints", "Space points of DC", "fNSpacePoints" }, { "nhit", "Number of DC hits", "fNhits" }, { "trawhit", "Number of True Raw hits", "fN_True_RawHits" }, { 0 } diff --git a/src/THcScintillatorPlane.cxx b/src/THcScintillatorPlane.cxx index f56ef154a3058ac2bf1fbc462eb28ab9d64fdefc..01f1ae60815d0441335f7abb7262da313dcf8f3e 100644 --- a/src/THcScintillatorPlane.cxx +++ b/src/THcScintillatorPlane.cxx @@ -232,6 +232,8 @@ Int_t THcScintillatorPlane::DefineVariables( EMode mode ) "frNegADCHits.THcSignalHit.GetPaddleNumber()"}, // {"fptime", "Time at focal plane", // "GetFpTime()"}, + {"nhits", "Number of hits", + "GetNScinHits() "}, { 0 } };