Public Member Functions | |
EMEnergyCalib (fhicl::ParameterSet const &pset) | |
void | analyze (art::Event const &evt) |
void | reconfigure (fhicl::ParameterSet const &p) |
void | reset () |
int | FindTrackID (detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > const &hit) |
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 (SharedResources const &resources) |
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 &) |
fhicl::ParameterSetID | selectorConfig () 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 | |
TTree * | fTree |
double | trueEnergy |
double | depositU |
double | depositV |
double | depositZ |
double | correctedChargeU |
double | correctedChargeV |
double | correctedChargeZ |
double | vertexDetectorDist |
int | nhits |
int | hit_tpc [kMaxHits] |
int | hit_plane [kMaxHits] |
int | hit_wire [kMaxHits] |
int | hit_channel [kMaxHits] |
double | hit_peakT [kMaxHits] |
double | hit_charge [kMaxHits] |
int | hit_truetrackid [kMaxHits] |
int | hit_clusterid [kMaxHits] |
std::string | fHitsModuleLabel |
std::string | fClusterModuleLabel |
art::ServiceHandle< art::TFileService > | tfs |
art::ServiceHandle< cheat::BackTrackerService > | backtracker |
art::ServiceHandle< cheat::ParticleInventoryService > | particleinventory |
art::ServiceHandle< geo::Geometry > | geom |
Additional Inherited Members | |
Public Types inherited from art::EDAnalyzer | |
using | WorkerType = WorkerT< EDAnalyzer > |
using | ModuleType = EDAnalyzer |
Protected Member Functions inherited from art::Observer | |
std::string const & | processName () const |
bool | wantAllEvents () const noexcept |
bool | wantEvent (ScheduleID id, Event const &e) const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
Observer (fhicl::ParameterSet const &config) | |
Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths, fhicl::ParameterSet const &config) | |
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 65 of file EMEnergyCalib_module.cc.
emshower::EMEnergyCalib::EMEnergyCalib | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 106 of file EMEnergyCalib_module.cc.
|
virtual |
Analyse function to save information for calibrating shower energies This is written assuming single particle per event
Implements art::EDAnalyzer.
Definition at line 134 of file EMEnergyCalib_module.cc.
int emshower::EMEnergyCalib::FindTrackID | ( | detinfo::DetectorClocksData const & | clockData, |
art::Ptr< recob::Hit > const & | hit | ||
) |
Definition at line 263 of file EMEnergyCalib_module.cc.
void emshower::EMEnergyCalib::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 129 of file EMEnergyCalib_module.cc.
void emshower::EMEnergyCalib::reset | ( | ) |
Definition at line 277 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 100 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 83 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 84 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 85 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 80 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 81 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 82 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 98 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 97 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 78 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 102 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 91 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 93 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 95 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 92 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 89 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 88 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 94 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 90 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 87 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 101 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 99 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 79 of file EMEnergyCalib_module.cc.
|
private |
Definition at line 86 of file EMEnergyCalib_module.cc.