Definition at line 76 of file TrackHitAna_module.cc.
TrackHitAna::TrackHitAna::TrackHitAna |
( |
fhicl::ParameterSet const & |
pset | ) |
|
|
explicit |
Definition at line 147 of file TrackHitAna_module.cc.
148 : EDAnalyzer(parameterSet),
152 fGeometry = lar::providerFrom<geo::Geometry>();
void reconfigure(fhicl::ParameterSet const &pset)
const geo::GeometryCore * fGeometry
const lariov::DetPedestalProvider & fPedestalRetrievalAlg
Keep track of an instance to the pedestal retrieval alg.
TrackHitAna::TrackHitAna::~TrackHitAna |
( |
| ) |
|
|
virtual |
void TrackHitAna::TrackHitAna::analyze |
( |
const art::Event & |
evt | ) |
|
Definition at line 213 of file TrackHitAna_module.cc.
216 fEvent =
event.id().event();
225 art::Handle< std::vector<recob::Hit> > hitHandle;
226 event.getByLabel(hitLabel, hitHandle);
228 if (hitHandle.isValid())
231 art::fill_ptr_vector(allHitVec, hitHandle);
std::vector< std::unique_ptr< IHitHistogramTool > > fHitHistogramToolVec
std::vector< art::InputTag > fHitProducerLabelVec
void TrackHitAna::TrackHitAna::beginJob |
( |
| ) |
|
Definition at line 164 of file TrackHitAna_module.cc.
172 art::ServiceHandle<art::TFileService>
tfs;
std::vector< std::unique_ptr< IHitHistogramTool > > fHitHistogramToolVec
art::ServiceHandle< art::TFileService > tfs
void TrackHitAna::TrackHitAna::beginRun |
( |
const art::Run & |
run | ) |
|
void TrackHitAna::TrackHitAna::endJob |
( |
| ) |
|
Definition at line 240 of file TrackHitAna_module.cc.
std::vector< std::unique_ptr< IHitHistogramTool > > fHitHistogramToolVec
double TrackHitAna::TrackHitAna::length |
( |
const recob::Track * |
track | ) |
|
|
private |
double TrackHitAna::TrackHitAna::projectedLength |
( |
const recob::Track * |
track | ) |
|
|
private |
void TrackHitAna::TrackHitAna::reconfigure |
( |
fhicl::ParameterSet const & |
pset | ) |
|
Definition at line 194 of file TrackHitAna_module.cc.
198 fHitProducerLabelVec =
p.get< std::vector<art::InputTag> >(
"HitModuleLabel", std::vector<art::InputTag>() = {
"gauss"});
199 fPFParticleProducerLabelVec =
p.get< std::vector<art::InputTag> >(
"PFParticleProducerLabel", std::vector<art::InputTag>() = {
"cluster3d"});
200 fTrackProducerLabelVec =
p.get< std::vector<art::InputTag> >(
"TrackProducerLabel", std::vector<art::InputTag>() = {
"trackkalmanhit"});
201 fWireProducerLabelVec =
p.get< std::vector<art::InputTag> >(
"WireProducerLabel", std::vector<art::InputTag>() = {
"caldata"});
204 const std::vector<fhicl::ParameterSet>& hitHistogramToolVec =
p.get<std::vector<fhicl::ParameterSet>>(
"HitHistogramToolList");
206 for(
auto& hitHistogramTool : hitHistogramToolVec)
std::vector< std::unique_ptr< IHitHistogramTool > > fHitHistogramToolVec
std::vector< art::InputTag > fPFParticleProducerLabelVec
std::vector< art::InputTag > fHitProducerLabelVec
std::vector< art::InputTag > fTrackProducerLabelVec
std::vector< art::InputTag > fWireProducerLabelVec
int TrackHitAna::TrackHitAna::traversePFParticleHierarchy |
( |
art::Handle< std::vector< recob::PFParticle >> & |
pfParticleHandle, |
|
|
size_t |
pfParticleIdx, |
|
|
const art::FindManyP< recob::Track > & |
trackAssns, |
|
|
const art::FindManyP< recob::Vertex > & |
vertexAssns, |
|
|
int & |
nTracks, |
|
|
int & |
nVertices |
|
) |
| const |
|
private |
std::vector<std::vector<double> > TrackHitAna::TrackHitAna::fChannelPedVec |
|
private |
int TrackHitAna::TrackHitAna::fEvent |
|
private |
std::vector<std::unique_ptr<IHitHistogramTool> > TrackHitAna::TrackHitAna::fHitHistogramToolVec |
|
private |
std::vector<art::InputTag> TrackHitAna::TrackHitAna::fHitProducerLabelVec |
|
private |
int TrackHitAna::TrackHitAna::fNumEvents |
|
private |
std::vector<art::InputTag> TrackHitAna::TrackHitAna::fPFParticleProducerLabelVec |
|
private |
int TrackHitAna::TrackHitAna::fRun |
|
private |
int TrackHitAna::TrackHitAna::fSubRun |
|
private |
std::vector<art::InputTag> TrackHitAna::TrackHitAna::fTrackProducerLabelVec |
|
private |
std::vector<art::InputTag> TrackHitAna::TrackHitAna::fWireProducerLabelVec |
|
private |
The documentation for this class was generated from the following file: