ROOT Analyzer/Running

From HallCWiki
Revision as of 15:26, 16 March 2012 by Jhlee (Talk | contribs)

Jump to: navigation, search

The current Hall C C++ analyzer code does not do anything useful except for reading in Hall C style CTP parameter files.

To run the analyzer, type


Once it starts up, type


To dump the parameters read


Some examples of accessing individual variables

 analyzer [3]  Double_t ProtonMass = *(Double_t *)gHcParms->Find("proton")->GetValuePointer();
 analyzer [4] ProtonMass
 analyzer [5] Int_t *integerarray = (Int_t *)gHcParms->Find("integerarray")->GetValuePointer();
 analyzer [6] integerarray[3]