Skip to content

UBXSec Tree Variables

Marco Del Tutto edited this page Oct 12, 2017 · 5 revisions

This page describes the variables that are stored in the UBXSec tree.

Please find the most up-to-date version here.

General

These are general variables relative to each event.

Type Name Description
int run Run number
int subrun Subrun number
int event Event number
int fv Is 1 is the true neutrino vertex is in the fiducial volume
int ccnc Is 0 if CC, 1 if NC
int nupdg Neutrino flavour (pdg code)
double nu_e Neutrino energy

TPCObject Information

Information are saved in a vector. Each entry of a vector is one TPCObject. TPCObject is basically one reconstructed object, it can be on cosmic track with its delta rays, or a neutrino-induced muon track together with other proton tracks coming out from the neutrino interaction. In an event selection, you would take one event, then loop over the TPCObjects in the vector to see if one of those is a potential neutrino candidate.

Type Name Description
int nslices Number of TPCObjects in the event
std::vector<double> slc_origin Origin of the slice (0: neutrino, 1: cosmic, 2: mixed)
std::vector<double> slc_flsmatch_score Flash matching score (-9999 means failed to match)
std::vector<double> slc_flsmatch_qllx Estimated X position given by flash matching
std::vector<double> slc_flsmatch_tpcx TPC X position given by the flash time
std::vector<double> slc_flsmatch_hypoz Z center of the hypothesis flash
std::vector<double> slc_nuvtx_x(y,z) Reconstructed neutrino vertex (cm)
std::vector<double> slc_longesttrack_length Length of the longest track in the TPCObject
std::vector<double> slc_longesttrack_phi Phi angle of the longest track in the TPCObject
std::vector<double> slc_longesttrack_theta Theta angle of the longest track in the TPCObject
std::vector<bool> slc_longesttrack_iscontained True if the longest track in the TPCObject is contained
std::vector<bool> slc_iscontained True if the whole TPCObject is contained
std::vector<int> slc_npfp Number of PFParticles in the TPCObject
std::vector<int> slc_ntrack Number of Tracks in the TPCObject
std::vector<int> slc_nshower Number of Showers in the TPCObject
std::vector<int> slc_mult_pfp Multiplicity in terms of number of PFParticles
std::vector<int> slc_mult_track Multiplicity in terms of number of Tracks
std::vector<int> slc_mult_shower Multiplicity in terms of number of Shower
std::vector<int> slc_mult_track_tolerance Multiplicity in terms of number of Tracks close to 5cm to reco nu vtx.

Example

Print the flash matching score for each TPCObject in one event

for (size_t tpc_obj = 0; tpc_obj < nslices; tpcobj++) {

  std::cout << "TPCObject " << tpc_obj << ", flash matching score is " << slc_flsmatch_score.at(tpc_obj) << std::endl;

}

Flash information

Information are saved in a vector. To select the beam flash used for flash matching, use a time window of [3.2, 4.8] us. If there are more than two flashes in this window, reject the event.

Type Name Description
int nbeamfls Number of beam flashes in the event
std::vector<double> beamfls_time Time of the beam flash
std::vector<double> beamfls_pe PE of the beam flash
std::vector<double> beamfls_z Z centre of the beam flash

Clone this wiki locally