fixed bug if number of entries of input trees are different and file is skiped.
again: fixed bug if number of entries of input trees are different and file is skiped.
added GetVectorProtonTarget() to GTreeTagger
compile with version c++0x.
delete autosaved cycles of not saved trees from file.
Added TNamed Object to tree that indicates the tree type, if it is a GoAT or a Physics tree. An Acqu tree does not have a TNamed flag. Also added functions to GTreeManager to Set the type of output file (SetAsGoATFile() and SetAsPhysicsFile()), and to check the input file (IsAcquFile(), IsGoATFile() and IsPhysicsFile()). GoAT class and example Physics classes will check the input type and set the correct output type.
bugfix in GetEntry for scaler correlated input trees.
TraverseValidEntries finds now correct events for scaler Reads. Once per sclaer read the virtual function ProcessScalerRead() is called.
automatic output every 50 scaler reads.
bugfix in GTreeDetectorHits. Array initialised correctly now.
added NTracks for WC to tree. Needed to calc efficiency.
Revert "added NTracks for WC to tree. Needed to calc efficiency."

This reverts commit 827d3a5975f5efd57eea50883191f4c7d9be033c.
created file for pi0-example main.
created file for eta-example main.
moved Init functions to GConfigFile. No overloaded function needed in Physics class.
error checking in GTreeParticle::Particle, to avoid seg fault.
    added GHistMamager with GLinkedHist.
    Every linked hist will be saved automaticly in the end.
    There is an optional Bool_t in the constructor of GLinkedHist to switch it of.
added name of output directory as a member of GLinkedHist. Write has been overwriten, now the output dir will be created first in output file and hist is written to there.
renamed GLinkedHist to GHistLinked.
better handling of dir name in GHistLinked.