3 #include "TDirectory.h"
20 std::cout <<
"Create Agilent Histos" << std::endl;
25 sprintf(name,
"Agilent_%i_%i",0,i);
34 sprintf(title,
"Agilent histogram for channel=%i",i);
36 TH1D *tmp =
new TH1D(name,title,10000,0,10);
37 tmp->SetXTitle(
"Current (uA)");
71 printf(
"in end run for TAgilent\n");
R__EXTERN TDirectory * gDirectory
TAgilentHistograms()
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 Fill.
void EndRun(int transition, int run, int time)
Take actions at end run
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)
const uint64_t * GetData64() const
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.