Skip to content
Snippets Groups Projects
user avatar
hallc-online authored
THcSpacePoint
  1) added fSetStubFlag which is intialized
     to kFALSE in constructor and set to kTRUE
     when SetStub is called.
   2) added method GetSetStubFlag which
      returns fSetStubFlag.

THcDriftchamber
   1) In ProcessHits increased fHits reserve to 40
   2) In FindSpacePoints use fSpacePoints->Delete();
   3) In LeftRight ,only SetStub if the Stub is fit.

THcDC
   1) In LinkStubs
      a) only link stubs if number of total spacepoints <10
      b) only link stubs if both spacepoints have SetStubFlag true

THcDCHit.h
   1) In constructor initalize fLR to 0

THcDCTrack.cxx
   1) AddSpacePoint check if fnSP < 10
9f98b2c0
History

hcana - Hall C ROOT/C++ analyzer

hcana is an under-development tool to analyze data from the HMS, SHMS and SOS spectrometers in Hall C at JLab. It is being developed to replace the historical Hall C analyzer, ENGINE, which was written in Fortran. hcana will be the package used to analyze Hall C date in the 12 GeV era. hcana is being written in C++, using the CERN ROOT framework. hcana is an extension to the Hall A analyzer, PODD.

NOTE: In the process of retrieving the hcana source code, a copy of the Hall A PODD package will be downloaded. The version of PODD included has been slightly modified for use with hcana. For an official version of PODD, see the ROOT/C++ Analyzer for Hall A page.

Downloading

Instructions for downloading hcana can be found in the Hall C Wiki.

Compiling

hcana may be compiled with either make or scons. Switching between these two build systems make require some cleanup of dependency files, binary files and other autogenerated files.

Before compiling, type source setup.sh or source setup.csh depending on whether your shell is bash or csh.

Compiling with make

make

Compiling with scons

scons

Additional SCons features

To do the equivalent of "make clean", do scons -c To compile with debug capabilities, do scons debug=1 To compile the standalone codes the are part of podd, do scons standalone=1 To run cppcheck (if installed) on the Hall C src diretory, do scons cppcheck=1

Running

Basic instructions on how to run hcana are in the Hall C Wiki.

Contributing

To participate in hcana code development, contact Mark Jones or Stephen Wood.