Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
qeef::QeFinder Class Reference

A QE Event Finder for muons. More...

Inheritance diagram for qeef::QeFinder:
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

 QeFinder (fhicl::ParameterSet const &pset)
 
virtual ~QeFinder ()
 
void beginJob ()
 
void produce (art::Event &evt)
 
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
 

Private Member Functions

void Init ()
 

Private Attributes

std::string fSliceLabel
 
std::string fTrackLabel
 
std::string fPIDLabel
 
std::string fEnergyLabel
 
std::string fKnnLibPath
 
std::string fknn1trkfile
 
std::string fknn2trkfile
 
bool trainfileloaded
 
TMVA::Reader * knn1trk
 
TMVA::Reader * knn2trk
 
Float_t offEK
 
Float_t ediff
 
Float_t ediffZ
 
Float_t dedx
 

Detailed Description

A QE Event Finder for muons.

Definition at line 28 of file QeFinder_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

qeef::QeFinder::QeFinder ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 56 of file QeFinder_module.cc.

References fEnergyLabel, fKnnLibPath, fPIDLabel, fSliceLabel, fTrackLabel, fhicl::ParameterSet::get(), and string.

56  :
57  knn1trk(nullptr),
58  knn2trk(nullptr)
59  {
60  fSliceLabel = (pset.get< std::string >("SliceLabel"));
61  fTrackLabel = (pset.get< std::string >("TrackLabel"));
62  fPIDLabel = (pset.get< std::string >("PIDLabel"));
63  fEnergyLabel = (pset.get< std::string >("EnergyLabel"));
64  fKnnLibPath = (pset.get< std::string >("KnnLibPath"));
65  produces< std::vector<qeef::QePId> >();
66  produces< art::Assns<qeef::QePId, rb::Cluster> >();
67  }
TMVA::Reader * knn2trk
std::string fTrackLabel
std::string fPIDLabel
std::string fKnnLibPath
TMVA::Reader * knn1trk
std::string fSliceLabel
std::string fEnergyLabel
enum BeamMode string
qeef::QeFinder::~QeFinder ( )
virtual

Definition at line 70 of file QeFinder_module.cc.

References knn1trk, and knn2trk.

71  {
72  if (knn1trk) delete knn1trk;
73  if (knn2trk) delete knn2trk;
74  }
TMVA::Reader * knn2trk
TMVA::Reader * knn1trk

Member Function Documentation

void qeef::QeFinder::beginJob ( )
virtual

Reimplemented from art::EDProducer.

Definition at line 77 of file QeFinder_module.cc.

References trainfileloaded.

78  {
79  trainfileloaded = false;
80  }
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  }
void qeef::QeFinder::Init ( )
private

Definition at line 83 of file QeFinder_module.cc.

References om::cerr, dedx, geo::GeometryBase::DetId(), ediff, ediffZ, allTimeWatchdog::endl, util::EnvExpansion(), fknn1trkfile, fknn2trkfile, fKnnLibPath, geom(), novadaq::cnv::kFARDET, novadaq::cnv::kNEARDET, knn1trk, knn2trk, offEK, string, and trainfileloaded.

Referenced by produce().

