Process one event.
137 primary_track.
end.GetXYZ(track.
end);
152 slice.
flash_score = interaction.slice.flash_match.score;
153 slice.
flash_time = interaction.slice.flash_match.time;
157 if (interaction.match.has_match) {
158 neutrino.
E = ev->truth[interaction.match.mctruth_track_id].neutrino.energy;
159 neutrino.
Q2 = ev->truth[interaction.match.mctruth_track_id].neutrino.Q2;
160 ev->truth[interaction.match.mctruth_track_id].neutrino.position.GetXYZ(neutrino.
vertex);
162 else neutrino.
E = -1;
166 for (
unsigned i = 0; i < 10; i++) event_info.
crt_hit_pes[i] = -1;
Track track
CRT Track match.
TVector3 start_momentum
Particle directional momentum for first trajectory point inside TPC AV [GeV].
float distance
//!< Distance from projected track to CRT Hit. Nonsense if present is false.
bool is_cosmic
Whether this particle is of cosmic origin.
CRTMatch crt_match
CRTMatch.
bool present
Whether this CRTMatch has a matching track.
int mcparticle_id
MCParticle ID of the particle this track matches to (same as the ID of the RecoTrack of that particle...
std::vector< numu::flat::FlatInteraction > fInteractions
process_name use argoneut_mc_hitfinder track
bool is_contained
is it contained in a single cryostat active volume
std::vector< numu::RecoEvent * > fRecoEvents
process_name standard_reco_uboone reco
float RangeMomentum(const numu::RecoTrack &track)
TVector3 start
start position of track
for($it=0;$it< $RaceTrack_number;$it++)
float length
Length of track.
float MCSMomentum(const numu::RecoTrack &track)
std::vector< numu::MCType > fMCTypes
bool present
Whether this CRTMatch has a matching hit.
bool PassFlashTrigger(const numu::RecoEvent &event) const
bool has_match
Whether a track match exists.
TrackTruthMatch match
Truth matching information.
int pdgid
Particle ID code.
float angle
Angle between TPC track and CRT track.
TVector3 end
end position of track
std::vector< TNtuple * > fNtuples
void SetEvent(numu::RecoEvent &event, const event::Event &core, const ana::SBNOsc::Cuts &cuts, numu::MCType file_type, bool use_calorimetry=true)
Wall wall_enter
the face of the TPC that the particle crosses on enter
Wall wall_exit
the face of the TPC that the particle crosses on exit
HitMatch hit_match
CRT Hit match.
float costh
cosine of angle to z axis
float start_time
start time of track
float time
Matching time [us] of track. T==0 is set to beam spill start time.