Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
cvn::CVNMapper Class Reference
Inheritance diagram for cvn::CVNMapper:
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

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

const art::ProductToken< std::vector< rb::Cluster > > fClusterToken
 Module lablel for input clusters. More...
 
std::string fHitLabel
 Module lablel for hits. More...
 
std::string fProngModLabel
 Module lablel for input prongs. More...
 
std::string fProng3DLabel
 Instance lablel for input 3D prongs. More...
 
std::string fProng2DLabel
 Instance lablel for input 2D prongs. More...
 
std::string fEventPMLabel
 Instance lablel for event pixelmaps. More...
 
std::string fClusterPMLabel
 Instance lablel for cluster pixelmaps. More...
 
std::string fProngPMLabel
 Instance lablel for prong pixelmaps. More...
 
bool fMapProngs
 Option to save maps for prongs. More...
 
bool fMapEvents
 Option to save maps for events. More...
 
bool fObeyPreselection
 Check rb::IsFiltered? More...
 
std::vector< std::stringfPreselectionLabels
 
unsigned short fMinClusterHits
 Minimum number of hits for cluster to be converted to pixel map. More...
 
unsigned short fCellWidth
 Width of pixel map in cells. More...
 
unsigned short fPlaneLength
 Length of pixel map in planes. More...
 
unsigned int fMaxPlaneGap
 
bool fUseGeV
 true=GeV, false=PECorr More...
 
bool fHits
 Use hits (1/0) instead of energy in map. More...
 
bool fTime
 Use time instead of energy in map. More...
 
bool fUseFullND
 Check if you want to use the full-ND. More...
 
bool fFullSlice
 Use FullSlice mode in PixelMapProducer. More...
 
bool fFillHitNu
 Skip filling neutrino hit truth information. More...
 
bool fPEOnly
 Only create PE pixel maps, no other types (less time/memory) More...
 
PixelMapProducer fProducer
 PixelMapProducer does the work for us. More...
 

Detailed Description

Definition at line 50 of file CVNMapper_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

cvn::CVNMapper::CVNMapper ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 138 of file CVNMapper_module.cc.

References fClusterPMLabel, fEventPMLabel, and fProngPMLabel.

138  :
139  fClusterToken(consumes<std::vector<rb::Cluster>>(pset.get<std::string>("ClusterLabel"))),
140  fHitLabel (pset.get<std::string> ("HitLabel")),
141  fProngModLabel (pset.get<std::string> ("ProngModLabel")),
142  fProng3DLabel (pset.get<std::string> ("Prong3DLabel")),
143  fProng2DLabel (pset.get<std::string> ("Prong2DLabel")),
144  fEventPMLabel (pset.get<std::string> ("EventPMLabel")),
145  fClusterPMLabel(pset.get<std::string> ("ClusterPMLabel")),
146  fProngPMLabel (pset.get<std::string> ("ProngPMLabel")),
147  fMapProngs (pset.get<bool> ("MapProngs")),
148  fMapEvents (pset.get<bool> ("MapEvents")),
149  fObeyPreselection(pset.get<bool> ("ObeyPreselection")),
150  fPreselectionLabels (pset.get<std::vector<std::string>>
151  ("PreselectionLabels")),
152  fMinClusterHits(pset.get<unsigned short> ("MinClusterHits")),
153  fCellWidth (pset.get<unsigned short> ("CellWidth")),
154  fPlaneLength (pset.get<unsigned short> ("PlaneLength")),
155  fMaxPlaneGap (pset.get<unsigned int> ("MaxPlaneGap")),
156  fUseGeV (pset.get<bool> ("UseGeV")),
157  fHits (pset.get<bool> ("Hits")),
158  fTime (pset.get<bool> ("Time")),
159  fUseFullND (pset.get<bool> ("UseFullND")),
160  fFullSlice (pset.get<bool> ("FullSlice")),
161  fFillHitNu (pset.get<bool> ("FillHitNu")),
162  fPEOnly (pset.get<bool> ("PEOnly")),
164  {
165 
166  produces< std::vector<cvn::PixelMap> >(fEventPMLabel);
167  produces< std::vector<cvn::PixelMap> >(fClusterPMLabel);
168  produces< std::vector<cvn::PixelMap> >(fProngPMLabel);
169  produces< art::Assns<cvn::PixelMap, rb::Cluster> >();
170  produces< art::Assns<cvn::PixelMap, rb::Prong> >();
171  }
bool fPEOnly
Only create PE pixel maps, no other types (less time/memory)
bool fUseFullND
Check if you want to use the full-ND.
bool fFullSlice
Use FullSlice mode in PixelMapProducer.
bool fUseGeV
true=GeV, false=PECorr
unsigned short fCellWidth
Width of pixel map in cells.
std::vector< std::string > fPreselectionLabels
unsigned int fMaxPlaneGap
const art::ProductToken< std::vector< rb::Cluster > > fClusterToken
Module lablel for input clusters.
bool fMapProngs
Option to save maps for prongs.
PixelMapProducer fProducer
PixelMapProducer does the work for us.
bool fFillHitNu
Skip filling neutrino hit truth information.
std::string fProng3DLabel
Instance lablel for input 3D prongs.
unsigned short fMinClusterHits
Minimum number of hits for cluster to be converted to pixel map.
std::string fProngModLabel
Module lablel for input prongs.
bool fObeyPreselection
Check rb::IsFiltered?
bool fTime
Use time instead of energy in map.
std::string fClusterPMLabel
Instance lablel for cluster pixelmaps.
bool fHits
Use hits (1/0) instead of energy in map.
std::string fEventPMLabel
Instance lablel for event pixelmaps.
bool fMapEvents
Option to save maps for events.
std::string fProng2DLabel
Instance lablel for input 2D prongs.
std::string fHitLabel
Module lablel for hits.
unsigned short fPlaneLength
Length of pixel map in planes.
ProductToken< T > consumes(InputTag const &)
std::string fProngPMLabel
Instance lablel for prong pixelmaps.
enum BeamMode string
cvn::CVNMapper::~CVNMapper ( )