84  {
85  if(trainfileloaded) return;
86 
88  // Expand fcl input lib path
90  // set up FD training file
91  if(geom->DetId() == novadaq::cnv::kFARDET){
92  fknn1trkfile = knnlibpath+"TMVAClassification_KNN_qe_1track.weights.xml";
93  fknn2trkfile = knnlibpath+"TMVAClassification_KNN_qe_2track.weights.xml";
94  }
95  // set up ND training file
96  else if(geom->DetId() == novadaq::cnv::kNEARDET){
97  fknn1trkfile = knnlibpath+"TMVAClassification_KNN_qe_1track.nd.weights.xml";
98  fknn2trkfile = knnlibpath+"TMVAClassification_KNN_qe_2track.nd.weights.xml";
99  }
100  else{ std::cerr << "This file isn't near or far detector, algorithm doesn't work on any other" << std::endl;}
101 
102  knn1trk = new TMVA::Reader();
103  knn1trk->AddVariable("offEK",&offEK);
104  knn1trk->AddVariable("ediff",&ediff);
105  knn1trk->AddVariable("ediffZ",&ediffZ);
106 
107  knn1trk->BookMVA("KNN method",fknn1trkfile);
108 
109  knn2trk = new TMVA::Reader();
110  knn2trk->AddVariable("offEK",&offEK);
111  knn2trk->AddVariable("ediff",&ediff);
112  knn2trk->AddVariable("ediffZ",&ediffZ);
113  knn2trk->AddVariable("dedx",&dedx);
114 
115  knn2trk->BookMVA("KNN method",fknn2trkfile);
116 
117  trainfileloaded = true;
118  }
std::string fknn1trkfile
TMVA::Reader * knn2trk
std::string EnvExpansion(const std::string &inString)
Function to expand environment variables.
Definition: EnvExpand.cxx:8
OStream cerr
Definition: OStream.cxx:7
std::string fknn2trkfile
std::string fKnnLibPath
Far Detector at Ash River, MN.
novadaq::cnv::DetId DetId() const
Prefer ds::DetectorService::DetId() instead.
Definition: GeometryBase.h:243
Near Detector in the NuMI cavern.
TMVA::Reader * knn1trk
void geom(int which=0)
Definition: geom.C:163
enum BeamMode string
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 qeef::QeFinder::produce ( art::Event evt)
virtual

Implements art::EDProducer.

Definition at line 121 of file QeFinder_module.cc.

References rb::Cluster::Add(), remid::ReMId::AvgDedx(), rb::Cluster::Cell(), util::CreateAssn(), dedx, DEFINE_ART_MODULE(), ediff, ediffZ, fEnergyLabel, fPIDLabel, fSliceLabel, fTrackLabel, art::DataViewImpl::getByLabel(), remid::HighestPIDTrack(), Init(), rb::Prong::Is3D(), rb::Cluster::IsNoise(), knn1trk, knn2trk, rb::Cluster::NCell(), art::Event::put(), qeef::QePId::SetDedx(), qeef::QePId::SetEdiff(), qeef::QePId::SetEdiffZ(), qeef::QePId::SetNtrk(), qeef::QePId::SetOffTrkE(), rb::PID::SetVal(), and rb::Cluster::TotalGeV().

