22  std::cout << 
"Create Histos" << std::endl;
 
   27    sprintf(name,
"L2249_%i_%i",0,i);
 
   36    sprintf(title,
"L2249 histogram for channel=%i",i);  
 
   38    TH1D *tmp = 
new TH1D(name,title,2048,0,2047);
 
   39    tmp->SetXTitle(
"ADC");
 
   40    tmp->SetYTitle(
"Number of Entries");
 
 
   56  for(
unsigned int i = 0; i < measurements.size(); i++){ 
 
   59    GetHistogram(chan)->Fill(measurements[i].GetMeasurement());
 
 
   68  printf(
"in begin run for TL2249\n");  
 
 
   75  printf(
"in end run for TL2249\n");
 
 
R__EXTERN TDirectory * gDirectory
T * GetEventData(const char *name)
Add a templated function that returns event data in the format that we want.
virtual TObject * Get(const char *namecycle)
virtual void SetSubTabName(std::string name)
Set the name of the sub-tab for these plots, if running DaqDisplay.
TH1 * GetHistogram(unsigned i)
A helper method for accessing each histogram. Does bounds checking.
Class for storing data from LeCroy 2249 module.
std::vector< LADCMeasurement > & GetMeasurements()
Get the Vector of ADC Measurements.
void EndRun(int transition, int run, int time)
Take actions at end run
TL2249Histograms()
Reset the histograms for this canvas.
void UpdateHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
void BeginRun(int transition, int run, int time)
Take actions at begin run.
void CreateHistograms()
Create Histograms and set labels and range.