bug fix, saving e_f for fine timestamp in tree

This commit is contained in:
Ryan Tang 2023-11-14 16:48:05 -05:00
parent 445c31a516
commit 7d755c97a3
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ int main(int argc, char ** argv){
tree->Branch("e", e, "energy[multi]/s");
tree->Branch("e2", e2, "energy_short[multi]/s");
tree->Branch("e_t", e_t, "timestamp[multi]/l");
tree->Branch("e_f", e_t, "fine_timestamp[multi]/s");
tree->Branch("e_f", e_f, "fine_timestamp[multi]/s");
tree->Branch("lowFlag", lowFlag, "lowFlag[multi]/s");
tree->Branch("highFlag", highFlag, "highFlag[multi]/s");

View File

@ -37,7 +37,7 @@ class Hit {
uint16_t energy; // 16 bit
uint16_t energy_short; // 16 bit, only for PSD
uint64_t timestamp; // 48 bit
uint16_t fine_timestamp; // 16 bit
uint16_t fine_timestamp; // 10 bit
uint16_t flags_low_priority; // 12 bit
uint16_t flags_high_priority; // 8 bit
size_t traceLenght; // 64 bit