Public Types | |
using | WorkerType = WorkerT< EDAnalyzer > |
using | ModuleType = EDAnalyzer |
Public Member Functions | |
FastMMStudy (fhicl::ParameterSet const &p) | |
FastMMStudy (FastMMStudy const &)=delete | |
FastMMStudy (FastMMStudy &&)=delete | |
FastMMStudy & | operator= (FastMMStudy const &)=delete |
FastMMStudy & | operator= (FastMMStudy &&)=delete |
void | analyze (art::Event const &e) override |
void | beginJob () override |
std::string | workerType () const |
bool | modifiesEvent () const |
void | registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &) |
std::string const & | processName () const |
bool | wantAllEvents () const |
bool | wantEvent (Event const &e) |
fhicl::ParameterSetID | selectorConfig () const |
art::Handle< art::TriggerResults > | getTriggerResults (Event const &e) const |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (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< T > | consumesView (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (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< T > | mayConsumeView (InputTag const &it) |
base_engine_t & | createEngine (seed_t seed) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
base_engine_t & | createEngine (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< Consumer > | non_module_context () |
Protected Member Functions | |
CurrentProcessingContext const * | currentContext () const |
detail::CachedProducts & | cachedProducts () |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Member Functions | |
void | tset (std::string const &branch_name, double const &value) |
void | tset2 (std::string const &branch_name, double const &value) |
void | StdevCellsPerPlane (rb::Cluster const &hits, double &stdev_cells_per_plane_xview, double &stdev_cells_per_plane_yview) const |
void | NumberOfCellsPerLength (rb::Cluster const &hits, double tracklength_of_xview, double tracklength_of_yview, double &number_of_cells_per_length_xview, double &number_of_cells_per_length_yview) const |
float | Distance (unsigned const &xcell1, unsigned const &ycell1, unsigned const &plane1, unsigned const &xcell2, unsigned const &ycell2, unsigned const &plane2) const |
bool | SurfAssign (rb::CellHit const &hit) const |
int | GetSurfaceId (rb::CellHit const &hit) const |
double | WeightedCenterCut (rb::Cluster const &hits, float PX_min, float PX_max, float PY_min, float PY_max, float CX_min, float CX_max, float CY_min, float CY_max, double &weighted_off_center_xx, double &weighted_off_center_xz, double &weighted_off_center_yy, double &weighted_off_center_yz) const |
double | NumberOfHitsInOverlapPlanesCut (rb::Cluster const &hits, float PX_min, float PX_max, float PY_min, float PY_max) const |
int | NumberOfSurfaceHits (rb::Cluster const &hits) const |
void | LinFit (const std::vector< double > &x, const std::vector< double > &y, double *fitpar) |
Private Attributes | |
std::string | _slicelabel |
std::string | _sliceinstance |
int | nxhits_MC |
int | nyhits_MC |
double | ti_MC |
double | tf_MC |
double | beta_MC |
int | _xMin |
int | _xMax |
int | _yMin |
int | _yMax |
int | _zMin |
int | _zMax |
int | _deltx |
int | _delty |
int | _deltz |
int | _sigmaP |
int | _trueHits |
int | _nSatHits |
double | _stdevcellsperplane |
double | _MaxHitsPerLength |
double | _MaxOffCenter |
int | _MinNumberSurfaceHits |
int | PX_max |
int | PY_max |
int | PX_min |
int | PY_min |
int | CX_max |
int | CX_min |
int | CY_max |
int | CY_min |
long long | TX_max |
long long | TY_max |
long long | TX_min |
long long | TY_min |
double | branch_default_value_ |
TTree * | tree_ |
TTree * | tree2_ |
std::map< std::string, double > | t_ |
std::map< std::string, double > | t2_ |
art::ServiceHandle< art::TFileService > | tfs_ |
Definition at line 61 of file FastMMStudy_module.cc.
|
inherited |
Definition at line 39 of file EDAnalyzer.h.
|
inherited |
Definition at line 38 of file EDAnalyzer.h.
|
explicit |
Definition at line 116 of file FastMMStudy_module.cc.
|
delete |
|
delete |
|
overridevirtual |
I want to remove isolated hits from beginning
Implements art::EDAnalyzer.
Definition at line 139 of file FastMMStudy_module.cc.
References _deltx, _delty, _deltz, _nSatHits, _sigmaP, _slicelabel, _trueHits, _xMax, _xMin, _yMax, _yMin, _zMax, _zMin, rawdata::RawDigit::ADC(), rb::Cluster::AllCells(), sim::ParticleNavigator::begin(), beta_MC, compare_h5_caf::branch, branch_default_value_, rb::CellHit::Cell(), CX_max, CX_min, CY_max, CY_min, Distance(), sim::ParticleNavigator::end(), art::Event::event(), geom(), art::DataViewImpl::getByLabel(), make_syst_table_plots::h, hits(), MECModelEnuComparisons::i, geo::kX, LinFit(), simb::MCParticle::Mass(), std::max(), std::min(), rb::Cluster::NCell(), NumberOfCellsPerLength(), NumberOfHitsInOverlapPlanesCut(), NumberOfSurfaceHits(), nxhits_MC, nyhits_MC, simb::MCParticle::P(), cheat::BackTracker::ParticleNavigator(), cheat::BackTracker::ParticleToFLSHit(), simb::MCParticle::PdgCode(), rb::CellHit::Plane(), PX_max, PX_min, PY_max, PY_min, art::Event::run(), std::sqrt(), StdevCellsPerPlane(), art::Event::subRun(), t_, rawdata::RawDigit::TDC(), tf_MC, ti_MC, simb::MCParticle::TrackId(), tree2_, tree_, tset(), tset2(), TX_max, TX_min, TY_max, TY_min, rb::CellHit::View(), WeightedCenterCut(), and rb::Cluster::XCell().
|
overridevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 398 of file FastMMStudy_module.cc.
References art::TFileDirectory::make(), t2_, t_, tfs_, tree2_, and tree_.
|
inlineprotectedinherited |
Definition at line 79 of file EventObserverBase.h.
References art::EventObserverBase::selectors_.
|
inherited |
|
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.
|
inherited |
|
inherited |
|
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.
|
inherited |
Referenced by evgen::CosmicPionGen::CosmicPionGen(), evgen::CosmicsGen::CosmicsGen(), fuzz::FuzzyKVertex::FuzzyKVertex(), g4n::G4Gen::G4Gen(), photrans::ImprovedTransport::ImprovedTransport(), art::MixFilter< T >::initEngine_(), evgen::IsoGen::IsoGen(), rsim::MakeNoiseSpectrumFile::MakeNoiseSpectrumFile(), photrans::PhotonSystRewriter::PhotonSystRewriter(), photrans::PhotonTransport::PhotonTransport(), rsim::ReadoutSim::ReadoutSim(), evgen::SingleGen::SingleGen(), and evgen::SupernovaGen::SupernovaGen().
|
inherited |
|
inherited |
|
protectedinherited |
Referenced by art::EDAnalyzer::workerType().
|
private |
Definition at line 537 of file FastMMStudy_module.cc.
References std::sqrt().
Referenced by analyze().
|
inherited |
Referenced by art::MixFilter< T >::initEngine_().
|
private |
Definition at line 553 of file FastMMStudy_module.cc.
References _deltx, _delty, _deltz, _xMax, _xMin, _yMax, _yMin, _zMax, _zMin, rb::CellHit::Cell(), geo::kX, rb::CellHit::Plane(), and rb::CellHit::View().
|
inlineinherited |
Definition at line 61 of file EventObserverBase.h.
References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.
|
private |
Definition at line 632 of file FastMMStudy_module.cc.
References a, b, DEFINE_ART_MODULE(), getGoodRuns4SAM::n, r(), std::sqrt(), submit_syst::x, xx, and submit_syst::y.
Referenced by analyze().
|
inherited |
|
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.
|
inherited |
|
inherited |
|
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.
|
inlineinherited |
Definition at line 25 of file EventObserverBase.h.
|
staticinherited |
Referenced by art::RootOutput::beginSubRun(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EmptyEvent::readRun_(), and art::EmptyEvent::readSubRun_().
|
private |
Definition at line 438 of file FastMMStudy_module.cc.
References rb::Cluster::AllCells(), rb::CellHit::Cell(), distance(), febshutoff_auto::end, MECModelEnuComparisons::i, it, geo::kX, geo::kY, rb::CellHit::Plane(), PX_max, PX_min, PY_max, PY_min, and rb::CellHit::View().
Referenced by analyze().
|
private |
Definition at line 619 of file FastMMStudy_module.cc.
References rb::Cluster::AllCells(), cet::sqlite::max(), std::max(), min(), std::min(), rb::Cluster::NCell(), and rb::CellHit::Plane().
Referenced by analyze().
|
private |
Definition at line 583 of file FastMMStudy_module.cc.
References rb::Cluster::Cell(), MECModelEnuComparisons::i, rb::Cluster::NCell(), and SurfAssign().
Referenced by analyze().
|
delete |
|
delete |
|
protectedinherited |
|
inlineinherited |
Definition at line 41 of file EventObserverBase.h.
References art::EventObserverBase::process_name_.
Referenced by art::FileDumperOutput::printPrincipal(), and art::RootOutput::RootOutput().
|
inlineinherited |
|
inlineinherited |
Definition at line 56 of file EventObserverBase.h.
References art::EventObserverBase::selector_config_id_.
|
protectedinherited |
Referenced by art::RootOutput::endJob().
|
private |
Definition at line 483 of file FastMMStudy_module.cc.
References rb::Cluster::AllCells(), rb::CellHit::Cell(), distance(), febshutoff_auto::end, MECModelEnuComparisons::i, it, geo::kX, geo::kY, extractScale::mean, rb::CellHit::Plane(), PX_max, PX_min, PY_max, PY_min, std::sqrt(), HandyFuncs::stdev(), sum, and rb::CellHit::View().
Referenced by analyze().
|
private |
Definition at line 542 of file FastMMStudy_module.cc.
References _deltx, _deltz, _xMax, _xMin, _zMax, _zMin, rb::CellHit::Cell(), and rb::CellHit::Plane().
Referenced by NumberOfSurfaceHits().
|
private |
Definition at line 413 of file FastMMStudy_module.cc.
References ana::assert(), om::cerr, allTimeWatchdog::endl, it, and t_.
Referenced by analyze().
|
private |
Definition at line 426 of file FastMMStudy_module.cc.
References ana::assert(), om::cerr, allTimeWatchdog::endl, it, and t2_.
Referenced by analyze().
|
protectedinherited |
|
inlineinherited |
Definition at line 46 of file EventObserverBase.h.
References art::EventObserverBase::wantAllEvents_.
Referenced by art::RootOutput::RootOutput().
|
inlineinherited |
Definition at line 51 of file EventObserverBase.h.
References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().
|
private |
Definition at line 590 of file FastMMStudy_module.cc.
References std::abs(), rawdata::RawDigit::ADC(), rb::Cluster::AllCells(), rb::CellHit::Cell(), CX_min, CY_min, geo::kX, geo::kY, std::max(), rb::CellHit::Plane(), PX_min, PY_min, and rb::CellHit::View().
Referenced by analyze().
|
inlineinherited |
Definition at line 109 of file EDAnalyzer.h.
References art::EDAnalyzer::currentContext().
|
private |
Definition at line 85 of file FastMMStudy_module.cc.
Referenced by analyze(), GetSurfaceId(), and SurfAssign().
|
private |
Definition at line 86 of file FastMMStudy_module.cc.
Referenced by analyze(), and GetSurfaceId().
|
private |
Definition at line 87 of file FastMMStudy_module.cc.
Referenced by analyze(), GetSurfaceId(), and SurfAssign().
|
private |
Definition at line 92 of file FastMMStudy_module.cc.
|
private |
Definition at line 93 of file FastMMStudy_module.cc.
|
private |
Definition at line 94 of file FastMMStudy_module.cc.
|
private |
Definition at line 90 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 88 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 73 of file FastMMStudy_module.cc.
|
private |
Definition at line 72 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 91 of file FastMMStudy_module.cc.
|
private |
Definition at line 89 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 80 of file FastMMStudy_module.cc.
Referenced by analyze(), GetSurfaceId(), and SurfAssign().
|
private |
Definition at line 79 of file FastMMStudy_module.cc.
Referenced by analyze(), GetSurfaceId(), and SurfAssign().
|
private |
Definition at line 82 of file FastMMStudy_module.cc.
Referenced by analyze(), and GetSurfaceId().
|
private |
Definition at line 81 of file FastMMStudy_module.cc.
Referenced by analyze(), and GetSurfaceId().
|
private |
Definition at line 84 of file FastMMStudy_module.cc.
Referenced by analyze(), GetSurfaceId(), and SurfAssign().
|
private |
Definition at line 83 of file FastMMStudy_module.cc.
Referenced by analyze(), GetSurfaceId(), and SurfAssign().
|
private |
Definition at line 77 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze(), and WeightedCenterCut().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze(), and WeightedCenterCut().
|
private |
Definition at line 75 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 75 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze(), NumberOfCellsPerLength(), and StdevCellsPerPlane().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze(), NumberOfCellsPerLength(), StdevCellsPerPlane(), and WeightedCenterCut().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze(), NumberOfCellsPerLength(), and StdevCellsPerPlane().
|
private |
Definition at line 95 of file FastMMStudy_module.cc.
Referenced by analyze(), NumberOfCellsPerLength(), StdevCellsPerPlane(), and WeightedCenterCut().
|
private |
Definition at line 101 of file FastMMStudy_module.cc.
Referenced by beginJob(), and tset2().
|
private |
Definition at line 100 of file FastMMStudy_module.cc.
Referenced by analyze(), beginJob(), and tset().
|
private |
Definition at line 76 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 102 of file FastMMStudy_module.cc.
Referenced by beginJob().
|
private |
Definition at line 76 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 99 of file FastMMStudy_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file FastMMStudy_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 96 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file FastMMStudy_module.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file FastMMStudy_module.cc.
Referenced by analyze().