Definition at line 174 of file CVNMapper_module.cc.

175  {
176  //======================================================================
177  // Clean up any memory allocated by your module
178  //======================================================================
179  }

Member Function Documentation

void cvn::CVNMapper::beginJob ( )
virtual

Reimplemented from art::EDProducer.

Definition at line 182 of file CVNMapper_module.cc.

183  { }
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
void cvn::CVNMapper::endJob ( )
virtual

Reimplemented from art::EDProducer.

Definition at line 186 of file CVNMapper_module.cc.

187  {
188  }
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 cvn::CVNMapper::produce ( art::Event evt)
virtual

Implements art::EDProducer.

Definition at line 191 of file CVNMapper_module.cc.

References rb::Cluster::Add(), cvn::PixelMap::Bound(), util::CreateAssn(), cvn::PixelMapProducer::CreateMap(), cvn::PixelMapProducer::CreateMapGivenBoundary(), DEFINE_ART_MODULE(), fClusterPMLabel, fClusterToken, fEventPMLabel, fHitLabel, fMapEvents, fMapProngs, fMinClusterHits, fObeyPreselection, fPreselectionLabels, fProducer, fProng2DLabel, fProng3DLabel, fProngModLabel, fProngPMLabel, art::DataViewImpl::getByLabel(), art::DataViewImpl::getByToken(), MECModelEnuComparisons::i, rb::IsFiltered(), art::PtrVector< T >::push_back(), art::Event::put(), art::PtrVector< T >::size(), and rb::SortByTime().

