|
|
Notes and Further References
The UserAnalysis class of Demo package is well worth careful study; once
you can understand
Demo/UserAnalysis.h
and
Demo/UserAnalysis.cxx
you are well on the way to writing your own reconstruction and
analysis modules. The following notes highlight some of the key
features:-
private: section of
UserAnalysis.h:-
this, which is always a pointer to the current
object makes it crystal clear that this is a member function call
and not a global function.fQtotMaxCut then it returns a
JobCResult representing a success otherwise a failure. If it cannot
find a CandDigitList at all then it returns with an error JobCResult.canddigit, the CandDigitListHandle. Its
starts by defining some local variables and reseting some
histograms:-
Demo/UserAnalysis.h Demo/UserAnalysis.cxxto see that you basically understand it, and then here are some things you could put some printout statements to see what is going on, for example in UserAnalysis::GetTotalCharge, after:-
| Contact: Nick West <n.west1@physics.ox.ac.uk> |
| Security, Privacy, Legal |
|