- Feb 04, 2015
-
-
Zafar Ahmed authored
Move some stuff outside of # tracks > 0 test
-
- Feb 03, 2015
-
-
Zafar Ahmed authored
-
Vardan Tadevosyan authored
-
Vardan Tadevosyan authored
Clean up THcShower.h and THcShower.cxx. typedef vector<THcShowerHit*> THcShowerHitList by typedef set<THcShowerHit*> THcShowerHitList. Remove inheritance of class THcShowerCluster from THcShowerHitList. Define THcShowerCluster as THcShowerHitList, aka set<THcShowerHit*>. Remove inheritance of class THcShowerClusterList from THcShClusterList, a.k.a. vector<THcShowerCluster*> container. Define THcShowerClusterList as vector<THcShowerCluster*>. Rename THcShowerHitSet by THcShowerHitList. Rename HitList (related to the HMS calorimeter) to HitSet. Add operator< in THcShowerHit class, in order to have THcShowerHitSet objects to be properly sorted.
-
- Jan 28, 2015
-
-
Stephen A. Wood authored
-
- Jan 21, 2015
-
-
Mark K Jones authored
Modified THcShower and THcHallCSpectrometer
-
- Jan 20, 2015
-
-
Mark Jones authored
THcHallCSpectrometer inherits from THaSpectrometer which has method GetPcentral and a member fPcentral. THcHallCSpectrometer had been using fPCentral but decided to use fPcentral. Delete fPCentral in THcHallCSpectrometer.h Replace all fPCentral by fPcentral in ReadDatabase and FindVertices methods.
-
Mark Jones authored
Add variable fEtot= the total energy of the calorimeter which is calculated in Decode method Add variable fEtotnorm= the total energy of the calorimeter divided by central spectrometer which is calculated in Decode method Add both to DefineVariables list as etot and etotnorm
-
Stephen A. Wood authored
Declare loop variables in the for statement Go back to UInt_t for some variables Don't prefix non-member variables with f
-
Zafar Ahmed authored
Adds tests to THcHodoscope fiducial tracking efficiency Adds tests to THcCherenkov for Cerenkov efficiency
-
- Jan 16, 2015
-
-
Vardan Tadevosyan authored
State neighbours hits in a row separated by single block in THcShower::IsNeighbour method. This allows for inclusion of a stand alone hit of low energy deposition (presumably coming from noise in a channel) into a big cluster, hence reducing differences between engine and hcana.
-
Vardan Tadevosyan authored
in hcana, in part of the HMS calorimeter. Consistently use variables of the track proper in the HMS calibartion code.
-
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
-