22 |
*/ |
*/ |
23 |
std::string NeutronDetectorReader::GetVersionInfo(void) const { |
std::string NeutronDetectorReader::GetVersionInfo(void) const { |
24 |
return |
return |
25 |
"$Header: /home/cvsmanager/yoda/techmodel/physics/NeutronDetectorReader.cpp,v 2.3 2005/01/13 14:50:01 kusanagi Exp $"; |
"$Header: /home/cvsmanager/yoda/techmodel/physics/NeutronDetectorReader.cpp,v 2.5 2005/02/18 13:17:06 kusanagi Exp $"; |
26 |
} |
} |
27 |
|
|
28 |
/** |
/** |
65 |
for (int i = 0; i < 3; i++){ |
for (int i = 0; i < 3; i++){ |
66 |
offset = lenNeutronData - 4*i; |
offset = lenNeutronData - 4*i; |
67 |
rec = new(recs[i]) NeutronRecord(); //aggiungo un nuovo NeutronRecord all'evento |
rec = new(recs[i]) NeutronRecord(); //aggiungo un nuovo NeutronRecord all'evento |
68 |
rec->upperTrig = (((UINT8)data[lenght-offset])>>4); |
rec->trigPhysics = (UINT8)data[lenght-offset]; |
|
rec->bottomTrig = (((UINT8)data[lenght-offset])&0x0F); |
|
69 |
rec->upperBack = (((UINT8)data[lenght-offset+1])>>4); |
rec->upperBack = (((UINT8)data[lenght-offset+1])>>4); |
70 |
rec->bottomBack = (((UINT8)data[lenght-offset+1])&0x0F); |
rec->bottomBack = (((UINT8)data[lenght-offset+1])&0x0F); |
71 |
} |
} |