16 #include <TClonesArray.h>
36 fRawData =
static_cast<TClonesArray*
>(mgr->
GetObject(
"MBSRawItem"));
37 if (
nullptr == fRawData) {
41 fhQdc =
new TH1F(
"hQdc",
"Raw QDC distribution", 400, 0., 4000.);
42 fhTac =
new TH1F(
"hTac",
"Raw TAC distribution", 400, 0., 4000.);
43 fhClock =
new TH1F(
"hClock",
"Raw Clock distribution", 64, 0., 64.);
44 fhTacCh =
new TH1F(
"hTacCh",
"Raw TAC Channel distribution", 20, 0., 20.);
54 TCanvas* c1 =
new TCanvas(
"c1",
"", 10, 10, 500, 500);
67 TFolder* folder =
new TFolder(
"MbsDetFolder",
"Example Folder");
79 if (
nullptr == fRawData) {
82 Int_t nItems = fRawData->GetEntriesFast();
84 for (Int_t i = 0; i < nItems; i++) {
86 if (
nullptr == item) {
const UShort_t & GetTacData() const
static FairRootManager * Instance()
ClassImp(FairEventBuilder)
TObject * GetObject(const char *BrName)
const UShort_t & GetClock() const
FairMBSTask(const char *name, Int_t iVerbose)
void AddObject(TObject *object)
const UShort_t & GetTacCh() const
virtual void Exec(Option_t *)
void RegisterHttpCommand(TString name, TString command)
virtual InitStatus Init()
static FairRunOnline * Instance()
const UShort_t & GetQdcData() const