#include <FlashHypothesisAnaAlg.h>
|
| 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) |
|
Definition at line 35 of file FlashHypothesisAnaAlg.h.
opdet::FlashHypothesisAnaAlg::FlashHypothesisAnaAlg |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
inline |
Definition at line 41 of file FlashHypothesisAnaAlg.h.
43 fdEdx(
p.get<
float>(
"dEdx",2.1)),
44 fXOffset(
p.get<
float>(
"HypothesisXOffset",0.0)),
45 fSPCAlg(
p.get<fhicl::ParameterSet>(
"SimPhotonCounterAlgParams")) {}
SimPhotonCounterAlg fSPCAlg
unsigned int fCounterIndex
void opdet::FlashHypothesisAnaAlg::FillOpDetPositions |
( |
geo::Geometry const & |
geom | ) |
|
Definition at line 43 of file FlashHypothesisAnaAlg.cxx.
50 for(
size_t i_opdet=0; i_opdet<geom.NOpDets(); i_opdet++){
51 geom.Cryostat(0).OpDet(i_opdet).GetCenter(xyz);
std::vector< float > fOpDetPositions_Y
std::vector< float > fOpDetPositions_Z
Definition at line 58 of file FlashHypothesisAnaAlg.cxx.
68 FlashHypothesisCollection fhc(geom->NOpDets());
69 for(
auto const& mctrack : mctrackVec){
70 if(mctrack.size()==0)
continue;
71 std::vector<float> dEdxVector(mctrack.size()-1,
fdEdx);
void InitializeCounters(geo::GeometryCore const &, opdet::OpDigiProperties const &)
FlashHypothesisCollection GetFlashHypothesisCollection(recob::Track const &track, std::vector< float > const &dEdxVector, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset=0)
std::vector< float > fOpDetPositions_Y
void FillTree(unsigned int, unsigned int, const std::vector< sim::MCTrack > &)
FlashHypothesisCreator fFHCreator
SimPhotonCounter const & GetSimPhotonCounter(size_t)
std::vector< float > fOpDetPositions_Z
void AddSimPhotonsVector(std::vector< sim::SimPhotons > const &)
Description of geometry of one entire detector.
FlashHypothesisComparison fFHCompare
SimPhotonCounterAlg fSPCAlg
unsigned int fCounterIndex
sim::MCTrackCollectionAnaAlg fMCTAlg
void RunComparison(const unsigned int, const unsigned int, const FlashHypothesisCollection &, const SimPhotonCounter &, const std::vector< float > &, const std::vector< float > &)
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 (wketc.nosp@m.hum@.nosp@m.lanl..nosp@m.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.
void SetOutputTree(TTree *, bool fill=true)
FlashHypothesisComparison fFHCompare
void SetOutputObjects(TTree *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, const unsigned int, bool fill=true)
sim::MCTrackCollectionAnaAlg fMCTAlg
unsigned int opdet::FlashHypothesisAnaAlg::fCounterIndex |
|
private |
float opdet::FlashHypothesisAnaAlg::fdEdx |
|
private |
std::vector<float> opdet::FlashHypothesisAnaAlg::fOpDetPositions_Y |
|
private |
std::vector<float> opdet::FlashHypothesisAnaAlg::fOpDetPositions_Z |
|
private |
TTree* opdet::FlashHypothesisAnaAlg::fTree |
|
private |
float opdet::FlashHypothesisAnaAlg::fXOffset |
|
private |
The documentation for this class was generated from the following files: