LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
FlashHypothesisAnaAlg.h
Go to the documentation of this file.
1 #ifndef FLASHHYPOTHESISANAALG_H
2 #define FLASHHYPOTHESISANAALG_H
3 
14 #include "fhiclcpp/ParameterSet.h"
15 
21 
25 
26 #include "FlashHypothesis.h"
27 #include "FlashHypothesisCreator.h"
28 #include "SimPhotonCounterAlg.h"
30 
31 #include "TTree.h"
32 #include "TH1F.h"
33 
34 namespace opdet{
35 
37 
38  public:
39 
41 
43  fCounterIndex(p.get<unsigned int>("SimPhotonCounterIndex",0)),
44  fdEdx(p.get<float>("dEdx",2.1)),
45  fXOffset(p.get<float>("HypothesisXOffset",0.0)),
46  fSPCAlg(p.get<fhicl::ParameterSet>("SimPhotonCounterAlgParams")) {}
47 
48 
49  void SetOutputObjects(TTree*,
50  TH1F*,TH1F*,TH1F*,
51  TH1F*,TH1F*,TH1F*,
52  TH1F*,TH1F*,TH1F*,
53  geo::Geometry const&);
54 
55  void FillOpDetPositions(geo::Geometry const&);
56 
57  void RunComparison(const unsigned int run,
58  const unsigned int event,
59  std::vector<sim::MCTrack> const&,
60  std::vector<sim::SimPhotons> const&,
61  Providers_t providers,
62  opdet::OpDigiProperties const& opdigip,
64 
65 
66  private:
67 
68  unsigned int fCounterIndex;
69  float fdEdx;
70  float fXOffset;
71 
72  TTree* fTree;
73 
78 
79  std::vector<float> fOpDetPositions_Y;
80  std::vector<float> fOpDetPositions_Z;
81 
82  };
83 
84 }
85 
86 
87 #endif
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)
std::vector< float > fOpDetPositions_Y
FlashHypothesisCreator fFHCreator
std::vector< float > fOpDetPositions_Z
FlashHypothesisAnaAlg(fhicl::ParameterSet const &p)
contains objects relating to OpDet hits
void SetOutputObjects(TTree *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, geo::Geometry const &)
parameter set interface
The geometry of one entire detector, as served by art.
Definition: Geometry.h:110
Class def header for mctrack data container.
FlashHypothesisComparison fFHCompare
Encapsulate the geometry of an optical detector.
sim::MCTrackCollectionAnaAlg fMCTAlg
Container for a list of pointers to providers.
Definition: ProviderPack.h:114
lar::ProviderPack< geo::GeometryCore, detinfo::LArProperties > Providers_t
Set of service providers used in the common(est) interface.
void FillOpDetPositions(geo::Geometry const &)
art framework interface to geometry description
Event finding and building.