- Jan 16, 2015
-
-
Stephen A. Wood authored
When it was UInt_t, variable length global variables didn't get the length correctly and there were run time errors.
-
Stephen A. Wood authored
For the most part this is making sure that the loop variable in a for loop is of the same type as the variable that it is compared against (Often a UInt_t).
-
- Jan 14, 2015
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
This reverts commit e9ce1040. Conflicts: src/THcHallCSpectrometer.cxx
-
- Jan 13, 2015
-
-
Stephen A. Wood authored
-
- Jan 08, 2015
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
Stephen A. Wood authored
For the most part this is making sure that the loop variable in a for loop is of the same type as the variable that it is compared against (Often a UInt_t).
-
- Jan 07, 2015
-
-
Mark Jones authored
This is a temporary fix for problem that arise when compiling on the ifarm machines. In the DefinedValue method when using kCutScaler and kCutNCalled the switch statement goes to the default case. On ifarm gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) There are compiler warnings src/THcFormula.cxx: In member function 'virtual Double_t THcFormula::DefinedValue(Int_t)': src/THcFormula.cxx:131: warning: case label value exceeds maximum value for type src/THcFormula.cxx:134: warning: case label value exceeds maximum value for type One permenant fix would be to add kCutScaler and kCutNCalled to the enum EVariableType in THaFormula.h.
-
Mark Jones authored
-
- Dec 22, 2014
-
-
Mark Jones authored
Add THaSpectrometer::DefineVariables( mode ); to define those tree variables
-
- Dec 19, 2014
-
-
Mark Jones authored
-
- Dec 12, 2014
-
-
Zafar Ahmed authored
First, in h_pattern_recognition.f we have: https://github.com/zahmed9/engine/blob/mkj/HTRACKING/h_pattern_recognition.f#L139 (hdc_wire_center(yy)-hdc_wire_center(yyprime))**2 .lt. (hspace_point_criterion(ich)) So I changed https://github.com/zahmed9/hcana/blob/develop/src/THcDriftChamber.cxx#L292 TMath::Abs(fHits[plane_hitind]->GetPos() - fHits[planep_hitind]->GetPos()) < fSpacePointCriterion to pow((fHits[plane_hitind]->GetPos() - fHits[planep_hitind]->GetPos()),2) < fSpacePointCriterion Second, the value of MAX_SPACE_POINTS in ENGINE is 100 so in hcana I changed it from 50 to 100.
-
- Dec 05, 2014
-
-
Stephen A. Wood authored
This is because the classes in these header files are only used by THcShower.
-
Vardan Tadevosyan authored
-
Vardan Tadevosyan authored
Edit debug outputs in THcSHower and THcShowerPlane classes. Group outputs preferably by the end of methods, for smooth code flow. Structure tests of outputs for easy reading.
-
- Nov 17, 2014
-
-
Stephen A. Wood authored
-
- Nov 13, 2014
-
-
Vardan Tadevosyan authored
the HMS calorimeter. Add src/THcShowerCluster.h.float, a version of THcShowerCluster class with float precision calculation in clX method.
-
Vardan Tadevosyan authored
first track from the HMS shower counter code. Remove variables and code related to the maximum cluster of hits, and association of a cluster to the 1-st spectrometer track in THcShower.h and THcShower.cxx. Those were used for testing of the code, not needed any more.
-
Vardan Tadevosyan authored
track in Engine and the golden track in hcana. Add directory examples/gtrk_e holding the code.
-
Vardan Tadevosyan authored
consistent with Engine. Reverse order of cycling through clusters in THcShower::MatchCluster.
-
Vardan Tadevosyan authored
Access the energy of the golden track from THaGoldenTrack. Include THaTrack.h in THaGoldenTrack.h. Add GetEnergy method in THaGoldenTrack.h. Define variable name "e" for the energy of golden track in THaGoldenTrack.C.
-
- Oct 24, 2014
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
Convert some arrays that were fixed length to vectors. Since these arrays are only used local to the method ThcHallCSpectrometer::TrackCalc(), they were moved out of the class into the method. The affected arrays are fX2D, fY2D, f2XHits and f2YHits
-
- Oct 10, 2014
-
-
Stephen A. Wood authored
-
- Oct 04, 2014
-
-
Stephen A. Wood authored
Structure TOFPInfo holds information for hits within a plane Structure TOFCalc holds hit information for all the hits. fdEdX changed from 2d array to vector of vectors
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Sep 26, 2014
-
-
Stephen A. Wood authored
-
Zafar authored
Selection of golden track using prune method is added. A bug is also fixed in THcHodoscope class Number of pmts hits, focal plane time, good time for plane 4 and good time for plane 3 are set to the tracks in THcHodoscope class.
-
- Sep 21, 2014
-
-
Stephen A. Wood authored
This insures that 5th exponent is zero if not specified on recon file
-
- Sep 15, 2014
-
-
Stephen A. Wood authored
This is anticipation of a new hit class for processed hits. To make it clear that this hit class is for decoding into hit lists
-
- Sep 12, 2014
-
-
Vardan Tadevosyan authored
Add fdbg_raw_cal flag in THcShower.h. Initiate fdbg_raw_cal with engine's hdbg_raw_cal in THcShower::ReadDataBase. Supply calorimeter debug flags to otherwise free print-outs in the THcShower and THcShowerPlane methods.
-
Vardan Tadevosyan authored
Add fdbg_init_cal flag in THcShower.h. Initialize fdbg_init_cal from engine's hdebugflaggeometry in THcShower::ReadDataBase.
-
- Sep 10, 2014
-
-
Stephen A. Wood authored
-
- Sep 09, 2014
-
-
Brad Sawatzky authored
debug info should be suppressed in the main develop branch
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Sep 08, 2014
-
-
Brad Sawatzky authored
- no need to call Nint() on an integer
-
Stephen A. Wood authored
-