SBNAnaFiles Structure - PetrilloAtWork/sbncode GitHub Wiki
Currently partially copied from NOvA's CAF File Structure wiki. This will be updated over time but eventually Doxygen will be a better resource as it'll be should be up to date.
The StandardRecord provides the structure for the object that make up the SBN Ana Files.
{{toc}}
The header branch is called "hdr." It contains information helpful in identifying the slice and event.
Type | Variable Name | Short description |
---|---|---|
unsigned int | run | run number |
unsigned int | subrun | subrun number |
unsigned int | evt | art event number |
unsigned short | subevt | slice number within spill |
bool | ismc | MC = true, data = false |
Det_t | det | detector: 1 = SBND, 2 = MicroBooNE, 3 = ICARUS |
The slice branch is called "slc." This branch stores variables resulting from the slicer module. Slicer is designed to cluster hits in time.
Type | Variable Name | Short description |
---|---|---|
unsigned int | id | |
float | charge | |
TVector3 | vertex | vertex position in detector coordinates [cm] |
The track branch, named "trk," contains multiple vectors of SRTrack objects. These objects are sorted by descending track length; i.e. the longest track comes first and the shortest track comes last. (@check@)
Type | Variable Name | Short description |
---|---|---|
TVector3 | start | start position in detector coordinates [cm] |
TVector3 | end | end position in detector coordinates [cm] |
float | len | track length [cm] |
std::vector |
The shower branch, named "shw," contains multiple vectors of SRShower objects.
Type | Variable Name | Short description |
---|---|---|
int | bestplane | best reconstructed plane: 1= , 2 =, 3 =, |
float | density | density = best shower energy / best shower length [MeV/cm] |
float | len | length [cm] |
float | energy | energy [MeV] |
float | open_angle | opening angle [rad] |
std::vector | dEdx | calculated didx at each plane [] |
std::vector | energy | calculated didx at each plane [MeV] |
SRVector3D | dir | direction cosines at the start of the shower |
SRVector3D | start | start point in detector coordinates [cm] |