192  {
193 
194  //Declaring containers for things to be stored in event
195  std::unique_ptr< std::vector<PixelMap> >
196  evt_pmCol(new std::vector<PixelMap>);
197  std::unique_ptr< std::vector<PixelMap> >
198  pmCol(new std::vector<PixelMap>);
199  std::unique_ptr< std::vector<PixelMap> >
200  prong_pmCol(new std::vector<PixelMap>);
201  std::unique_ptr< art::Assns<PixelMap, rb::Cluster> >
203  std::unique_ptr< art::Assns<PixelMap, rb::Prong> >
204  prong_assoc(new art::Assns<PixelMap,
205  rb::Prong>);
206 
207  if ( fMapEvents ){
208 
210 
211  // Get cellhits
213  evt.getByLabel(fHitLabel, hitcol);
214 
215 
216  std::vector<art::Ptr<rb::CellHit > > hitlist;
217  hitlist.reserve(hitcol->size());
218  for(unsigned int i = 0; i < hitcol->size(); ++i){
219  art::Ptr<rb::CellHit> hit(hitcol, i);
220  hitlist.push_back(hit);
221  }
222 
223  rb::SortByTime(hitlist);
224 
225  // Make evt cluster
226  rb::Cluster evtcluster;
227  for(unsigned int i = 0; i < hitlist.size(); ++i)
228  evtcluster.Add(hitlist[i]);
229 
230  PixelMap evtpm = fProducer.CreateMap(evtcluster);
231  //Boundary evtbound = evtpm.Bound();
232 
233  evt_pmCol->push_back(evtpm);
234 
235  } // end map events
236 
237 
239  evt.getByToken(fClusterToken, sliceHandle);
240 
241  if(sliceHandle->empty()){
242  mf::LogWarning ("No Slices")<<"No Slices in the input file";
243  return;
244  }
245 
247  for(unsigned int i = 0; i<sliceHandle->size();++i){
248  art::Ptr<rb::Cluster> clust(sliceHandle,i);
249  sliceCol.push_back(clust);
250  }
251 
252 
253 
254  for(unsigned int iSlice = 0; iSlice < sliceCol.size(); ++iSlice)
255  {
256 
257  if (sliceCol[iSlice]->IsNoise() ||
258  sliceCol[iSlice]->NCell() < fMinClusterHits)
259  continue;
260  // Skip if we're obeying preselection
261  if(fObeyPreselection && rb::IsFiltered(evt, sliceHandle,iSlice,
263  continue;
264  PixelMap pm = fProducer.CreateMap(*sliceCol[iSlice]);
265  Boundary bound = pm.Bound();
266 
267  pmCol->push_back(pm);
268  util::CreateAssn(*this, evt, *(pmCol.get()),
269  sliceCol[iSlice], *(assoc.get()), UINT_MAX,
271 
272  // Option to save prong level pixel maps
273  if ( fMapProngs ){
274 
275  art::FindManyP<rb::Prong> fmProng3D(sliceHandle, evt,
277  art::FindManyP<rb::Prong> fmProng2D(sliceHandle, evt,
279 
280  std::vector<art::Ptr<rb::Prong>> prongs3D;
281  std::vector<art::Ptr<rb::Prong>> prongs2D;
282 
283  if( fmProng2D.isValid() ) prongs2D = fmProng2D.at(iSlice);
284  if( fmProng3D.isValid() ) prongs3D = fmProng3D.at(iSlice);
285  else continue;
286 
287  for( unsigned int iProng = 0; iProng < prongs3D.size(); ++iProng ){
288 
289  // make prong maps with the same boundary as the slice maps
290  PixelMap new_pm = fProducer.CreateMapGivenBoundary(*prongs3D[iProng],
291  bound);
292 
293  prong_pmCol->push_back(new_pm);
294  util::CreateAssn(*this, evt, *(prong_pmCol.get()),
295  prongs3D[iProng], *(prong_assoc.get()), UINT_MAX, fProngPMLabel);
296  }// 3D prongs
297 
298  for( unsigned int iProng2 = 0; iProng2 < prongs2D.size(); ++iProng2 ){
299 
300  // make prong maps with the same boundary as the slice maps
301  PixelMap new_pm = fProducer.CreateMapGivenBoundary(*prongs2D[iProng2],
302  bound);
303 
304  prong_pmCol->push_back(new_pm);
305  util::CreateAssn(*this, evt, *(prong_pmCol.get()),
306  prongs2D[iProng2], *(prong_assoc.get()), UINT_MAX, fProngPMLabel);
307  }// 2D prongs
308 
309  }// MapProngs
310 
311  }
312  evt.put(std::move(evt_pmCol), fEventPMLabel);
313  evt.put(std::move(pmCol), fClusterPMLabel);
314  evt.put(std::move(prong_pmCol), fProngPMLabel);
315  evt.put(std::move(assoc));
316  evt.put(std::move(prong_assoc));
317  // evt.put(std::move(prong_assoc),fProng3DLabel);
318 
319  }
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.
std::vector< std::string > fPreselectionLabels
const art::ProductToken< std::vector< rb::Cluster > > fClusterToken
Module lablel for input clusters.
bool fMapProngs
Option to save maps for prongs.
PixelMapProducer fProducer
PixelMapProducer does the work for us.
A collection of associated CellHits.
Definition: Cluster.h:47
void SortByTime(std::vector< art::Ptr< rb::CellHit > > &c)
Sort c in time order (earliest to latest).
Definition: CellHit.cxx:134
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
std::string fProng3DLabel
Instance lablel for input 3D prongs.
unsigned short fMinClusterHits
Minimum number of hits for cluster to be converted to pixel map.
void push_back(Ptr< U > const &p)
Definition: PtrVector.h:441
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
std::string fProngModLabel
Module lablel for input prongs.
bool fObeyPreselection
Check rb::IsFiltered?
Boundary Bound() const
Map boundary.
Definition: PixelMap.h:51
PixelMap CreateMapGivenBoundary(const rb::Cluster &cluster, const Boundary &bound)
size_type size() const
Definition: PtrVector.h:308
std::string fClusterPMLabel
Instance lablel for cluster pixelmaps.
A Cluster with defined start position and direction.
Definition: Prong.h:19
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
Definition: structs.h:12
std::string fEventPMLabel
Instance lablel for event pixelmaps.
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
bool fMapEvents
Option to save maps for events.
std::string fProng2DLabel
Instance lablel for input 2D prongs.
PixelMap CreateMap(const rb::Cluster &slice)
bool getByToken(ProductToken< PROD > const &token, Handle< PROD > &result) const
Definition: DataViewImpl.h:387
std::string fHitLabel
Module lablel for hits.
std::string fProngPMLabel
Instance lablel for prong pixelmaps.
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

unsigned short cvn::CVNMapper::fCellWidth
private

Width of pixel map in cells.

Definition at line 100 of file CVNMapper_module.cc.

std::string cvn::CVNMapper::fClusterPMLabel
private

Instance lablel for cluster pixelmaps.

Definition at line 81 of file CVNMapper_module.cc.

Referenced by CVNMapper(), and produce().

const art::ProductToken<std::vector<rb::Cluster> > cvn::CVNMapper::fClusterToken
private

Module lablel for input clusters.

Definition at line 63 of file CVNMapper_module.cc.

Referenced by produce().

std::string cvn::CVNMapper::fEventPMLabel
private

Instance lablel for event pixelmaps.

Definition at line 78 of file CVNMapper_module.cc.

Referenced by CVNMapper(), and produce().

bool cvn::CVNMapper::fFillHitNu
private

Skip filling neutrino hit truth information.

Definition at line 125 of file CVNMapper_module.cc.

bool cvn::CVNMapper::fFullSlice
private

Use FullSlice mode in PixelMapProducer.

Definition at line 122 of file CVNMapper_module.cc.

std::string cvn::CVNMapper::fHitLabel
private

Module lablel for hits.

Definition at line 66 of file CVNMapper_module.cc.

Referenced by produce().

bool cvn::CVNMapper::fHits
private

Use hits (1/0) instead of energy in map.

Definition at line 113 of file CVNMapper_module.cc.

bool cvn::CVNMapper::fMapEvents
private

Option to save maps for events.

Definition at line 90 of file CVNMapper_module.cc.

Referenced by produce().

bool cvn::CVNMapper::fMapProngs
private

Option to save maps for prongs.

Definition at line 87 of file CVNMapper_module.cc.

Referenced by produce().

unsigned int cvn::CVNMapper::fMaxPlaneGap
private

Maximum gap in planes at front of cluster to prevent pruning of upstream hits

Definition at line 107 of file CVNMapper_module.cc.

unsigned short cvn::CVNMapper::fMinClusterHits
private

Minimum number of hits for cluster to be converted to pixel map.

Definition at line 97 of file CVNMapper_module.cc.

Referenced by produce().

bool cvn::CVNMapper::fObeyPreselection
private

Check rb::IsFiltered?

Definition at line 93 of file CVNMapper_module.cc.

Referenced by produce().

bool cvn::CVNMapper::fPEOnly
private

Only create PE pixel maps, no other types (less time/memory)

Definition at line 128 of file CVNMapper_module.cc.

unsigned short cvn::CVNMapper::fPlaneLength
private

Length of pixel map in planes.

Definition at line 103 of file CVNMapper_module.cc.

std::vector<std::string> cvn::CVNMapper::fPreselectionLabels
private

Definition at line 94 of file CVNMapper_module.cc.

Referenced by produce().

PixelMapProducer cvn::CVNMapper::fProducer
private

PixelMapProducer does the work for us.

Definition at line 131 of file CVNMapper_module.cc.

Referenced by produce().

std::string cvn::CVNMapper::fProng2DLabel
private

Instance lablel for input 2D prongs.

Definition at line 75 of file CVNMapper_module.cc.

Referenced by produce().

std::string cvn::CVNMapper::fProng3DLabel
private

Instance lablel for input 3D prongs.

Definition at line 72 of file CVNMapper_module.cc.

Referenced by produce().

std::string cvn::CVNMapper::fProngModLabel
private

Module lablel for input prongs.

Definition at line 69 of file CVNMapper_module.cc.

Referenced by produce().

std::string cvn::CVNMapper::fProngPMLabel
private

Instance lablel for prong pixelmaps.

Definition at line 84 of file CVNMapper_module.cc.

Referenced by CVNMapper(), and produce().

bool cvn::CVNMapper::fTime
private

Use time instead of energy in map.

Definition at line 116 of file CVNMapper_module.cc.

bool cvn::CVNMapper::fUseFullND
private

Check if you want to use the full-ND.

Definition at line 119 of file CVNMapper_module.cc.

bool cvn::CVNMapper::fUseGeV
private

true=GeV, false=PECorr

Definition at line 110 of file CVNMapper_module.cc.


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