![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "FlashHypothesisAnaAlg.h"
Public Types | |
| using | Providers_t = FlashHypothesisCreator::Providers_t |
Public Member Functions | |
| FlashHypothesisAnaAlg (fhicl::ParameterSet const &p) | |
| void | SetOutputObjects (TTree *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, geo::Geometry const &) |
| void | FillOpDetPositions (geo::Geometry const &) |
| void | RunComparison (const unsigned int run, const unsigned int event, std::vector< sim::MCTrack > const &, std::vector< sim::SimPhotons > const &, Providers_t providers, opdet::OpDigiProperties const &opdigip, phot::PhotonVisibilityService const &pvs) |
Private Attributes | |
| unsigned int | fCounterIndex |
| float | fdEdx |
| float | fXOffset |
| TTree * | fTree |
| FlashHypothesisCreator | fFHCreator |
| SimPhotonCounterAlg | fSPCAlg |
| FlashHypothesisComparison | fFHCompare |
| sim::MCTrackCollectionAnaAlg | fMCTAlg |
| std::vector< float > | fOpDetPositions_Y |
| std::vector< float > | fOpDetPositions_Z |
Definition at line 43 of file FlashHypothesisAnaAlg.h.
Definition at line 46 of file FlashHypothesisAnaAlg.h.
|
inline |
Definition at line 48 of file FlashHypothesisAnaAlg.h.
| void opdet::FlashHypothesisAnaAlg::FillOpDetPositions | ( | geo::Geometry const & | geom | ) |
Definition at line 45 of file FlashHypothesisAnaAlg.cxx.
References geo::GeometryCore::Cryostat(), fOpDetPositions_Y, fOpDetPositions_Z, geo::OpDetGeo::GetCenter(), geo::GeometryCore::NOpDets(), and geo::CryostatGeo::OpDet().
Referenced by opdet::FlashHypothesisAna::beginJob().
| void opdet::FlashHypothesisAnaAlg::RunComparison | ( | const unsigned int | run, |
| const unsigned int | event, | ||
| std::vector< sim::MCTrack > const & | mctrackVec, | ||
| std::vector< sim::SimPhotons > const & | simPhotonsVec, | ||
| Providers_t | providers, | ||
| opdet::OpDigiProperties const & | opdigip, | ||
| phot::PhotonVisibilityService const & | pvs | ||
| ) |
Definition at line 58 of file FlashHypothesisAnaAlg.cxx.
References opdet::SimPhotonCounterAlg::AddSimPhotonsVector(), fCounterIndex, fdEdx, fFHCompare, fFHCreator, sim::MCTrackCollectionAnaAlg::FillTree(), fMCTAlg, fOpDetPositions_Y, fOpDetPositions_Z, fSPCAlg, fTree, fXOffset, lar::ProviderPack< Providers >::get(), opdet::FlashHypothesisCreator::GetFlashHypothesisCollection(), opdet::SimPhotonCounterAlg::GetSimPhotonCounter(), opdet::SimPhotonCounterAlg::InitializeCounters(), and opdet::FlashHypothesisComparison::RunComparison().
Referenced by opdet::FlashHypothesisAna::analyze().
| void opdet::FlashHypothesisAnaAlg::SetOutputObjects | ( | TTree * | tree, |
| TH1F * | h_h_p, | ||
| TH1F * | h_s_p, | ||
| TH1F * | h_c_p, | ||
| TH1F * | h_h_l, | ||
| TH1F * | h_s_l, | ||
| TH1F * | h_c_l, | ||
| TH1F * | h_h_t, | ||
| TH1F * | h_s_t, | ||
| TH1F * | h_c_t, | ||
| geo::Geometry const & | geom | ||
| ) |
Title: FlashHypothesisAnaAlg Class Author: Wes Ketchum (wketchum@lanl.gov)
Description: Alg that compares the flash hypotheses with truth photons and stores the results in a TTree.
Definition at line 26 of file FlashHypothesisAnaAlg.cxx.
References fFHCompare, fMCTAlg, fTree, geo::GeometryCore::NOpDets(), opdet::FlashHypothesisComparison::SetOutputObjects(), and sim::MCTrackCollectionAnaAlg::SetOutputTree().
Referenced by opdet::FlashHypothesisAna::beginJob().
|
private |
Definition at line 78 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison().
|
private |
Definition at line 79 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison().
|
private |
Definition at line 86 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison(), and SetOutputObjects().
|
private |
Definition at line 84 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison().
|
private |
Definition at line 87 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison(), and SetOutputObjects().
|
private |
Definition at line 89 of file FlashHypothesisAnaAlg.h.
Referenced by FillOpDetPositions(), and RunComparison().
|
private |
Definition at line 90 of file FlashHypothesisAnaAlg.h.
Referenced by FillOpDetPositions(), and RunComparison().
|
private |
Definition at line 85 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison().
|
private |
Definition at line 82 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison(), and SetOutputObjects().
|
private |
Definition at line 80 of file FlashHypothesisAnaAlg.h.
Referenced by RunComparison().