Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
slid::SliceLIDBuilder Class Reference
Inheritance diagram for slid::SliceLIDBuilder:
art::EDProducer art::ProducerBase art::Consumer art::EngineCreator art::ProductRegistryHelper

Public Types

using ModuleType = EDProducer
 
using WorkerType = WorkerT< EDProducer >
 
template<typename UserConfig , typename KeysToIgnore = void>
using Table = ProducerBase::Table< UserConfig, KeysToIgnore >
 

Public Member Functions

 SliceLIDBuilder (const fhicl::ParameterSet &pset)
 
 ~SliceLIDBuilder ()
 
virtual void produce (art::Event &evt)
 
virtual void reconfigure (const fhicl::ParameterSet &pset)
 
virtual void beginRun (art::Run &run)
 
template<typename PROD , BranchType B = InEvent>
ProductID getProductID (std::string const &instanceName={}) const
 
template<typename PROD , BranchType B>
ProductID getProductID (ModuleDescription const &moduleDescription, std::string const &instanceName) const
 
bool modifiesEvent () const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label)
 
seed_t get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
 

Static Public Member Functions

static cet::exempt_ptr< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Protected Attributes

std::string fShowerLabel
 
std::string fShowerLIDLabel
 
std::string fSlicerLabel
 
std::vector< std::stringfFilterLabels
 
bool fObeyPreselection
 
bool fSkipNoiseSlices
 
tensorflow::TensorflowHandlerfTF
 
NuEEnergyAlgfNuEEnergyAlg
 
fhicl::ParameterSet fTFPSet
 
fhicl::ParameterSet fNuEEnergyAlgPSet
 

Detailed Description

Definition at line 38 of file SliceLIDBuilder_module.cc.

Member Typedef Documentation

using art::EDProducer::ModuleType = EDProducer
inherited

Definition at line 34 of file EDProducer.h.

template<typename UserConfig , typename KeysToIgnore = void>
using art::EDProducer::Table = ProducerBase::Table<UserConfig, KeysToIgnore>
inherited

Definition at line 43 of file EDProducer.h.

using art::EDProducer::WorkerType = WorkerT<EDProducer>
inherited

Definition at line 35 of file EDProducer.h.

Constructor & Destructor Documentation

slid::SliceLIDBuilder::SliceLIDBuilder ( const fhicl::ParameterSet pset)
explicit

Definition at line 66 of file SliceLIDBuilder_module.cc.

References reconfigure().

67  : fTF(0),fNuEEnergyAlg(0),
68  fTFPSet(pset.get< fhicl::ParameterSet >("TensorflowHandler")),
69  fNuEEnergyAlgPSet(pset.get< fhicl::ParameterSet >("NuEEnergyAlgPSet"))
70  {
71  reconfigure(pset);
72  // Define output structures produced.
73  produces<std::vector<slid::SliceLID> >();
74  produces< art::Assns<slid::SliceLID, rb::Cluster> >();
75  }
fhicl::ParameterSet fNuEEnergyAlgPSet
fhicl::ParameterSet fTFPSet
virtual void reconfigure(const fhicl::ParameterSet &pset)
T get(std::string const &key) const
Definition: ParameterSet.h:231
tensorflow::TensorflowHandler * fTF
slid::SliceLIDBuilder::~SliceLIDBuilder ( )

Definition at line 79 of file SliceLIDBuilder_module.cc.

References fNuEEnergyAlg, and fTF.

80  {
81  if(fTF) delete fTF;
82  if (fNuEEnergyAlg) delete fNuEEnergyAlg;
83  }
tensorflow::TensorflowHandler * fTF

Member Function Documentation

void slid::SliceLIDBuilder::beginRun ( art::Run run)
virtual

Reimplemented from art::EDProducer.

Definition at line 99 of file SliceLIDBuilder_module.cc.

References fNuEEnergyAlg, fNuEEnergyAlgPSet, fTF, and fTFPSet.

