#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 37 of file FlashHypothesisAnaAlg.h.
void opdet::FlashHypothesisAnaAlg::FillOpDetPositions |
( |
geo::Geometry const & |
geom | ) |
|
Definition at line 42 of file FlashHypothesisAnaAlg.cxx.
49 for(
size_t i_opdet=0; i_opdet<geom.NOpDets(); i_opdet++){
50 geom.Cryostat(0).OpDet(i_opdet).GetCenter(xyz);
std::vector< float > fOpDetPositions_Y
std::vector< float > fOpDetPositions_Z
Definition at line 57 of file FlashHypothesisAnaAlg.cxx.
67 FlashHypothesisCollection fhc(geom->NOpDets());
68 for(
auto const& mctrack : mctrackVec){
69 if(mctrack.size()==0)
continue;
70 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 > &)
Event finding and building.
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 25 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: