Public Member Functions | |
| EMPi0Energy (fhicl::ParameterSet const &pset) | |
| void | analyze (art::Event const &evt) |
| void | reconfigure (fhicl::ParameterSet const &p) |
| void | reset () |
| double | ConvertChargeToEnergy (double charge, int plane) |
| double | FindDepositedEnergy (int trackID) |
| int | FindTrackID (detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > const &hit) |
| int | FindTrueTrack (detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::Hit > > const &clusterHits) |
| double | FindVertexDetectorDistance (const simb::MCParticle *particle) |
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 | trueEnergyPi0 |
| double | trueEnergyHighEPhoton |
| double | trueEnergyLowEPhoton |
| int | trueTrackIDPi0 |
| int | trueTrackIDHighEPhoton |
| int | trueTrackIDLowEPhoton |
| double | depositHighEPhoton |
| double | depositLowEPhoton |
| double | vertexDetectorDistHighEPhoton |
| double | vertexDetectorDistLowEPhoton |
| int | nclusters |
| int | cluster_plane [kMaxClusters] |
| int | cluster_size [kMaxClusters] |
| int | cluster_truetrackid [kMaxClusters] |
| double | cluster_charge [kMaxClusters] |
| double | cluster_energy [kMaxClusters] |
| 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 |
| double | Uintercept |
| double | Ugradient |
| double | Vintercept |
| double | Vgradient |
| double | Zintercept |
| double | Zgradient |
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 55 of file EMPi0Energy_module.cc.
| emshower::EMPi0Energy::EMPi0Energy | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 105 of file EMPi0Energy_module.cc.
|
virtual |
Analyse function to save information for calibrating shower energies This is written assuming single pi0 per event
Implements art::EDAnalyzer.
Definition at line 136 of file EMPi0Energy_module.cc.
| double emshower::EMPi0Energy::ConvertChargeToEnergy | ( | double | charge, |
| int | plane | ||
| ) |
| double emshower::EMPi0Energy::FindDepositedEnergy | ( | int | trackID | ) |
Definition at line 239 of file EMPi0Energy_module.cc.
| int emshower::EMPi0Energy::FindTrackID | ( | detinfo::DetectorClocksData const & | clockData, |
| art::Ptr< recob::Hit > const & | hit | ||
| ) |
Find the true track ID this hit is associated with
Definition at line 258 of file EMPi0Energy_module.cc.
| int emshower::EMPi0Energy::FindTrueTrack | ( | detinfo::DetectorClocksData const & | clockData, |
| std::vector< art::Ptr< recob::Hit > > const & | clusterHits | ||
| ) |
Find the true track which is most associated to this cluster
Definition at line 275 of file EMPi0Energy_module.cc.
| double emshower::EMPi0Energy::FindVertexDetectorDistance | ( | const simb::MCParticle * | particle | ) |
Finds the rough distance from the end of a particle track to the edge of the detector, along the direction of the particle
Definition at line 297 of file EMPi0Energy_module.cc.
| void emshower::EMPi0Energy::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 131 of file EMPi0Energy_module.cc.
| void emshower::EMPi0Energy::reset | ( | ) |
Definition at line 322 of file EMPi0Energy_module.cc.
|
private |
Definition at line 94 of file EMPi0Energy_module.cc.
|
private |
Definition at line 88 of file EMPi0Energy_module.cc.
|
private |
Definition at line 89 of file EMPi0Energy_module.cc.
|
private |
Definition at line 85 of file EMPi0Energy_module.cc.
|
private |
Definition at line 86 of file EMPi0Energy_module.cc.
|
private |
Definition at line 87 of file EMPi0Energy_module.cc.
|
private |
Definition at line 80 of file EMPi0Energy_module.cc.
|
private |
Definition at line 81 of file EMPi0Energy_module.cc.
|
private |
Definition at line 92 of file EMPi0Energy_module.cc.
|
private |
Definition at line 91 of file EMPi0Energy_module.cc.
|
private |
Definition at line 73 of file EMPi0Energy_module.cc.
|
private |
Definition at line 96 of file EMPi0Energy_module.cc.
|
private |
Definition at line 84 of file EMPi0Energy_module.cc.
|
private |
Definition at line 95 of file EMPi0Energy_module.cc.
|
private |
Definition at line 93 of file EMPi0Energy_module.cc.
|
private |
Definition at line 75 of file EMPi0Energy_module.cc.
|
private |
Definition at line 76 of file EMPi0Energy_module.cc.
|
private |
Definition at line 74 of file EMPi0Energy_module.cc.
|
private |
Definition at line 78 of file EMPi0Energy_module.cc.
|
private |
Definition at line 79 of file EMPi0Energy_module.cc.
|
private |
Definition at line 77 of file EMPi0Energy_module.cc.
|
private |
Definition at line 99 of file EMPi0Energy_module.cc.
|
private |
Definition at line 99 of file EMPi0Energy_module.cc.
|
private |
Definition at line 82 of file EMPi0Energy_module.cc.
|
private |
Definition at line 83 of file EMPi0Energy_module.cc.
|
private |
Definition at line 100 of file EMPi0Energy_module.cc.
|
private |
Definition at line 100 of file EMPi0Energy_module.cc.
|
private |
Definition at line 101 of file EMPi0Energy_module.cc.
|
private |
Definition at line 101 of file EMPi0Energy_module.cc.
1.8.11