- Dec 15, 2018
-
-
Whitney Armstrong authored
- Mixins defined in Logger.h - Mixin used in base classes (THcDC is currently a good example) Added a few more spdlog loggers Added logging to many. - Added logging to hodoscope, aerogel hitlist and detectormap - Working on scandalizer features. Added logging. Added more logging. added more logging. More logging.
-
- Dec 11, 2018
-
-
Whitney Armstrong authored
-
- Jun 29, 2018
-
-
Yero1990 authored
-
- Jun 27, 2018
-
-
Fernando Araiza Gonzalez authored
-
- Jun 08, 2018
-
-
Fernando Araiza Gonzalez authored
-
- Feb 15, 2018
-
-
Stephen A. Wood authored
Add End method to each detector that calls MissReport which prints the number of events with missing TDC and ADC reference times.
-
- Dec 06, 2017
-
-
Stephen A. Wood authored
Each detector object will check the global variable X.present each event. If X.present is false, it indicates that the parent spectrometer object determineted that this spectrometer is not in this event, and therefor reference times are not expected. If X.present is false, then the reference time warning messages will be suppressed.
-
- Dec 05, 2017
-
-
Vardan Tadevosyan authored
-
- Nov 30, 2017
-
-
Stephen A. Wood authored
-
- Jul 11, 2017
-
-
Vardan Tadevosyan authored
the best track.
-
Vardan Tadevosyan authored
-
- Apr 20, 2017
-
-
hallc-online authored
THcShowerHit.h and THcShowerHit.cxx --------------- 1) Added fY for horizontal position 2) Added fY to THcShowerHit THcShower.h ----------- 1) Added variables 2) Added method addY, clY to get the cluster Y position THcShower.cxx -------------- 1) Added variables to the tree for "layer" detector either SHMS preshower or HMS layers 2) Added variables if the SHMS "array" is used 3) Added y position to THcShowerHit in CoarseProcess 4) In FineProcess, if SHMS "array" used then fill X,Y info for the Cluster and the "best" track that matched the cluster THcShowerArray.h and THcShowerArray.cxx --------------------------------------- 1) Added methods to Get the array cluster size, X and Y position and block number that has the highest energy in the cluster 2) Added array fBlockClusterID for all blocks. initialized to -1 for each block for each event and then filled with the cluster number if the block is included in the cluster 3) Add variable fNhits and fNgoodhits
-
- Mar 28, 2017
-
-
hallc-online authored
Main purposes: 1) Add the possibility of multiple ADC hits per channel and select best ADC by a time window. 2) Change ProcessHits method in ShowerPlane and ShowerArray to only fill "raw" TClonesArrays. 3) Add CoarseProcessHits method to ShowerPlane and ShowerArray to fill the "good" data arrays from call in THcShower:CoarseProcess 4) Moved code to fill Track object with energy from FineProcess to CoarseProcess so that the Track->Get(Energy) can be used by other detectors in their FineProcess. 5) FineProcess loops over Track object add gets Track energy 6) Add AdcErrorFlag TClonesArray to be filled to check for problems with FADC THcShower.h 1) Add methods GetADCMode(),GetAdcTimeWindowMin(),GetAdcTimeWindowMax() so that the ShowerPlane can access these parameters 2) Add parameters ADCMode,fAdcTimeWindowMin,fAdcTimeWindowMax 3) Add variables fNclustTrack : NUmber of cluster that matches best track fXclustTrack : X pos of cluster that matches best track fXTrack : X pos of best track that matches cluster fEtrack : Cluster energy associated with best track fEtrackNorm : Cluster energy/Track momentum associated with best track THcShower.cxx 1) Add calls to THcShowerPlane and THcShowerArray CoarseProcessHits in CoarseProcess 2) Moved filling of Energy in Track object to CoarseProcess 3) In FineProcess get the "best" Track object and match Track energy and trajectory to cluster. THcShowerArray.h and cxx 1)add parameters fADCMode, fAdcTimeWindowMin and fAdcTimeWindowMax 2) Add method CoarseProcessHits 3) In ProcessHits fill fPosThresh and fNegThresh with a fix value of 250 integrated channels above pedestal. Need to make this a parameter. THcShowerPlane.h and cxx 1)Gets fADCMode, fAdcTimeWindowMin and fAdcTimeWindowMax from THcShower 2) Add method CoarseProcessHits 3) In ProcessHits fill fPosThresh and fNegThresh with a fix value of 250 integrated channels above pedestal. Need to make this a parameter.
-
- Dec 15, 2016
-
-
Jure Bericic authored
-
- Jan 25, 2016
-
-
Stephen A. Wood authored
This is to match the class name defined in those files Also add THcShowerHit to the Makefile
-
- Jan 18, 2016
-
-
Vardan Tadevosyan authored
-
- Jan 09, 2016
-
-
Vardan Tadevosyan authored
-
- Jan 06, 2016
-
-
Vardan Tadevosyan authored
THcShowerHitClass.h file.
-
- Jan 01, 2016
-
-
Vardan Tadevosyan authored
fly's eye part.
-
- Dec 28, 2015
-
-
Vardan Tadevosyan authored
-
- Dec 06, 2015
-
-
Vardan Tadevosyan authored
-
Vardan Tadevosyan authored
from SHMS shower counter. Make THcShowerArray a friend class to THcShower in order to have access to the debug flags.
-
- Oct 14, 2015
-
-
Stephen A. Wood authored
Added as an optional sub detector THcShowerArray to the THcShower class Get hit data with GetData method instead of hit member variables so as to be compatible with FADC compatible hit list
-
- Feb 23, 2015
-
-
Vardan Tadevosyan authored
negative side PMT signals from the HMS and SOS calorimeters. Changes in the Ycor method of the THcShower class, and in examples/PARAM/hcana.param input file.
-
- Feb 04, 2015
-
-
Zafar Ahmed authored
-
- Feb 03, 2015
-
-
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 20, 2015
-
-
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
-
- 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.
-
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
This reverts commit e9ce1040. Conflicts: src/THcHallCSpectrometer.cxx
-
- Jan 08, 2015
-
-
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).
-
- Dec 05, 2014
-
-
Stephen A. Wood authored
This is because the classes in these header files are only used by THcShower.
-
- Nov 13, 2014
-
-
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.
-
- 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 05, 2014
-
-
Stephen A. Wood authored
-
- Aug 21, 2014
-
-
Zafar authored
Goldent track is moved to THcHallCSpectrometer::TrackCalc() if fSelUsingScin == 0 then golden track is calculated just like podd. i.e. it is the first track with minimum chi2/ndf with sorting ON if fSelUsingScin == 1 then golden track is calculetd just like engine/HTRACKING/h_select_best_track_using_scin.h. This method gives the best track with minimum value of chi2/ndf but with additional cuts on the tracks. These cuts are on dedx, beta and on energy. This commit also corrects and modifies the beta code written in the THcHodoscope::FineProcess At this point we have godlend track and in additoion to previous vlues the following values are set to a track: Energy, beta, chi2 of beta and dedx[track][first hit]. NOTE: For some tracks we have large differences in value of chi square between ENGINE and hcana and this is already discussed in the last group meeting. Following emails are exchanged regarding this difference of chisquare. email to Mark: Hi Mark, I tried to trace the origin of difference of the chi square value between ENGINE and hcana. Please see the attached file, it has long table which I cannot present in this email. Or you can see the file at the following link, thanks. https://userweb.jlab.org/~zahmed/chi2diff.txt Ahmed Mark's reply: Ahmed, Thanks. I agree with what you see, but there is also another reason for the difference. For the space point in ch2 the engine and hcana choose different left/right combinations. That is why you see the large jump in the summed chi2 from planes 9 and 10. The two codes pick different left/right because there is a cut on the difference between the measured stub xp and an expected xp = sp->GetX()/875 and one code has a combination slightly below the cut value and the other slightly above. I do not see a way to make the codes agree more exactly since the stub fitting involves a matrix inversion. Cheers, Mark
-
- Aug 18, 2014
-
-
Vardan Tadevosyan authored
calorimeter. Add list of clusters fClusterList in THcShower class. Add method THcShower::GetShEnergy(THaTrack*). Add method THcShowerClusterList::clear() in THcShowerCluster.h.
-
- Jul 09, 2014
-
-
Vardan Tadevosyan authored
Remove track related variables from the HMS Shower class, use ntuples from the track (H.tr) block instead in the HMS calorimeter calibration scripts. - Remove a block of duplicated track related variables from the THcShower class which have been added for calorimeter calibration purposes. - In hcal_calib directory, replace those variables with correspondent variables from H.tr block in the calorimeter calibration class (THcShowerCalib.h), in the cut (hcal_replay_cuts.def) and output (output_hcal_replay.def) definitions.
-