99  {
100  if(fTF) delete fTF;
101  if (fNuEEnergyAlg) delete fNuEEnergyAlg;
103  fNuEEnergyAlg = new NuEEnergyAlg(fNuEEnergyAlgPSet);
104  }
fhicl::ParameterSet fNuEEnergyAlgPSet
fhicl::ParameterSet fTFPSet
Wrapper for Tensorflow which handles construction and prediction.
tensorflow::TensorflowHandler * fTF
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
inherited

Definition at line 146 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
inherited

Definition at line 171 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDProducer::currentContext ( ) const
protectedinherited
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
template<typename PROD , BranchType B>
ProductID art::EDProducer::getProductID ( std::string const &  instanceName = {}) const
inlineinherited

Definition at line 123 of file EDProducer.h.

References art::EDProducer::moduleDescription_.

Referenced by skim::NueSkimmer::CopyMichelSlice(), and skim::NueSkimmer::CopyMichelTrack().

124  {
125  return ProducerBase::getProductID<PROD, B>(moduleDescription_,
126  instanceName);
127  }
ModuleDescription moduleDescription_
Definition: EDProducer.h:115
template<typename PROD , BranchType B>
ProductID art::ProducerBase::getProductID ( ModuleDescription const &  moduleDescription,
std::string const &  instanceName 
) const
inherited

Definition at line 56 of file ProducerBase.h.

References art::ModuleDescription::moduleLabel().

Referenced by art::ProducerBase::modifiesEvent().

58  {
59  auto const& pd =
60  get_ProductDescription<PROD>(B, md.moduleLabel(), instanceName);
61  return pd.productID();
62  }
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
inherited

Definition at line 189 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
inherited

Definition at line 214 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::ProducerBase::modifiesEvent ( ) const
inlineinherited

Definition at line 40 of file ProducerBase.h.

References art::ProducerBase::getProductID(), and string.

