13#include "Trigger/TofHitCount.h"
15#include "Identifier/Identifier.h"
16#include "Identifier/TofID.h"
18#include "RawEvent/RawDataUtil.h"
19#include "RawEvent/DigiEvent.h"
44 for(std::vector<int>::iterator
iter = vtofHit.begin();
iter != vtofHit.end();
iter++) {
47 part = int (tofId/10000.);
48 layer = int ((tofId - part*10000)/1000.);
49 im = int ((tofId - part*10000 - layer*1000)/10.);
52 if(find(ecapHit.begin(),ecapHit.end(),im) == ecapHit.end()) {
53 ecapHit.push_back(im);
58 if(find(wcapHit.begin(),wcapHit.end(),im) == wcapHit.end()) {
59 wcapHit.push_back(im);
65 if(find(barrelHit1.begin(),barrelHit1.end(),im) == barrelHit1.end()) {
66 barrelHit1.push_back(im);
71 if(find(barrelHit2.begin(),barrelHit2.end(),im) == barrelHit2.end()) {
72 barrelHit2.push_back(im);
static TofHitCount * get_Tof(void)
void setTofDigi(std::vector< int > &vtofHit)