Print

Print


Does anyone have an example of how to extract histogram information from
histograms created with the EventAnalyzer histogram method. I found the
information on Histogram sub-classes (Histogram1D etc.) that provides
the methods I want, but I cannot get them to work (I won't bore or amuse
you with my numerous attempts).  My analysis code is structured
something like this:

public class MCGenAnal01 extends AbstractProcessor
{
   LCDEvent _data = null;

   public void process(LCDEvent event)
   {
       final LCDEvent data = (LCDEvent) event;
       _data = (LCDEvent) event;
     // Call the first analysis module
       MCGenAnal();

     // ... other stuff
        ......
   } // process

 void MCGenAnal()
 {
     ........
    if (something_really_interesting)
    {
     // Make lots of histograms
        histogram("Momentum of "+pname).fill(ptot);
     // Extract information like mean, and bin-by-bin entries
        ??????
    }
    .......
 }
}

Thanks.
Bob

--
Robert J. Wilson
Professor of Physics
Department of Physics
Colorado State University
Fort Collins, CO 80523
Phone:   (970) 491 5033
Fax:     (970) 491 7947
Email: [log in to unmask]

August 2000 - July 2001:
========================
Institut de Fisica d'Altes Energies
Universitat Autonoma de Barcelona
E-08193 Bellaterra (Barcelona)
SPAIN
Phone: (011 34) 93 581.33.22
Fax:   (011 34) 93 581.19.38
Email: [log in to unmask]
========================