41  {
42  return true;
43  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
void slid::SliceLIDBuilder::produce ( art::Event evt)
virtual

Implements art::EDProducer.

Definition at line 107 of file SliceLIDBuilder_module.cc.

References rb::Cluster::Cell(), art::PtrVector< T >::clear(), slid::CompareByE(), std::cos(), util::CreateAssn(), rb::Prong::Dir(), E, slid::ShowerLID::EGLLL(), slid::ShowerLID::EGLLT(), slid::ShowerLID::EMuLLL(), slid::ShowerLID::EMuLLT(), slid::ShowerLID::ENLLL(), slid::ShowerLID::ENLLT(), slid::ShowerLID::EPi0LLL(), slid::ShowerLID::EPi0LLT(), slid::ShowerLID::EPiLLL(), slid::ShowerLID::EPiLLT(), slid::ShowerLID::EPLLL(), slid::ShowerLID::EPLLT(), fFilterLabels, fObeyPreselection, fShowerLIDLabel, fSkipNoiseSlices, fSlicerLabel, fTF, slid::ShowerLID::Gap(), geom(), art::DataViewImpl::getByLabel(), rb::RecoHit::GeV(), MECModelEnuComparisons::i, makeTrainCVSamples::int, rb::RecoHit::IsCalibrated(), rb::IsFiltered(), calib::j, geo::kX, geo::kXorY, geo::kY, LOG_DEBUG, rb::Cluster::NCell(), rb::Cluster::NMissingPlanes(), geo::GeometryBase::NuMIBeamDirection(), tensorflow::TensorflowHandler::Predict(), art::PtrVector< T >::push_back(), art::Event::put(), rb::Cluster::RecoHit(), slid::SliceLID::SetValue(), art::PtrVector< T >::size(), chisquared::theta, rb::Cluster::TotalGeV(), rb::Shower::TotalLength(), and rb::CellHit::View().

108  {
109 
110  LOG_DEBUG("SliceLIDBuilderDEBUG") << "In SliceLIDBuilder::produce" << '\n';
111 
112  std::unique_ptr< std::vector<slid::SliceLID> > slicelidcol(new std::vector<slid::SliceLID>);
113  std::unique_ptr< art::Assns<slid::SliceLID, rb::Cluster> > assnSliceLidSlice(new art::Assns<slid::SliceLID, rb::Cluster>);
114 
116  evt.getByLabel(fSlicerLabel, slicecol);
117  art::PtrVector<rb::Cluster> slicelist;
119  for (unsigned int i = 0; i < slicecol->size(); ++i) {
120  art::Ptr<rb::Cluster> slice(slicecol, i);
121  slicelist.push_back(slice);
122  }
123 
124  // loop over all of the slices
125  for (unsigned int iSlice = 0; iSlice < slicelist.size(); ++iSlice) {
126 
127  if(fSkipNoiseSlices && slicelist[iSlice]->IsNoise()) continue;
128  if(fObeyPreselection && rb::IsFiltered(evt, slicecol, iSlice, fFilterLabels)) continue;
129 
130  std::vector<art::Ptr<slid::ShowerLID> > slidcol;
131  slidcol.clear();
132  art::FindManyP<slid::ShowerLID> fmslid(slicecol, evt, fShowerLIDLabel);
133  if(fmslid.isValid()){
134  slidcol = fmslid.at(iSlice);
135  }
136 
137  art::FindOneP<rb::Shower> fos(slidcol, evt, fShowerLIDLabel);
138  std::sort(slidcol.begin(),slidcol.end(),CompareByE);
139  std::vector<art::Ptr<rb::Shower>> showercol;
140 
141  if(slidcol.size()==0) continue;
142 
143  for(unsigned int i = 0; i < slidcol.size(); i++){
144  cet::maybe_ref<art::Ptr<rb::Shower> const> rshw(fos.at(i));
145  art::Ptr<rb::Shower> shw = rshw.ref();
146  showercol.push_back(shw);
147  }
148 
149  //Form feature map for evaluation
150  float sliceE = slicelist[iSlice]->TotalGeV();
151  std::map<int,std::vector<float>> featuremap;
152  std::vector<float> shwvec;
153 
154  for(int i = 0; i < 7; i++){
155  shwvec.clear();
156  if(i < (int)showercol.size()){
157  art::Ptr<rb::Shower> shw = showercol[i];
158  float Ex = 0;
159  float Ey = 0;
160  for(int j = 0; j < (int)shw->NCell(); j++){
162  rb::RecoHit rhit = shw->RecoHit(hit);
163  if(!rhit.IsCalibrated()) continue;
164  if(hit->View()==geo::kX) Ex += rhit.GeV();
165  else if(hit->View()==geo::kY) Ey += rhit.GeV();
166  }
167  art::Ptr<slid::ShowerLID> slid = slidcol[i];
168  float E = shw->TotalGeV();
169  float len = shw->TotalLength();
170  float Eview = Ex/Ey;
171  double theta = shw->Dir().Angle(geom->NuMIBeamDirection());
172  float cos = TMath::Cos(theta);
173  float gap = slid->Gap();
174  float miss = shw->NMissingPlanes(geo::kXorY);
175  float emulll = slid->EMuLLL();
176  float epi0lll = slid->EPi0LLL();
177  float eplll = slid->EPLLL();
178  float enlll = slid->ENLLL();
179  float epilll = slid->EPiLLL();
180  float eglll = slid->EGLLL();
181  float emullt = slid->EMuLLT();
182  float epi0llt = slid->EPi0LLT();
183  float epllt = slid->EPLLT();
184  float enllt = slid->ENLLT();
185  float epillt = slid->EPiLLT();
186  float egllt = slid->EGLLT();
187  shwvec.push_back(E);
188  shwvec.push_back(len);
189  shwvec.push_back(Eview);
190  shwvec.push_back(cos);
191  shwvec.push_back(gap);
192  shwvec.push_back(miss);
193  shwvec.push_back(emulll);
194  shwvec.push_back(epi0lll);
195  shwvec.push_back(eplll);
196  shwvec.push_back(enlll);
197  shwvec.push_back(epilll);
198  shwvec.push_back(eglll);
199  shwvec.push_back(emullt);
200  shwvec.push_back(epi0llt);
201  shwvec.push_back(epllt);
202  shwvec.push_back(enllt);
203  shwvec.push_back(epillt);
204  shwvec.push_back(egllt);
205  }
206  else{
207  for(int j = 0; j < 19; j++){shwvec.push_back(0.);}
208  }
209  featuremap[i] = shwvec;
210  }
211 
212  float score = fTF->Predict(sliceE,featuremap,false);
213  slid::SliceLID slicelid;
214  slicelid.SetValue(score);
215  slicelidcol->push_back(slicelid);
216  util::CreateAssn(*this,evt,*(slicelidcol.get()),slicelist[iSlice],*(assnSliceLidSlice.get()));
217  //create new associations for the most recent set of showers
218 
219  } //end loop over slices
220 
221  evt.put(std::move(slicelidcol));
222  evt.put(std::move(assnSliceLidSlice));
223 
224  }// end of producer
const XML_Char int len
Definition: expat.h:262
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
static bool CreateAssn(art::EDProducer const &prod, art::Event &evt, std::vector< T > &a, art::Ptr< U > b, art::Assns< T, U > &assn, size_t indx=UINT_MAX, std::string const &instance=std::string())
Create a 1 to 1 association between a new product and one already in the event.
unsigned int NCell(geo::View_t view) const
Number of cells in view view.
Definition: Cluster.cxx:134
float ENLLT() const
Definition: ShowerLID.h:114
float EGLLL() const
Definition: ShowerLID.h:105
float EPiLLT() const
Definition: ShowerLID.h:116
X or Y views.
Definition: PlaneGeo.h:30
geo::View_t View() const
Definition: CellHit.h:41
Vertical planes which measure X.
Definition: PlaneGeo.h:28
bool CompareByE(const slid::ShowerLID &a, const slid::ShowerLID &b)
float EPLLL() const
Definition: ShowerLID.h:111
std::vector< std::string > fFilterLabels
Horizontal planes which measure Y.
Definition: PlaneGeo.h:29
Calibrated quantities relying on position in the orthogonal view. To generate a rb::CellHit from a rb...
Definition: RecoHit.h:19
float EPi0LLT() const
Definition: ShowerLID.h:110
virtual double TotalLength() const
Length (cm) of a shower.
Definition: Shower.cxx:43
ProductID put(std::unique_ptr< PROD > &&product)
Definition: Event.h:102
void push_back(Ptr< U > const &p)
Definition: PtrVector.h:441
Float_t E
Definition: plot.C:20
virtual TVector3 Dir() const
Unit vector describing prong direction.
Definition: Prong.h:77
rb::RecoHit RecoHit(const art::Ptr< rb::CellHit > &chit) const
Return calibrated hit based on assumed W coordinate.
Definition: Cluster.cxx:259
float EMuLLL() const
Definition: ShowerLID.h:107
bool IsCalibrated() const
You MUST check here before accessing PECorr, MIP or GeV.
Definition: RecoHit.cxx:35
bool IsFiltered(const art::Event &evt, art::Ptr< T > x, const std::vector< std::string > &labels)
Is this Ptr marked "filtered out"?
Definition: FilterList.h:96
const double j
Definition: BetheBloch.cxx:29
float EPi0LLL() const
Definition: ShowerLID.h:109
size_type size() const
Definition: PtrVector.h:308
float EPiLLL() const
Definition: ShowerLID.h:115
TVector3 NuMIBeamDirection() const
Direction of neutrinos from the NuMI beam (unit vector)
int NMissingPlanes(geo::View_t view) const
Total number of missing planes in cluster.
Definition: Cluster.cxx:693
art::Ptr< rb::CellHit > Cell(geo::View_t view, unsigned int viewIdx) const
Get the ith cell from view view.
Definition: Cluster.cxx:145
float GeV() const
Definition: RecoHit.cxx:69
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
Definition: structs.h:12
void geom(int which=0)
Definition: geom.C:163
float Predict(float sliceE, std::map< int, std::vector< float >> featuremap, bool fRHC)
float EMuLLT() const
Definition: ShowerLID.h:108
float ENLLL() const
Definition: ShowerLID.h:113
T cos(T number)
Definition: d0nt_math.hpp:78
double TotalGeV(EEnergyCalcScheme escheme=kRecomputeEnergy) const
Simple sum of the estimated GeV of all the hits.
Definition: Cluster.cxx:378
Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make av...
Definition: FillPIDs.h:13
tensorflow::TensorflowHandler * fTF
float Gap() const
Definition: ShowerLID.h:117
void SetValue(float in)
Definition: SliceLID.h:24
float EGLLT() const
Definition: ShowerLID.h:106
void clear()
Definition: PtrVector.h:537
float EPLLT() const
Definition: ShowerLID.h:112
void slid::SliceLIDBuilder::reconfigure ( const fhicl::ParameterSet pset)
virtual

Definition at line 87 of file SliceLIDBuilder_module.cc.

References fFilterLabels, fNuEEnergyAlgPSet, fObeyPreselection, fShowerLabel, fShowerLIDLabel, fSkipNoiseSlices, fSlicerLabel, fTFPSet, fhicl::ParameterSet::get(), and string.

Referenced by SliceLIDBuilder().

88  {
89  fTFPSet = pset.get< fhicl::ParameterSet >("TensorflowHandler");
90  fNuEEnergyAlgPSet = pset.get< fhicl::ParameterSet >("NuEEnergyAlgPSet");
91  fSlicerLabel = pset.get< std::string >("SlicerLabel");
92  fShowerLabel = pset.get< std::string >("ShowerLabel");
93  fShowerLIDLabel = pset.get< std::string >("ShowerLIDLabel");
94  fObeyPreselection = pset.get<bool>("ObeyPreselection");
95  fSkipNoiseSlices = pset.get<bool>("SkipNoiseSlices");
96  fFilterLabels = pset.get< std::vector<std::string> >("FilterLabels");
97  }
fhicl::ParameterSet fNuEEnergyAlgPSet
std::vector< std::string > fFilterLabels
fhicl::ParameterSet fTFPSet
T get(std::string const &key) const
Definition: ParameterSet.h:231
enum BeamMode string
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited

Member Data Documentation

std::vector<std::string> slid::SliceLIDBuilder::fFilterLabels
protected

Definition at line 51 of file SliceLIDBuilder_module.cc.

Referenced by produce(), and reconfigure().

NuEEnergyAlg* slid::SliceLIDBuilder::fNuEEnergyAlg
protected

Definition at line 57 of file SliceLIDBuilder_module.cc.

Referenced by beginRun(), and ~SliceLIDBuilder().

fhicl::ParameterSet slid::SliceLIDBuilder::fNuEEnergyAlgPSet
protected

Definition at line 59 of file SliceLIDBuilder_module.cc.

Referenced by beginRun(), and reconfigure().

bool slid::SliceLIDBuilder::fObeyPreselection
protected

Definition at line 53 of file SliceLIDBuilder_module.cc.

Referenced by produce(), and reconfigure().

std::string slid::SliceLIDBuilder::fShowerLabel
protected

Definition at line 48 of file SliceLIDBuilder_module.cc.

Referenced by reconfigure().

std::string slid::SliceLIDBuilder::fShowerLIDLabel
protected

Definition at line 49 of file SliceLIDBuilder_module.cc.

Referenced by produce(), and reconfigure().

bool slid::SliceLIDBuilder::fSkipNoiseSlices
protected

Definition at line 54 of file SliceLIDBuilder_module.cc.

Referenced by produce(), and reconfigure().

std::string slid::SliceLIDBuilder::fSlicerLabel
protected

Definition at line 50 of file SliceLIDBuilder_module.cc.

Referenced by produce(), and reconfigure().

tensorflow::TensorflowHandler* slid::SliceLIDBuilder::fTF
protected

Definition at line 56 of file SliceLIDBuilder_module.cc.

Referenced by beginRun(), produce(), and ~SliceLIDBuilder().

fhicl::ParameterSet slid::SliceLIDBuilder::fTFPSet
protected

Definition at line 58 of file SliceLIDBuilder_module.cc.

Referenced by beginRun(), and reconfigure().


The documentation for this class was generated from the following file: