Common Analysis Files. More...
Classes | |
class | ParticleMatch |
class | SRBNBInfo |
class | SRCRTHit |
A hit from the CRT. More... | |
class | SRCRTHitMatch |
Matching information between a TPC Track and a CRT Hit. More... | |
class | SRCRTTrack |
class | SRCRTTrackMatch |
Matching information between a TPC Track and a CRT Track. More... | |
class | SRCRUMBSTPCVars |
< TPC input variables for CRUMBS PDS input variables for CRUMBS More... | |
class | SRCRUMBSPDSVars |
CRT input variables for CRUMBS. More... | |
class | SRCRUMBSCRTVars |
Result of the CRUMBS slice ID MVA. More... | |
class | SRCRUMBSResult |
class | SRFakeReco |
The SRFakeReco is a faked reconstruction using estimates from the SBN proposal. More... | |
class | SRFakeRecoParticle |
The SRFakeRecoParticle is a faked reconstruction using estimates from the SBN proposal. More... | |
class | SRFlashMatch |
A matching of TPC flashmatch charge to Optical flash light. More... | |
class | SRGlobal |
class | SRHeader |
Header representing overview information for the current event/slice. More... | |
class | SRSpacePoint |
Representation of a rb::Spacepoint, knows pfp ID and position. More... | |
class | SRHit |
Representation of a rb::Hit, knows hit amplitude and integral, geometric IDs, and time. More... | |
class | SRLorentzVector |
4-vector with more efficient storage than TLorentzVector More... | |
class | SRMeVPrtl |
class | SRNuID |
Slice Neutrino ID Score features (MVA inputs) More... | |
class | SRNuMIInfo |
class | SROpFlash |
Optical Flash – a summary of multiple optical hits that have been determined to be associated. More... | |
class | SRParticleMatch |
Match from a reconstructed track to a true particle */. More... | |
class | SRPFOChar |
Pfo Characterisation (track vs shower) features (MVA inputs) More... | |
class | SRPFP |
Representation of a rb::PFParticle, with hierarchy and Pandora metadata. More... | |
class | SRShowerPlaneInfo |
class | SRShower |
class | SRShowerRazzle |
Representation of Shower MVA PID outputs. More... | |
class | SRShowerSelection |
Shower Selection metrics calculated by ShowerSelectionVals. More... | |
class | SRSlice |
An SRSlice contains overarching information for a slice. More... | |
class | SRSliceRecoBranch |
Vectors of reconstructed objects found by various algorithms. More... | |
class | SRStubHit |
class | SRStubPlane |
class | SRStub |
class | SRTrack |
class | SRCaloPoint |
class | SRTrackCalo |
Calorimetry information. More... | |
class | SRTrackDazzle |
Representation of Track MVA PID outputs. More... | |
class | SRTrackScatterClosestApproach |
Representation of track scattering variables compare to interpolated start and end points. More... | |
class | SRTrackStoppingChi2Fit |
Representation of a Pol0 and Exp fit to dEdx vs res. range. More... | |
class | SRTrackTruth |
class | SRTrigger |
class | SRTrkChi2PID |
Track PID from dE/dx v. residual range Chi2. More... | |
class | SRTrkMCS |
class | SRTrkRange |
Representation of the reco momentum and PID a rb::Track from range. More... | |
class | SRMultiverse |
class | SRTrueInteractionPlaneInfo |
class | SRTrueInteraction |
The SRTrueInteraction is a representation of neutrino interaction information. More... | |
class | SRTrueParticlePlaneInfo |
class | SRTrueParticle |
Representation of a simb::MCParticle, knows energy, direction,. More... | |
class | SRTruthBranch |
Vectors of reconstructed vertices found by various algorithms. More... | |
class | SRTruthMatch |
An SRTruthMatch contains overarching information for a slice. More... | |
class | SRVector3D |
A 3-vector with more efficient storage than TVector3. More... | |
class | SRWeightMapEntry |
class | SRWeightParam |
class | SRWeightPSet |
class | StandardRecord |
The StandardRecord is the primary top-level object in the Common Analysis File trees. More... | |
class | CAFMaker |
Module to create Common Analysis Files from ART files. More... | |
struct | CAFMakerParams |
struct | HitsEnergy |
Typedefs | |
using | SRSliceProxy = caf::Proxy< caf::SRSlice > |
using | SRSpillProxy = caf::Proxy< caf::StandardRecord > |
Functions | |
caf::SRBNBInfo | makeSRBNBInfo (sbn::BNBSpillInfo const &info) |
void | FillExposure (const std::vector< sbn::BNBSpillInfo > &bnb_spill_info, std::vector< caf::SRBNBInfo > &BNBInfo, double &subRunPOT) |
void | FillExposureNuMI (const std::vector< sbn::NuMISpillInfo > &numi_spill_info, std::vector< caf::SRNuMIInfo > &NuMIInfo, double &subRunPOT) |
void | FillSliceFlashMatch (const sbn::SimpleFlashMatch *fmatch, caf::SRSlice &srslice, bool allowEmpty) |
void | FillSliceFlashMatchA (const sbn::SimpleFlashMatch *fmatch, caf::SRSlice &srslice, bool allowEmpty) |
void | FillSliceFlashMatchB (const sbn::SimpleFlashMatch *fmatch, caf::SRSlice &srslice, bool allowEmpty) |
bool | SelectSlice (const caf::SRSlice &slice, bool cut_clear_cosmic) |
void | FillStubVars (const sbn::Stub &stub, const art::Ptr< recob::PFParticle > stubpfp, caf::SRStub &srstub, bool allowEmpty) |
void | FillCRTHit (const sbn::crt::CRTHit &hit, uint64_t gate_start_timestamp, bool use_ts0, caf::SRCRTHit &srhit, bool allowEmpty) |
void | FillCRTTrack (const sbn::crt::CRTTrack &track, bool use_ts0, caf::SRCRTTrack &srtrack, bool allowEmpty) |
void | FillOpFlash (const recob::OpFlash &flash, int cryo, caf::SROpFlash &srflash, bool allowEmpty) |
std::vector< float > | double_to_float_vector (const std::vector< double > &v) |
void | FillShowerVars (const recob::Shower &shower, const recob::Vertex *vertex, const std::vector< art::Ptr< recob::Hit >> &hits, const geo::GeometryCore *geom, unsigned producer, caf::SRShower &srshower, bool allowEmpty) |
void | FillShowerRazzle (const art::Ptr< sbn::MVAPID > razzle, caf::SRShower &srshower, bool allowEmpty) |
void | FillShowerCosmicDist (const std::vector< art::Ptr< float > > &cosmicDistVec, caf::SRShower &srshower) |
void | FillShowerResiduals (const std::vector< art::Ptr< float > > &residuals, caf::SRShower &srshower) |
void | FillShowerTrackFit (const sbn::ShowerTrackFit &trackFit, caf::SRShower &srshower) |
void | FillShowerDensityFit (const sbn::ShowerDensityFit &densityFit, caf::SRShower &srshower) |
void | FillSliceVars (const recob::Slice &slice, const recob::PFParticle *primary, unsigned producer, caf::SRSlice &srslice, bool allowEmpty) |
void | FillSliceMetadata (const larpandoraobj::PFParticleMetadata *primary_meta, caf::SRSlice &srslice, bool allowEmpty) |
void | FillSliceVertex (const recob::Vertex *vertex, caf::SRSlice &slice, bool allowEmpty) |
void | FillSliceCRUMBS (const sbn::CRUMBSResult *crumbs, caf::SRSlice &slice, bool allowEmpty) |
void | FillTrackCRTHit (const std::vector< art::Ptr< anab::T0 >> &t0match, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackCRTTrack (const std::vector< art::Ptr< anab::T0 >> &t0match, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackMCS (const recob::Track &track, const std::array< std::vector< art::Ptr< recob::MCSFitResult >>, 4 > &mcs_results, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackRangeP (const recob::Track &track, const std::array< std::vector< art::Ptr< sbn::RangeP >>, 3 > &range_results, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillPlaneChi2PID (const anab::ParticleID &particle_id, caf::SRTrkChi2PID &srpid) |
void | FillTrackChi2PID (const std::vector< art::Ptr< anab::ParticleID >> particleIDs, const geo::GeometryCore *geom, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackPlaneCalo (const anab::Calorimetry &calo, const std::vector< art::Ptr< recob::Hit >> &hits, bool fill_calo_points, float fillhit_rrstart, float fillhit_rrend, const detinfo::DetectorPropertiesData &dprop, caf::SRTrackCalo &srcalo) |
void | FillTrackScatterClosestApproach (const art::Ptr< sbn::ScatterClosestApproach > closestapproach, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackStoppingChi2Fit (const art::Ptr< sbn::StoppingChi2Fit > stoppingChi2, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackDazzle (const art::Ptr< sbn::MVAPID > dazzle, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackCalo (const std::vector< art::Ptr< anab::Calorimetry >> &calos, const std::vector< art::Ptr< recob::Hit >> &hits, bool fill_calo_points, float fillhit_rrstart, float fillhit_rrend, const geo::GeometryCore *geom, const detinfo::DetectorPropertiesData &dprop, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillTrackVars (const recob::Track &track, unsigned producer, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillPFPVars (const recob::PFParticle &particle, const recob::PFParticle *primary, const larpandoraobj::PFParticleMetadata *pfpMeta, caf::SRPFP &srpfp, bool allowEmpty) |
void | FillHitVars (const recob::Hit &hit, unsigned producer, const recob::SpacePoint &spacepoint, const recob::PFParticle &particle, caf::SRHit &srhit, bool allowEmpty) |
void | SetNuMuCCPrimary (std::vector< caf::StandardRecord > &recs, std::vector< caf::SRTrueInteraction > &srneutrinos) |
void | ApplyNumuCCMatching (std::vector< caf::StandardRecord > &recs, const std::vector< caf::SRTrueInteraction > &srneutrinos, unsigned truth_ind) |
template<class T , class U > | |
void | CopyPropertyIfSet (const std::map< std::string, T > &props, const std::string &search, U &value) |
void | FillTrigger (const sbn::ExtraTriggerInfo &addltrig_info, const std::vector< raw::Trigger > &trig_info, std::vector< caf::SRTrigger > &triggerInfo) |
void | FillSRGlobal (const sbn::evwgh::EventWeightParameterSet &pset, caf::SRGlobal &srglobal, std::map< std::string, unsigned int > &weightPSetIndex) |
void | FillTrackTruth (const std::vector< art::Ptr< recob::Hit >> &hits, const std::map< int, caf::HitsEnergy > &id_hits_map, const std::vector< caf::SRTrueParticle > &particles, const detinfo::DetectorClocksData &clockData, caf::SRTrack &srtrack, bool allowEmpty) |
void | FillShowerTruth (const std::vector< art::Ptr< recob::Hit >> &hits, const std::map< int, caf::HitsEnergy > &id_hits_map, const std::vector< caf::SRTrueParticle > &particles, const detinfo::DetectorClocksData &clockData, caf::SRShower &srshower, bool allowEmpty) |
void | FillStubTruth (const std::vector< art::Ptr< recob::Hit >> &hits, const std::map< int, caf::HitsEnergy > &id_hits_map, const std::vector< caf::SRTrueParticle > &particles, const detinfo::DetectorClocksData &clockData, caf::SRStub &srstub, bool allowEmpty) |
void | FillSliceTruth (const std::vector< art::Ptr< recob::Hit >> &hits, const std::vector< art::Ptr< simb::MCTruth >> &neutrinos, const caf::SRTruthBranch &srmc, const cheat::ParticleInventoryService &inventory_service, const detinfo::DetectorClocksData &clockData, caf::SRSlice &srslice, bool allowEmpty) |
void | FillMeVPrtlTruth (const evgen::ldm::MeVPrtlTruth &truth, const std::vector< geo::BoxBoundedGeo > &active_volumes, caf::SRMeVPrtl &srtruth) |
void | FillSliceFakeReco (const std::vector< art::Ptr< recob::Hit >> &hits, const std::vector< art::Ptr< simb::MCTruth >> &neutrinos, const caf::SRTruthBranch &srmc, const cheat::ParticleInventoryService &inventory_service, const detinfo::DetectorClocksData &clockData, caf::SRSlice &srslice, const std::vector< caf::SRTrueParticle > &srparticles, const std::vector< art::Ptr< sim::MCTrack >> &mctracks, const std::vector< geo::BoxBoundedGeo > &volumes, TRandom &rand) |
void | FillTrueNeutrino (const art::Ptr< simb::MCTruth > mctruth, const simb::MCFlux &mcflux, const simb::GTruth >ruth, const std::vector< caf::SRTrueParticle > &srparticles, const std::map< int, std::vector< art::Ptr< recob::Hit >>> &id_to_truehit_map, caf::SRTrueInteraction &srneutrino, size_t i, const std::vector< geo::BoxBoundedGeo > &active_volumes) |
void | FillEventWeight (const sbn::evwgh::EventWeightMap &wgtmap, caf::SRTrueInteraction &srint, const std::map< std::string, unsigned int > &weightPSetIndex) |
void | FillTrueG4Particle (const simb::MCParticle &particle, const std::vector< geo::BoxBoundedGeo > &active_volumes, const std::vector< std::vector< geo::BoxBoundedGeo >> &tpc_volumes, const std::map< int, std::vector< std::pair< geo::WireID, const sim::IDE * >>> &id_to_ide_map, const std::map< int, std::vector< art::Ptr< recob::Hit >>> &id_to_truehit_map, const cheat::BackTrackerService &backtracker, const cheat::ParticleInventoryService &inventory_service, const std::vector< art::Ptr< simb::MCTruth >> &neutrinos, caf::SRTrueParticle &srparticle) |
void | FillFakeReco (const std::vector< art::Ptr< simb::MCTruth >> &mctruths, const std::vector< caf::SRTrueParticle > &srparticles, const std::vector< art::Ptr< sim::MCTrack >> &mctracks, const std::vector< geo::BoxBoundedGeo > &volumes, TRandom &rand, std::vector< caf::SRFakeReco > &srfakereco) |
std::map< int, caf::HitsEnergy > | SetupIDHitEnergyMap (const std::vector< art::Ptr< recob::Hit >> &allHits, const detinfo::DetectorClocksData &clockData, const cheat::BackTrackerService &backtracker) |
std::map< int, std::vector < art::Ptr< recob::Hit > > > | PrepTrueHits (const std::vector< art::Ptr< recob::Hit >> &allHits, const detinfo::DetectorClocksData &clockData, const cheat::BackTrackerService &backtracker) |
std::map< int, std::vector < std::pair< geo::WireID, const sim::IDE * > > > | PrepSimChannels (const std::vector< art::Ptr< sim::SimChannel >> &simchannels, const geo::GeometryCore &geo) |
caf::Wall_t | GetWallCross (const geo::BoxBoundedGeo &volume, const TVector3 p0, const TVector3 p1) |
caf::g4_process_ | GetG4ProcessID (const std::string &name) |
template<class T > | |
std::vector< T > | PtrVecToVec (const art::PtrVector< T > &xs) |
Variables | |
constexpr float | kSignalingNaN = std::numeric_limits<float>::signaling_NaN() |
constexpr int | kUninitializedInt = -1 |
Common Analysis Files.
using caf::SRSliceProxy = typedef caf::Proxy<caf::SRSlice> |
Definition at line 2 of file EpilogFwd.h.
using caf::SRSpillProxy = typedef caf::Proxy<caf::StandardRecord> |
Definition at line 3 of file EpilogFwd.h.
enum caf::Det_t |
Which SBN detector?
Enumerator | |
---|---|
kUNKNOWN |
Unknown detector. |
kSBND |
Near Detector. |
kICARUS |
Far Detector. |
Definition at line 7 of file SREnums.h.
enum caf::g4_process_ |
Which G4 process ?
Definition at line 155 of file SREnums.h.
enum caf::generator_ |
Which generator?
Enumerator | |
---|---|
kUnknownGenerator | |
kGENIE | |
kMeVPrtl |
These values are taken from nusimdata/SimulationBase/MCNeutrino.h (where they are probably copied from some genie header). Duplicating that information here is sub-optimal, but less sub-optimal than adding a dependency on larsoft to interpret the CAF files.
Enumerator | |
---|---|
kUnknownInteractionMode | |
kQE | |
kRes | |
kDIS | |
kCoh | |
kCohElastic | |
kElectronScattering | |
kIMDAnnihilation | |
kInverseBetaDecay | |
kGlashowResonance | |
kAMNuGamma | |
kMEC | |
kDiffractive | |
kEM | |
kWeakMix |
Definition at line 62 of file SREnums.h.
Definition at line 82 of file SREnums.h.
enum caf::genie_status_ |
Which genie status?
Definition at line 137 of file SREnums.h.
enum caf::MCType_t |
Which type of MC?
Enumerator | |
---|---|
kMCUnknown | |
kMCParticleGun | |
kMCNeutrino | |
kMCCosmic | |
kMCOverlay |
Definition at line 34 of file SREnums.h.
enum caf::mevprtlchannel_ |
Enumerator | |
---|---|
kUnknownMeVPrtlChannel | |
kMeVPrtlHiggs | |
kMeVPrtlHNL |
enum caf::Plane_t |
Enumerator | |
---|---|
kUnknown | |
k1stInduction | |
k2ndInduction | |
kCollection |
Definition at line 14 of file SREnums.h.
enum caf::ReweightType_t |
Enumerator | |
---|---|
kDefault | |
kMultiSim | |
kPMNSigma | |
kFixed | |
kMultiSigma |
Definition at line 224 of file SREnums.h.
enum caf::Wall_t |
Enumerator | |
---|---|
kWallNone | |
kWallTop | |
kWallBottom | |
kWallLeft | |
kWallRight | |
kWallFront | |
kWallBack |
Definition at line 22 of file SREnums.h.
void caf::ApplyNumuCCMatching | ( | std::vector< caf::StandardRecord > & | recs, |
const std::vector< caf::SRTrueInteraction > & | srneutrinos, | ||
unsigned | truth_ind | ||
) |
Definition at line 777 of file FillReco.cxx.
void caf::CopyPropertyIfSet | ( | const std::map< std::string, T > & | props, |
const std::string & | search, | ||
U & | value | ||
) |
Definition at line 902 of file FillReco.cxx.
std::vector<float> caf::double_to_float_vector | ( | const std::vector< double > & | v | ) |
Definition at line 152 of file FillReco.cxx.
void caf::FillCRTHit | ( | const sbn::crt::CRTHit & | hit, |
uint64_t | gate_start_timestamp, | ||
bool | use_ts0, | ||
caf::SRCRTHit & | srhit, | ||
bool | allowEmpty | ||
) |
Definition at line 63 of file FillReco.cxx.
void caf::FillCRTTrack | ( | const sbn::crt::CRTTrack & | track, |
bool | use_ts0, | ||
caf::SRCRTTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 86 of file FillReco.cxx.
void caf::FillEventWeight | ( | const sbn::evwgh::EventWeightMap & | wgtmap, |
caf::SRTrueInteraction & | srint, | ||
const std::map< std::string, unsigned int > & | weightPSetIndex | ||
) |
Definition at line 414 of file FillTrue.cxx.
void caf::FillExposure | ( | const std::vector< sbn::BNBSpillInfo > & | bnb_spill_info, |
std::vector< caf::SRBNBInfo > & | BNBInfo, | ||
double & | subRunPOT | ||
) |
Definition at line 35 of file FillExposure.cxx.
void caf::FillExposureNuMI | ( | const std::vector< sbn::NuMISpillInfo > & | numi_spill_info, |
std::vector< caf::SRNuMIInfo > & | NuMIInfo, | ||
double & | subRunPOT | ||
) |
Definition at line 45 of file FillExposure.cxx.
void caf::FillFakeReco | ( | const std::vector< art::Ptr< simb::MCTruth >> & | mctruths, |
const std::vector< caf::SRTrueParticle > & | srparticles, | ||
const std::vector< art::Ptr< sim::MCTrack >> & | mctracks, | ||
const std::vector< geo::BoxBoundedGeo > & | volumes, | ||
TRandom & | rand, | ||
std::vector< caf::SRFakeReco > & | srfakereco | ||
) |
Definition at line 636 of file FillTrue.cxx.
void caf::FillHitVars | ( | const recob::Hit & | hit, |
unsigned | producer, | ||
const recob::SpacePoint & | spacepoint, | ||
const recob::PFParticle & | particle, | ||
caf::SRHit & | srhit, | ||
bool | allowEmpty | ||
) |
Definition at line 738 of file FillReco.cxx.
void caf::FillMeVPrtlTruth | ( | const evgen::ldm::MeVPrtlTruth & | truth, |
const std::vector< geo::BoxBoundedGeo > & | active_volumes, | ||
caf::SRMeVPrtl & | srtruth | ||
) |
Definition at line 182 of file FillTrue.cxx.
void caf::FillOpFlash | ( | const recob::OpFlash & | flash, |
int | cryo, | ||
caf::SROpFlash & | srflash, | ||
bool | allowEmpty | ||
) |
Definition at line 114 of file FillReco.cxx.
void caf::FillPFPVars | ( | const recob::PFParticle & | particle, |
const recob::PFParticle * | primary, | ||
const larpandoraobj::PFParticleMetadata * | pfpMeta, | ||
caf::SRPFP & | srpfp, | ||
bool | allowEmpty | ||
) |
Definition at line 698 of file FillReco.cxx.
void caf::FillPlaneChi2PID | ( | const anab::ParticleID & | particle_id, |
caf::SRTrkChi2PID & | srpid | ||
) |
Definition at line 477 of file FillReco.cxx.
void caf::FillShowerCosmicDist | ( | const std::vector< art::Ptr< float > > & | cosmicDistVec, |
caf::SRShower & | srshower | ||
) |
Definition at line 239 of file FillReco.cxx.
void caf::FillShowerDensityFit | ( | const sbn::ShowerDensityFit & | densityFit, |
caf::SRShower & | srshower | ||
) |
Definition at line 262 of file FillReco.cxx.
void caf::FillShowerRazzle | ( | const art::Ptr< sbn::MVAPID > | razzle, |
caf::SRShower & | srshower, | ||
bool | allowEmpty | ||
) |
Definition at line 226 of file FillReco.cxx.
void caf::FillShowerResiduals | ( | const std::vector< art::Ptr< float > > & | residuals, |
caf::SRShower & | srshower | ||
) |
Definition at line 247 of file FillReco.cxx.
void caf::FillShowerTrackFit | ( | const sbn::ShowerTrackFit & | trackFit, |
caf::SRShower & | srshower | ||
) |
Definition at line 255 of file FillReco.cxx.
void caf::FillShowerTruth | ( | const std::vector< art::Ptr< recob::Hit >> & | hits, |
const std::map< int, caf::HitsEnergy > & | id_hits_map, | ||
const std::vector< caf::SRTrueParticle > & | particles, | ||
const detinfo::DetectorClocksData & | clockData, | ||
caf::SRShower & | srshower, | ||
bool | allowEmpty | ||
) |
Definition at line 134 of file FillTrue.cxx.
void caf::FillShowerVars | ( | const recob::Shower & | shower, |
const recob::Vertex * | vertex, | ||
const std::vector< art::Ptr< recob::Hit >> & | hits, | ||
const geo::GeometryCore * | geom, | ||
unsigned | producer, | ||
caf::SRShower & | srshower, | ||
bool | allowEmpty | ||
) |
Definition at line 161 of file FillReco.cxx.
void caf::FillSliceCRUMBS | ( | const sbn::CRUMBSResult * | crumbs, |
caf::SRSlice & | slice, | ||
bool | allowEmpty | ||
) |
Definition at line 345 of file FillReco.cxx.
void caf::FillSliceFakeReco | ( | const std::vector< art::Ptr< recob::Hit >> & | hits, |
const std::vector< art::Ptr< simb::MCTruth >> & | neutrinos, | ||
const caf::SRTruthBranch & | srmc, | ||
const cheat::ParticleInventoryService & | inventory_service, | ||
const detinfo::DetectorClocksData & | clockData, | ||
caf::SRSlice & | srslice, | ||
const std::vector< caf::SRTrueParticle > & | srparticles, | ||
const std::vector< art::Ptr< sim::MCTrack >> & | mctracks, | ||
const std::vector< geo::BoxBoundedGeo > & | volumes, | ||
TRandom & | rand | ||
) |
Definition at line 238 of file FillTrue.cxx.
void caf::FillSliceFlashMatch | ( | const sbn::SimpleFlashMatch * | fmatch, |
caf::SRSlice & | srslice, | ||
bool | allowEmpty | ||
) |
Definition at line 14 of file FillFlashMatch.cxx.
void caf::FillSliceFlashMatchA | ( | const sbn::SimpleFlashMatch * | fmatch, |
caf::SRSlice & | srslice, | ||
bool | allowEmpty | ||
) |
Definition at line 36 of file FillFlashMatch.cxx.
void caf::FillSliceFlashMatchB | ( | const sbn::SimpleFlashMatch * | fmatch, |
caf::SRSlice & | srslice, | ||
bool | allowEmpty | ||
) |
Definition at line 58 of file FillFlashMatch.cxx.
void caf::FillSliceMetadata | ( | const larpandoraobj::PFParticleMetadata * | primary_meta, |
caf::SRSlice & | srslice, | ||
bool | allowEmpty | ||
) |
Definition at line 292 of file FillReco.cxx.
void caf::FillSliceTruth | ( | const std::vector< art::Ptr< recob::Hit >> & | hits, |
const std::vector< art::Ptr< simb::MCTruth >> & | neutrinos, | ||
const caf::SRTruthBranch & | srmc, | ||
const cheat::ParticleInventoryService & | inventory_service, | ||
const detinfo::DetectorClocksData & | clockData, | ||
caf::SRSlice & | srslice, | ||
bool | allowEmpty | ||
) |
Definition at line 160 of file FillTrue.cxx.
void caf::FillSliceVars | ( | const recob::Slice & | slice, |
const recob::PFParticle * | primary, | ||
unsigned | producer, | ||
caf::SRSlice & | srslice, | ||
bool | allowEmpty | ||
) |
Definition at line 269 of file FillReco.cxx.
void caf::FillSliceVertex | ( | const recob::Vertex * | vertex, |
caf::SRSlice & | slice, | ||
bool | allowEmpty | ||
) |
Definition at line 334 of file FillReco.cxx.
void caf::FillSRGlobal | ( | const sbn::evwgh::EventWeightParameterSet & | pset, |
caf::SRGlobal & | srglobal, | ||
std::map< std::string, unsigned int > & | weightPSetIndex | ||
) |
Definition at line 89 of file FillTrue.cxx.
void caf::FillStubTruth | ( | const std::vector< art::Ptr< recob::Hit >> & | hits, |
const std::map< int, caf::HitsEnergy > & | id_hits_map, | ||
const std::vector< caf::SRTrueParticle > & | particles, | ||
const detinfo::DetectorClocksData & | clockData, | ||
caf::SRStub & | srstub, | ||
bool | allowEmpty | ||
) |
Definition at line 147 of file FillTrue.cxx.
void caf::FillStubVars | ( | const sbn::Stub & | stub, |
const art::Ptr< recob::PFParticle > | stubpfp, | ||
caf::SRStub & | srstub, | ||
bool | allowEmpty | ||
) |
Definition at line 19 of file FillReco.cxx.
void caf::FillTrackCalo | ( | const std::vector< art::Ptr< anab::Calorimetry >> & | calos, |
const std::vector< art::Ptr< recob::Hit >> & | hits, | ||
bool | fill_calo_points, | ||
float | fillhit_rrstart, | ||
float | fillhit_rrend, | ||
const geo::GeometryCore * | geom, | ||
const detinfo::DetectorPropertiesData & | dprop, | ||
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 630 of file FillReco.cxx.
void caf::FillTrackChi2PID | ( | const std::vector< art::Ptr< anab::ParticleID >> | particleIDs, |
const geo::GeometryCore * | geom, | ||
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 518 of file FillReco.cxx.
void caf::FillTrackCRTHit | ( | const std::vector< art::Ptr< anab::T0 >> & | t0match, |
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 379 of file FillReco.cxx.
void caf::FillTrackCRTTrack | ( | const std::vector< art::Ptr< anab::T0 >> & | t0match, |
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 399 of file FillReco.cxx.
void caf::FillTrackDazzle | ( | const art::Ptr< sbn::MVAPID > | dazzle, |
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 617 of file FillReco.cxx.
void caf::FillTrackMCS | ( | const recob::Track & | track, |
const std::array< std::vector< art::Ptr< recob::MCSFitResult >>, 4 > & | mcs_results, | ||
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 413 of file FillReco.cxx.
void caf::FillTrackPlaneCalo | ( | const anab::Calorimetry & | calo, |
const std::vector< art::Ptr< recob::Hit >> & | hits, | ||
bool | fill_calo_points, | ||
float | fillhit_rrstart, | ||
float | fillhit_rrend, | ||
const detinfo::DetectorPropertiesData & | dprop, | ||
caf::SRTrackCalo & | srcalo | ||
) |
Definition at line 534 of file FillReco.cxx.
void caf::FillTrackRangeP | ( | const recob::Track & | track, |
const std::array< std::vector< art::Ptr< sbn::RangeP >>, 3 > & | range_results, | ||
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 456 of file FillReco.cxx.
void caf::FillTrackScatterClosestApproach | ( | const art::Ptr< sbn::ScatterClosestApproach > | closestapproach, |
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 599 of file FillReco.cxx.
void caf::FillTrackStoppingChi2Fit | ( | const art::Ptr< sbn::StoppingChi2Fit > | stoppingChi2, |
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 608 of file FillReco.cxx.
void caf::FillTrackTruth | ( | const std::vector< art::Ptr< recob::Hit >> & | hits, |
const std::map< int, caf::HitsEnergy > & | id_hits_map, | ||
const std::vector< caf::SRTrueParticle > & | particles, | ||
const detinfo::DetectorClocksData & | clockData, | ||
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 118 of file FillTrue.cxx.
void caf::FillTrackVars | ( | const recob::Track & | track, |
unsigned | producer, | ||
caf::SRTrack & | srtrack, | ||
bool | allowEmpty | ||
) |
Definition at line 668 of file FillReco.cxx.
void caf::FillTrigger | ( | const sbn::ExtraTriggerInfo & | addltrig_info, |
const std::vector< raw::Trigger > & | trig_info, | ||
std::vector< caf::SRTrigger > & | triggerInfo | ||
) |
Definition at line 6 of file FillTrigger.cxx.
void caf::FillTrueG4Particle | ( | const simb::MCParticle & | particle, |
const std::vector< geo::BoxBoundedGeo > & | active_volumes, | ||
const std::vector< std::vector< geo::BoxBoundedGeo >> & | tpc_volumes, | ||
const std::map< int, std::vector< std::pair< geo::WireID, const sim::IDE * >>> & | id_to_ide_map, | ||
const std::map< int, std::vector< art::Ptr< recob::Hit >>> & | id_to_truehit_map, | ||
const cheat::BackTrackerService & | backtracker, | ||
const cheat::ParticleInventoryService & | inventory_service, | ||
const std::vector< art::Ptr< simb::MCTruth >> & | neutrinos, | ||
caf::SRTrueParticle & | srparticle | ||
) |
Definition at line 434 of file FillTrue.cxx.
void caf::FillTrueNeutrino | ( | const art::Ptr< simb::MCTruth > | mctruth, |
const simb::MCFlux & | mcflux, | ||
const simb::GTruth & | gtruth, | ||
const std::vector< caf::SRTrueParticle > & | srparticles, | ||
const std::map< int, std::vector< art::Ptr< recob::Hit >>> & | id_to_truehit_map, | ||
caf::SRTrueInteraction & | srneutrino, | ||
size_t | i, | ||
const std::vector< geo::BoxBoundedGeo > & | active_volumes | ||
) |
Definition at line 258 of file FillTrue.cxx.
caf::g4_process_ caf::GetG4ProcessID | ( | const std::string & | name | ) |
Definition at line 1094 of file FillTrue.cxx.
caf::Wall_t caf::GetWallCross | ( | const geo::BoxBoundedGeo & | volume, |
const TVector3 | p0, | ||
const TVector3 | p1 | ||
) |
Definition at line 1052 of file FillTrue.cxx.
caf::SRBNBInfo caf::makeSRBNBInfo | ( | sbn::BNBSpillInfo const & | info | ) |
Definition at line 7 of file FillExposure.cxx.
std::map< int, std::vector< std::pair< geo::WireID, const sim::IDE * > > > caf::PrepSimChannels | ( | const std::vector< art::Ptr< sim::SimChannel >> & | simchannels, |
const geo::GeometryCore & | geo | ||
) |
Definition at line 685 of file FillTrue.cxx.
std::map< int, std::vector< art::Ptr< recob::Hit > > > caf::PrepTrueHits | ( | const std::vector< art::Ptr< recob::Hit >> & | allHits, |
const detinfo::DetectorClocksData & | clockData, | ||
const cheat::BackTrackerService & | backtracker | ||
) |
Definition at line 674 of file FillTrue.cxx.
std::vector<T> caf::PtrVecToVec | ( | const art::PtrVector< T > & | xs | ) |
Definition at line 16 of file sbncode/sbncode/CAFMaker/Utils.h.
bool caf::SelectSlice | ( | const caf::SRSlice & | slice, |
bool | cut_clear_cosmic | ||
) |
Definition at line 14 of file FillReco.cxx.
void caf::SetNuMuCCPrimary | ( | std::vector< caf::StandardRecord > & | recs, |
std::vector< caf::SRTrueInteraction > & | srneutrinos | ||
) |
Definition at line 765 of file FillReco.cxx.
std::map< int, caf::HitsEnergy > caf::SetupIDHitEnergyMap | ( | const std::vector< art::Ptr< recob::Hit >> & | allHits, |
const detinfo::DetectorClocksData & | clockData, | ||
const cheat::BackTrackerService & | backtracker | ||
) |
Definition at line 657 of file FillTrue.cxx.
constexpr float caf::kSignalingNaN = std::numeric_limits<float>::signaling_NaN() |
Definition at line 8 of file SRConstants.h.
constexpr int caf::kUninitializedInt = -1 |
Definition at line 9 of file SRConstants.h.