- Jul 11, 2017
-
-
Vardan Tadevosyan authored
the best track.
-
Vardan Tadevosyan authored
-
- May 01, 2017
-
-
Vardan Tadevosyan authored
Make matched cluster variables of the array part of calorimeter private. Initialize fY variable in the THcShowerHit::THcShowerHit default constructor. Correct typo in THcShowerArray::Clear, assign -1000 to fMatchClY. Edit debug output in THcShowerArray::CoarseProcess and remove obsolete comments THcShowerArray::MatchCluster. Clear fSizeClustArray and fNblockHighEnergy quantitites in THcShower::Clear, for just in case.
-
- 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
-
- Apr 18, 2017
-
-
Stephen A. Wood authored
-
- 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
-
- Nov 23, 2016
-
-
Stephen A. Wood authored
Otherwise InitHistlist doesn't have the detector map and can't do setup of reference time stuff or sanity checks on the detector mapping
-
- Nov 15, 2016
-
-
Jure Bericic authored
Some detector classes lacked the ability to get the appropriate Apparatus character and were only working for HMS.
-
- May 18, 2016
-
-
Stephen A. Wood authored
-
- Jan 22, 2016
-
-
Vardan Tadevosyan authored
shms-calo-test directory comprises codes for testing. The 1-st layer of SOS calorimeter mimicks the SHMS Preshower, and positive side of the 2-nd layer mimicks fly's eye part.
-
- Jan 18, 2016
-
-
Vardan Tadevosyan authored
-
- Jan 15, 2016
-
-
Vardan Tadevosyan authored
-
- Jan 10, 2016
-
-
Vardan Tadevosyan authored
-
Vardan Tadevosyan authored
-
- Jan 09, 2016
-
-
Vardan Tadevosyan authored
-
- 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
-
- 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
-
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
-
-
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 13, 2015
-
-
Stephen A. Wood authored
-
- 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.
-
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 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.
-
Vardan Tadevosyan authored
consistent with Engine. Reverse order of cycling through clusters in THcShower::MatchCluster.
-
- 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 09, 2014
-
-
Stephen A. Wood authored
-
- Sep 05, 2014
-
-
Stephen A. Wood authored
-
- Sep 02, 2014
-
-
Mark Jones authored
Found when doing valgrind --tool=memcheck --track-origins=yes --leak-check=full hcana Return errors like below ==14467== Invalid write of size 1 ==14467== at 0x4A0794F: __GI_strcpy (mc_replace_strmem.c:313) ==14467== by 0x57137A3: THcHodoscope::Setup(char const*, char const*) (THcHodoscope.cxx:112) ==14467== by 0x5713A7E: THcHodoscope::Init(TDatime const&) (THcHodoscope.cxx:142) ==14467== by 0x4D38C29: THaApparatus::Init(TDatime const&) (THaApparatus.C:193) ==14467== by 0x4D67E57: THaAnalyzer::InitModules(TList const*, TDatime&, int, char const*) (THaAnalyzer.C:433) ==14467== by 0x4D68B1F: THaAnalyzer::DoInit(THaRunBase*) (THaAnalyzer.C:667) ==14467== by 0x4D68126: THaAnalyzer::Init(THaRunBase*) (THaAnalyzer.C:467) ==14467== by 0x4D6B31A: THaAnalyzer::Process(THaRunBase*) (THaAnalyzer.C:1289) ==14467== by 0x4E21E97: G__haDict_704_0_6(G__value*, char const*, G__param*, int) (haDict.C:23491) ==14467== by 0x6DB6148: Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) (in /u/apps/root/5.34.13/root/lib/libCint.so.5.34) ==14467== by 0x6E5A3A0: G__execute_call (in /u/apps/root/5.34.13/root/lib/libCint.so.5.34) ==14467== by 0x6E5B201: G__call_cppfunc (in /u/apps/root/5.34.13/root/lib/libCint.so.5.34) ==14467== Address 0xd7636a2 is 0 bytes after a block of size 2 alloc'd ==14467== at 0x4A0674C: operator new[](unsigned long) (vg_replace_malloc.c:305) ==14467== by 0x5713757: THcHodoscope::Setup(char const*, char const*) (THcHodoscope.cxx:111) ==14467== by 0x5713A7E: THcHodoscope::Init(TDatime const&) (THcHodoscope.cxx:142) ==14467== by 0x4D38C29: THaApparatus::Init(TDatime const&) (THaApparatus.C:193) ==14467== by 0x4D67E57: THaAnalyzer::InitModules(TList const*, TDatime&, int, char const*) (THaAnalyzer.C:433) ==14467== by 0x4D68B1F: THaAnalyzer::DoInit(THaRunBase*) (THaAnalyzer.C:667) ==14467== by 0x4D68126: THaAnalyzer::Init(THaRunBase*) (THaAnalyzer.C:467) ==14467== by 0x4D6B31A: THaAnalyzer::Process(THaRunBase*) (THaAnalyzer.C:1289) ==14467== by 0x4E21E97: G__haDict_704_0_6(G__value*, char const*, G__param*, int) (haDict.C:23491) ==14467== by 0x6DB6148: Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) (in /u/apps/root/5
-