122  {
123  Init();
124 
125  // going to produce qe pid objects and associations with slices
126  std::unique_ptr< std::vector<qeef::QePId> > qeefOut(new std::vector<qeef::QePId>);
127  std::unique_ptr< art::Assns<qeef::QePId, rb::Cluster> > qeAss(new art::Assns<qeef::QePId, rb::Cluster>);
128 
129 
130  // get all of slices out of the event
132  evt.getByLabel(fSliceLabel,slices);
133 
134  // set up associations between slices and tracks
135  art::FindManyP<rb::Track> trkAss(slices,evt,fTrackLabel);
136  // set up associations between slices and energy
138 
139  for(size_t isl =0; isl < slices->size(); ++isl){
140 
141  // Get the slice
142  art::Ptr<rb::Cluster> slice(slices,isl);
143  // skip if it is noise
144  if(slice->IsNoise() || !trkAss.isValid()){ continue; }
145 
146  // make a qepid object with default pid value of -5
147  qeef::QePId qepid(14,-5);
148 
149  // get the tracks that are associated with this slice
150  const std::vector<art::Ptr<rb::Track> > tracks = trkAss.at(isl);
151 
152  // if more than 3 or no tracks no qe pid will be made so skip this
153  if(tracks.size() < 3 && tracks.size() > 0){
154 
155  // set up associations between tracks and remid
156  art::FindOneP<remid::ReMId> remAss(tracks,evt,fPIDLabel);
157 
158  //Find index of highest pid track
159  unsigned int bestId = remid::HighestPIDTrack(tracks, fPIDLabel, evt);
160 
161  int n3dtrk = 0; // keep track of the number of 3d tracks
162  std::vector<art::Ptr<rb::CellHit> > trkHits; // cellhits from every reco track
163 
164  // loop over tracks and find the highest pid one
165  for(size_t itrk = 0; itrk < tracks.size(); ++itrk){
166  // get the track
167  const art::Ptr<rb::Track> track = tracks[itrk];
168 
169  if(track->Is3D()){ ++n3dtrk; }
170 
171  // get all of the cell hits associated with this track
172  for(unsigned int ihit = 0; ihit < track->NCell(); ++ihit){
173  trkHits.push_back(track->Cell(ihit));
174  }
175 
176  }
177 
178  // continue if highest pid track found
179  if(bestId != 999){
180 
181  // check number of 3d trks
182  if((n3dtrk == 1 && tracks.size() == 1) ||
183  (n3dtrk >=1 && tracks.size() == 2)){
184 
185  // get all the hits not assocaited with a track in the event
186  rb::Cluster nontrkHits;
187  for(unsigned int slhit = 0; slhit < slice->NCell(); ++slhit){
188  bool intrk = false;
189  // check if this hit is in any track
190  for(unsigned int trhit = 0; trhit < trkHits.size(); ++trhit){
191  if(slice->Cell(slhit) == trkHits[trhit]){
192  intrk = true;
193  break;
194  }
195  }
196  if(!intrk){ nontrkHits.Add(slice->Cell(slhit)); }
197  }
198 
199  // knn variables
200  float offE;
201  float ediff;
202  float ediffZ;
203  float dedx;
204 
205  // get muon pid and track
206  art::Ptr<remid::ReMId> murem = remAss.at(bestId);
207  art::Ptr<rb::Track> mutrk = tracks[bestId];
208 
209  // get numu energy estimates
210  if(eAss.isValid()){
211  std::vector<art::Ptr<numue::NumuE> > numuEnergy = eAss.at(isl);
212  if(numuEnergy.size() > 0){
213 
214  // get the energy variables for the qe pid
215  float angleQEE = numuEnergy[0]->AngleQEE();
216  float errAngleQEE = numuEnergy[0]->AngleQEError();
217  float trkQEE = numuEnergy[0]->TrkQEE();
218 
219  // Don't pid for cases where angleQEE or trkqeE is nonsense
220  if( angleQEE < 0.0 || angleQEE > 40 || errAngleQEE < 0.0 || errAngleQEE > 40 || trkQEE > 20){
221  qepid.SetNtrk(tracks.size());
222  qepid.SetVal(-1);
223  }
224  else{
225 
226  ediff = (angleQEE - trkQEE)/trkQEE;
227  ediffZ = (angleQEE - trkQEE)/errAngleQEE;
228 
229  if(tracks.size() == 1){
230  double vertE = 0.0;
231  if(nontrkHits.NCell() > 0){
232  vertE = nontrkHits.TotalGeV();
233  }
234  offE = vertE/mutrk->TotalGeV();
235 
236  // gather all pid variables
237  std::vector<float> knnInputs(3);
238  knnInputs[0] = offE;
239  knnInputs[1] = ediff;
240  knnInputs[2] = ediffZ;
241  double kNN = knn1trk->EvaluateMVA(knnInputs,"KNN method");
242 
243  // update qe pid info
244  qepid.SetNtrk(1);
245  qepid.SetOffTrkE(offE);
246  qepid.SetEdiff(ediff);
247  qepid.SetEdiffZ(ediffZ);
248  qepid.SetVal(kNN);
249  } // end of 1 track case
250  else{
251  int nonmuId = 1;
252  if(bestId == 1){ nonmuId = 0; }
253  art::Ptr<remid::ReMId> nonmurem = remAss.at(nonmuId);
254  art::Ptr<rb::Track> nonmutrk = tracks[nonmuId];
255  double vertE = 0.0;
256  if(nontrkHits.NCell() > 0){
257  vertE = nontrkHits.TotalGeV();
258  }
259  offE = vertE/(mutrk->TotalGeV()+nonmutrk->TotalGeV());
260  dedx = nonmurem->AvgDedx()/murem->AvgDedx();
261 
262  // gather all pid variables
263  std::vector<float> knnInputs(4);
264  knnInputs[0] = offE;
265  knnInputs[1] = ediff;
266  knnInputs[2] = ediffZ;
267  knnInputs[3] = dedx;
268  double kNN = knn2trk->EvaluateMVA(knnInputs,"KNN method");
269 
270  // update qe pid info
271  qepid.SetNtrk(2);
272  qepid.SetOffTrkE(offE);
273  qepid.SetEdiff(ediff);
274  qepid.SetEdiffZ(ediffZ);
275  qepid.SetDedx(dedx);
276  qepid.SetVal(kNN);
277  } // end of 2 track case
278 
279  } // end of else nonsense variables
280  } // check if we have numu energy for this slice
281  } // check that numu energy association is valid
282 
283  } // check if we have the correct number of tracks for qe piding
284 
285  } // check if we found the best muon
286 
287 
288 
289  } // end of if < 3 total tracks
290 
291  // add this pid object to the vector of ones to add to the event
292  qeefOut->push_back(qepid);
293  // make an association to the slice it came from
294  util::CreateAssn(*this,evt,*(qeefOut.get()),slice,*(qeAss.get()));
295 
296  } // end loop over slices
297 
298  evt.put(std::move(qeefOut));
299  evt.put(std::move(qeAss));
300 
301  } // end of produce
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
TMVA::Reader * knn2trk
Definition: event.h:19
A collection of associated CellHits.
Definition: Cluster.h:47
std::string fTrackLabel
std::string fPIDLabel
double AvgDedx() const
Definition: ReMId.cxx:68
virtual void Add(const art::Ptr< rb::CellHit > &cell, double weight=1)
Definition: Cluster.cxx:84
ProductID put(std::unique_ptr< PROD > &&product)
Definition: Event.h:102
TMVA::Reader * knn1trk
art::Ptr< rb::CellHit > Cell(geo::View_t view, unsigned int viewIdx) const
Get the ith cell from view view.
Definition: Cluster.cxx:145
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
std::string fSliceLabel
double TotalGeV(EEnergyCalcScheme escheme=kRecomputeEnergy) const
Simple sum of the estimated GeV of all the hits.
Definition: Cluster.cxx:378
std::string fEnergyLabel
virtual bool Is3D() const
Definition: Prong.h:71
unsigned int HighestPIDTrack(const std::vector< art::Ptr< rb::Track > > &sliceTracks, const std::string &remidModuleLabel, const art::Event &e)
Definition: ReMId.cxx:249
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

