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] ========================