Public Member Functions | |
GCNGraphROOT (fhicl::ParameterSet const &p) | |
GCNGraphROOT (GCNGraphROOT const &)=delete | |
GCNGraphROOT (GCNGraphROOT &&)=delete | |
GCNGraphROOT & | operator= (GCNGraphROOT const &)=delete |
GCNGraphROOT & | operator= (GCNGraphROOT &&)=delete |
void | reconfigure (fhicl::ParameterSet const &p) |
void | beginSubRun (art::SubRun const &sr) override |
Beginning of a subrun, make a new file. More... | |
void | endSubRun (art::SubRun const &sr) override |
End of a subrun, write all events to a ROOT file. More... | |
void | analyze (art::Event const &e) override |
Public Member Functions inherited from art::EDAnalyzer | |
EDAnalyzer (fhicl::ParameterSet const &pset) | |
template<typename Config > | |
EDAnalyzer (Table< Config > const &config) | |
std::string | workerType () const |
Public Member Functions inherited from art::detail::Analyzer | |
virtual | ~Analyzer () noexcept |
Analyzer (fhicl::ParameterSet const &pset) | |
template<typename Config > | |
Analyzer (Table< Config > const &config) | |
void | doBeginJob () |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Observer | |
~Observer () noexcept | |
Observer (Observer const &)=delete | |
Observer (Observer &&)=delete | |
Observer & | operator= (Observer const &)=delete |
Observer & | operator= (Observer &&)=delete |
void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
void | fillDescriptions (ModuleDescription const &) |
std::string const & | processName () const |
bool | wantAllEvents () const |
bool | wantEvent (Event const &e) |
fhicl::ParameterSetID | selectorConfig () const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
Public Member Functions inherited from art::ModuleBase | |
virtual | ~ModuleBase () noexcept |
ModuleBase () | |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Attributes | |
std::string | fGraphModuleLabel |
Name of graph producer module. More... | |
std::string | fGraphInstanceLabel |
Name of graph instance. More... | |
std::string | fTruthLabel |
Name of truth producer module. More... | |
std::string | fOutputName |
ROOT output filename. More... | |
std::string | fTreeName |
ROOT tree name. More... | |
bool | fSaveEventTruth |
Whether to save event-level truth information. More... | |
bool | fSaveParticleFlow |
Whether to include particle flow information. More... | |
std::vector< std::vector< float > > | fPosition |
Node positions. More... | |
std::vector< std::vector< float > > | fFeatures |
Node features. More... | |
std::vector< std::vector< float > > | fGroundTruth |
Node ground truth. More... | |
std::vector< unsigned int > | fEvent |
Event numbers. More... | |
bool | fIsCC |
Whether the neutrino interaction is charged current. More... | |
float | fNuEnergy |
True neutrino energy. More... | |
float | fLepEnergy |
True lepton energy. More... | |
float | fNuDirX |
X component of true neutrino direction. More... | |
float | fNuDirY |
Y component of true neutrino direction. More... | |
float | fNuDirZ |
Z component of true neutrino direction. More... | |
std::map< unsigned int, unsigned int > | fParticleFlow |
Particle flow map. More... | |
TFile * | fFile |
Output ROOT file. More... | |
TTree * | fTree |
ROOT tree for writing to file. More... | |
Additional Inherited Members | |
Public Types inherited from art::EDAnalyzer | |
using | WorkerType = WorkerT< EDAnalyzer > |
using | ModuleType = EDAnalyzer |
Protected Member Functions inherited from art::Observer | |
Observer (fhicl::ParameterSet const &config) | |
Observer (std::vector< std::string > const &paths, fhicl::ParameterSet const &config) | |
detail::ProcessAndEventSelectors & | processAndEventSelectors () |
Protected Member Functions inherited from art::ModuleBase | |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Definition at line 33 of file GCNGraphROOT_module.cc.
|
explicit |
Definition at line 79 of file GCNGraphROOT_module.cc.
|
delete |
|
delete |
|
overridevirtual |
Implements art::EDAnalyzer.
Definition at line 96 of file GCNGraphROOT_module.cc.
|
overridevirtual |
Beginning of a subrun, make a new file.
Reimplemented from art::EDAnalyzer.
Definition at line 171 of file GCNGraphROOT_module.cc.
|
overridevirtual |
End of a subrun, write all events to a ROOT file.
Reimplemented from art::EDAnalyzer.
Definition at line 202 of file GCNGraphROOT_module.cc.
|
delete |
|
delete |
void cvn::GCNGraphROOT::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 84 of file GCNGraphROOT_module.cc.
|
private |
Event numbers.
Definition at line 62 of file GCNGraphROOT_module.cc.
|
private |
Node features.
Definition at line 59 of file GCNGraphROOT_module.cc.
|
private |
Output ROOT file.
Definition at line 73 of file GCNGraphROOT_module.cc.
|
private |
Name of graph instance.
Definition at line 51 of file GCNGraphROOT_module.cc.
|
private |
Name of graph producer module.
Definition at line 50 of file GCNGraphROOT_module.cc.
|
private |
Node ground truth.
Definition at line 60 of file GCNGraphROOT_module.cc.
|
private |
Whether the neutrino interaction is charged current.
Definition at line 64 of file GCNGraphROOT_module.cc.
|
private |
True lepton energy.
Definition at line 66 of file GCNGraphROOT_module.cc.
|
private |
X component of true neutrino direction.
Definition at line 67 of file GCNGraphROOT_module.cc.
|
private |
Y component of true neutrino direction.
Definition at line 68 of file GCNGraphROOT_module.cc.
|
private |
Z component of true neutrino direction.
Definition at line 69 of file GCNGraphROOT_module.cc.
|
private |
True neutrino energy.
Definition at line 65 of file GCNGraphROOT_module.cc.
|
private |
ROOT output filename.
Definition at line 53 of file GCNGraphROOT_module.cc.
|
private |
Particle flow map.
Definition at line 71 of file GCNGraphROOT_module.cc.
|
private |
Node positions.
Definition at line 58 of file GCNGraphROOT_module.cc.
|
private |
Whether to save event-level truth information.
Definition at line 55 of file GCNGraphROOT_module.cc.
|
private |
Whether to include particle flow information.
Definition at line 56 of file GCNGraphROOT_module.cc.
|
private |
ROOT tree for writing to file.
Definition at line 74 of file GCNGraphROOT_module.cc.
|
private |
ROOT tree name.
Definition at line 54 of file GCNGraphROOT_module.cc.
|
private |
Name of truth producer module.
Definition at line 52 of file GCNGraphROOT_module.cc.