Float_t qeef::QeFinder::dedx
private

Definition at line 48 of file QeFinder_module.cc.

Referenced by Init(), and produce().

Float_t qeef::QeFinder::ediff
private

Definition at line 48 of file QeFinder_module.cc.

Referenced by Init(), and produce().

Float_t qeef::QeFinder::ediffZ
private

Definition at line 48 of file QeFinder_module.cc.

Referenced by Init(), and produce().

std::string qeef::QeFinder::fEnergyLabel
private

Definition at line 42 of file QeFinder_module.cc.

Referenced by produce(), and QeFinder().

std::string qeef::QeFinder::fknn1trkfile
private

Definition at line 44 of file QeFinder_module.cc.

Referenced by Init().

std::string qeef::QeFinder::fknn2trkfile
private

Definition at line 45 of file QeFinder_module.cc.

Referenced by Init().

std::string qeef::QeFinder::fKnnLibPath
private

Definition at line 43 of file QeFinder_module.cc.

Referenced by Init(), and QeFinder().

std::string qeef::QeFinder::fPIDLabel
private

Definition at line 41 of file QeFinder_module.cc.

Referenced by produce(), and QeFinder().

std::string qeef::QeFinder::fSliceLabel
private

Definition at line 39 of file QeFinder_module.cc.

Referenced by produce(), and QeFinder().

std::string qeef::QeFinder::fTrackLabel
private

Definition at line 40 of file QeFinder_module.cc.

Referenced by produce(), and QeFinder().

TMVA::Reader* qeef::QeFinder::knn1trk
private

Definition at line 47 of file QeFinder_module.cc.

Referenced by Init(), produce(), and ~QeFinder().

TMVA::Reader * qeef::QeFinder::knn2trk
private

Definition at line 47 of file QeFinder_module.cc.

Referenced by Init(), produce(), and ~QeFinder().

Float_t qeef::QeFinder::offEK
private

Definition at line 48 of file QeFinder_module.cc.

Referenced by Init().

bool qeef::QeFinder::trainfileloaded
private

Definition at line 46 of file QeFinder_module.cc.

Referenced by beginJob(), and Init().


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