#include <StubBuilder.h>
Public Member Functions | |
void | Setup (const art::Event &e, const art::InputTag &pfplabel, const art::InputTag &trklabel) |
sbn::Stub | FromVertexHit (const art::Ptr< recob::Slice > &slice, const sbn::VertexHit &vhit, const recob::Hit &vhit_hit, const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, const detinfo::DetectorClocksData &dclock, const detinfo::DetectorPropertiesData &dprop, const art::Event &e, std::vector< art::Ptr< recob::Hit >> &stub_hits, art::Ptr< recob::PFParticle > &stub_pfp) |
StubBuilder (fhicl::ParameterSet const &p, bool PositionsAreSCECorrected) | |
Private Member Functions | |
double | Normalize (double dQdx, const art::Event &e, const recob::Hit &h, const geo::Point_t &location, const geo::Vector_t &direction, double t0) |
Private Attributes | |
calo::CalorimetryAlg | fCaloAlg |
bool | fPositionsAreSCECorrected |
std::vector< fhicl::ParameterSet > | fNormToolConfig |
std::vector< std::unique_ptr < INormalizeCharge > > | fNormTools |
std::map< unsigned, std::vector< art::Ptr < recob::Hit > > > | fSliceHits |
std::map< unsigned, std::vector< art::Ptr < recob::PFParticle > > > | fSlicePFPs |
std::map< unsigned, std::vector< art::Ptr < recob::Track > > > | fSliceTrks |
std::map< unsigned, std::vector< std::vector < art::Ptr< recob::Hit > > > > | fSlicePFPHits |
std::map< unsigned, std::vector< std::vector < art::Ptr< recob::Hit > > > > | fSliceTrkHits |
std::map< unsigned, std::vector< std::vector < const recob::TrackHitMeta * > > > | fSliceTrkTHMs |
Helper class which takes in data product information from the event and makes stub objects from hits near the vertex.
Definition at line 36 of file StubBuilder.h.
|
inline |
Definition at line 51 of file StubBuilder.h.
sbn::Stub sbn::StubBuilder::FromVertexHit | ( | const art::Ptr< recob::Slice > & | slice, |
const sbn::VertexHit & | vhit, | ||
const recob::Hit & | vhit_hit, | ||
const geo::GeometryCore * | geo, | ||
const spacecharge::SpaceCharge * | sce, | ||
const detinfo::DetectorClocksData & | dclock, | ||
const detinfo::DetectorPropertiesData & | dprop, | ||
const art::Event & | e, | ||
std::vector< art::Ptr< recob::Hit >> & | stub_hits, | ||
art::Ptr< recob::PFParticle > & | stub_pfp | ||
) |
Definition at line 215 of file StubBuilder.cxx.
|
private |
Definition at line 193 of file StubBuilder.cxx.
void sbn::StubBuilder::Setup | ( | const art::Event & | e, |
const art::InputTag & | pfplabel, | ||
const art::InputTag & | trklabel | ||
) |
Definition at line 129 of file StubBuilder.cxx.
|
private |
Definition at line 63 of file StubBuilder.h.
|
private |
Definition at line 65 of file StubBuilder.h.
|
private |
Definition at line 66 of file StubBuilder.h.
|
private |
Definition at line 64 of file StubBuilder.h.
|
private |
Definition at line 69 of file StubBuilder.h.
|
private |
Definition at line 72 of file StubBuilder.h.
|
private |
Definition at line 70 of file StubBuilder.h.
|
private |
Definition at line 73 of file StubBuilder.h.
|
private |
Definition at line 71 of file StubBuilder.h.
|
private |
Definition at line 74 of file StubBuilder.h.