62 hPileUpPerBlock =
new TH1I(
"hPileUpPerBlock",
"Number of Pile Up; Percent; Counts",100,0.,1);
70 unsigned int nPileUp = 0;
75 std::map< std::string, std::vector<TPulseIsland*> >::iterator iBank;
76 std::vector<TPulseIsland*> *musc_pulses = NULL;
77 std::vector<TPulseIsland*>::iterator curr_musc_pulse, next_musc_pulse;
79 for (iBank = tpis.begin(); iBank != tpis.end(); iBank++) {
80 if (dets.at(iBank->first) ==
"muSC") {
81 musc_pulses = &tpis.at(iBank->first);
82 curr_musc_pulse = musc_pulses->begin();
83 next_musc_pulse = curr_musc_pulse + 1;
88 for (; curr_musc_pulse != musc_pulses->end();) {
89 if ((*next_musc_pulse)->GetPulseTime() - (*curr_musc_pulse)->GetPulseTime() <
pileup_tw)