3TH1D*
hist = (TH1D*)(
GetOutputList()->FindObject(Form(
"Charge_0x%04x", fragment->ChannelAddress)));
6hist = (TH1D*)(
GetOutputList()->FindObject(Form(
"Energy_0x%04x", fragment->ChannelAddress)));
7if(
hist)
hist->Fill(fragment->GetEnergy());
13if(
mat && fragment->DetectorType <= 1)
mat->Fill(channel->GetNumber(), fragment->GetCharge(0));
16if(
mat && fragment->DetectorType <= 1)
mat->Fill(channel->GetNumber(), fragment->GetEnergy());
19if(
hist)
hist->Fill(channel->GetNumber());
25if(
hist && fragment->DetectorType <= 1)
hist->Fill(fragment->GetEnergy());
28if(
hist)
hist->Fill(fragment->ChannelId);
31if(
hist)
hist->Fill(fragment->MidasId);
34if(
hist)
hist->Fill(fragment->MidasTimeStamp);
37if(
hist)
hist->Fill(fragment->TriggerId);
40if(
hist && fragment->TriggerId < 0)
hist->Fill(fragment->GetCharge(0));
43if(
hist && fragment->TriggerId > 0)
hist->Fill(fragment->GetCharge(0));
46if(
hist && fragment->TriggerBitPattern > -1)
hist->Fill(fragment->TriggerBitPattern);
GetOutputList() -> Add(new TH1D("Charge_0x0000", "Charge_0x0000", 16000, 0, 8000))