|
LDMX Software
|
Public Member Functions | |
| SeedFinderProcessor (const std::string &name, framework::Process &process) | |
| Constructor. | |
| virtual | ~SeedFinderProcessor ()=default |
| Destructor. | |
| void | onProcessStart () override |
| Callback for the EventProcessor to take any necessary action when the processing of events starts, such as creating histograms. | |
| void | onProcessEnd () override |
| Callback for the EventProcessor to take any necessary action when the processing of events finishes, such as calculating job-summary quantities. | |
| void | configure (framework::config::Parameters ¶meters) override |
| Configure the processor using the given user specified parameters. | |
| void | produce (framework::Event &event) override |
| Run the processor and create a collection of results which indicate if a charge particle can be found by the recoil tracker. | |
| bool | groupStrips (const std::vector< ldmx::Measurement > &measurements, const std::vector< int > strategy) |
| void | findSeedsFromMap (ldmx::Tracks &seeds, const ldmx::Measurements &pmeas) |
Public Member Functions inherited from tracking::reco::TrackingGeometryUser | |
| TrackingGeometryUser (const std::string &name, framework::Process &p) | |
Public Member Functions inherited from framework::Producer | |
| Producer (const std::string &name, Process &process) | |
| Class constructor. | |
| virtual void | process (Event &event) final |
| Processing an event for a Producer is calling produce. | |
Public Member Functions inherited from framework::EventProcessor | |
| DECLARE_FACTORY (EventProcessor, EventProcessor *, const std::string &, Process &) | |
| declare that we have a factory for this class | |
| EventProcessor (const std::string &name, Process &process) | |
| Class constructor. | |
| virtual | ~EventProcessor ()=default |
| Class destructor. | |
| virtual void | beforeNewRun (ldmx::RunHeader &run_header) |
| Callback for Producers to add parameters to the run header before conditions are initialized. | |
| virtual void | onNewRun (const ldmx::RunHeader &run_header) |
| Callback for the EventProcessor to take any necessary action when the run being processed changes. | |
| virtual void | onFileOpen (EventFile &event_file) |
| Callback for the EventProcessor to take any necessary action when a new event input ROOT file is opened. | |
| virtual void | onFileClose (EventFile &event_file) |
| Callback for the EventProcessor to take any necessary action when a event input ROOT file is closed. | |
| template<class T > | |
| const T & | getCondition (const std::string &condition_name) |
| Access a conditions object for the current event. | |
| TDirectory * | getHistoDirectory () |
| Access/create a directory in the histogram file for this event processor to create histograms and analysis tuples. | |
| void | setStorageHint (framework::StorageControl::Hint hint) |
| Mark the current event as having the given storage control hint from this module_. | |
| void | setStorageHint (framework::StorageControl::Hint hint, const std::string &purposeString) |
| Mark the current event as having the given storage control hint from this module and the given purpose string. | |
| int | getLogFrequency () const |
| Get the current logging frequency from the process. | |
| int | getRunNumber () const |
| Get the run number from the process. | |
| std::string | getName () const |
| Get the processor name. | |
| void | createHistograms (const std::vector< framework::config::Parameters > &histos) |
| Internal function which is used to create histograms passed from the python configuration @parma histos vector of Parameters that configure histograms to create. | |
Private Member Functions | |
| ldmx::Track | seedTracker (const ldmx::Measurements &vmeas, double xOrigin, const Acts::Vector3 &perigee_location, const ldmx::Measurements &pmeas_tgt) |
| void | lineParabolaToHelix (const Acts::ActsVector< 5 > parameters, Acts::ActsVector< 5 > &helix_parameters, Acts::Vector3 ref) |
Private Attributes | |
| Acts::Vector3 | b_field_ |
| std::shared_ptr< tracking::sim::SeedToTrackParamMaker > | seed_to_track_maker_ |
| double | processing_time_ {0.} |
| long | nevents_ {0} |
| unsigned int | ntracks_ {0} |
| std::vector< double > | inflate_factors_ {1., 1., 1., 1., 1.} |
| std::string | out_seed_collection_ {"SeedTracks"} |
| The name of the output collection of seeds to be stored. | |
| std::string | input_hits_collection_ {"TaggerSimHits"} |
| The name of the input hits collection to use in finding seeds.. | |
| std::string | tagger_trks_collection_ {"TaggerTracks"} |
| The name of the tagger Tracks (only for Recoil Seeding) | |
| std::string | input_pass_name_ {""} |
| std::string | sim_particles_passname_ |
| std::string | tagger_trks_event_collection_passname_ |
| std::string | sim_particles_event_passname_ |
| std::vector< double > | perigee_location_ {-700., 0., 0} |
| Location of the perigee for the helix track parameters. | |
| double | pmin_ {0.05} |
| Minimum cut on the momentum of the seeds. | |
| double | pmax_ {8} |
| Maximum cut on the momentum of the seeds. | |
| double | d0max_ {20.} |
| Max d0 allowed for the seeds. | |
| double | d0min_ {20.} |
| Min d0 allowed for the seeds. | |
| double | z0max_ {60.} |
| Max z0 allowed for the seeds. | |
| double | piover2_ {1.5708} |
| double | phicut_ {0.1} |
| PhiRange. | |
| double | thetacut_ {0.2} |
| ThetaRange. | |
| double | loc0cut_ {0.1} |
| loc0 / loc1 cuts | |
| double | loc1cut_ {0.3} |
| std::vector< std::string > | strategies_ {} |
| List of stragies for seed finding. | |
| double | bfield_ {1.5} |
| std::vector< float > | xhit_ |
| std::vector< float > | yhit_ |
| std::vector< float > | zhit_ |
| std::vector< float > | b0_ |
| std::vector< float > | b1_ |
| std::vector< float > | b2_ |
| std::vector< float > | b3_ |
| std::vector< float > | b4_ |
| long | ndoubles_ {0} |
| long | nmissing_ {0} |
| long | nfailpmin_ {0} |
| long | nfailpmax_ {0} |
| long | nfaild0min_ {0} |
| long | nfaild0max_ {0} |
| long | nfailz0max_ {0} |
| long | nfailphi_ {0} |
| long | nfailtheta_ {0} |
| std::map< int, std::vector< const ldmx::Measurement * > > | groups_map_ |
| std::shared_ptr< tracking::sim::TruthMatchingTool > | truth_matching_tool_ |
Additional Inherited Members | |
Protected Member Functions inherited from tracking::reco::TrackingGeometryUser | |
| const Acts::GeometryContext & | geometryContext () |
| const Acts::MagneticFieldContext & | magneticFieldContext () |
| const Acts::CalibrationContext & | calibrationContext () |
| const geo::TrackersTrackingGeometry & | geometry () |
Protected Member Functions inherited from framework::EventProcessor | |
| void | abortEvent () |
| Abort the event immediately. | |
Protected Attributes inherited from framework::EventProcessor | |
| HistogramPool | histograms_ |
| helper object for making and filling histograms | |
| NtupleManager & | ntuple_ {NtupleManager::getInstance()} |
| Manager for any ntuples. | |
| logging::logger | the_log_ |
| The logger for this EventProcessor. | |
Definition at line 40 of file SeedFinderProcessor.h.
| tracking::reco::SeedFinderProcessor::SeedFinderProcessor | ( | const std::string & | name, |
| framework::Process & | process ) |
Constructor.
| name | The name of the instance of this object. |
| process | The process running this producer. |
Definition at line 20 of file SeedFinderProcessor.cxx.
|
overridevirtual |
Configure the processor using the given user specified parameters.
| parameters | Set of parameters used to configure this processor. |
Reimplemented from framework::EventProcessor.
Definition at line 45 of file SeedFinderProcessor.cxx.
References d0max_, d0min_, framework::config::Parameters::get(), framework::EventProcessor::getName(), input_hits_collection_, loc0cut_, out_seed_collection_, perigee_location_, phicut_, pmax_, pmin_, strategies_, tagger_trks_collection_, thetacut_, and z0max_.
| void tracking::reco::SeedFinderProcessor::findSeedsFromMap | ( | ldmx::Tracks & | seeds, |
| const ldmx::Measurements & | pmeas ) |
Definition at line 472 of file SeedFinderProcessor.cxx.
| bool tracking::reco::SeedFinderProcessor::groupStrips | ( | const std::vector< ldmx::Measurement > & | measurements, |
| const std::vector< int > | strategy ) |
Definition at line 442 of file SeedFinderProcessor.cxx.
|
overridevirtual |
Callback for the EventProcessor to take any necessary action when the processing of events finishes, such as calculating job-summary quantities.
Reimplemented from framework::EventProcessor.
Definition at line 419 of file SeedFinderProcessor.cxx.
|
overridevirtual |
Callback for the EventProcessor to take any necessary action when the processing of events starts, such as creating histograms.
Reimplemented from framework::EventProcessor.
Definition at line 41 of file SeedFinderProcessor.cxx.
|
overridevirtual |
Run the processor and create a collection of results which indicate if a charge particle can be found by the recoil tracker.
| event | The event to process. |
Implements framework::Producer.
Definition at line 90 of file SeedFinderProcessor.cxx.
References framework::Event::exists(), input_hits_collection_, out_seed_collection_, ldmx::Measurement::setGlobalPosition(), ldmx::Measurement::setLocalCovariance(), ldmx::Measurement::setLocalPosition(), ldmx::Measurement::setTime(), and tagger_trks_collection_.
|
private |
Definition at line 229 of file SeedFinderProcessor.cxx.
|
private |
Definition at line 155 of file SeedFinderProcessor.h.
|
private |
Definition at line 156 of file SeedFinderProcessor.h.
|
private |
Definition at line 157 of file SeedFinderProcessor.h.
|
private |
Definition at line 158 of file SeedFinderProcessor.h.
|
private |
Definition at line 159 of file SeedFinderProcessor.h.
|
private |
Definition at line 92 of file SeedFinderProcessor.h.
|
private |
Definition at line 149 of file SeedFinderProcessor.h.
|
private |
Max d0 allowed for the seeds.
Definition at line 127 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Min d0 allowed for the seeds.
Definition at line 130 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 173 of file SeedFinderProcessor.h.
|
private |
Definition at line 105 of file SeedFinderProcessor.h.
|
private |
The name of the input hits collection to use in finding seeds..
Definition at line 110 of file SeedFinderProcessor.h.
Referenced by configure(), and produce().
|
private |
Definition at line 113 of file SeedFinderProcessor.h.
|
private |
loc0 / loc1 cuts
Definition at line 144 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 145 of file SeedFinderProcessor.h.
|
private |
Definition at line 162 of file SeedFinderProcessor.h.
|
private |
Definition at line 102 of file SeedFinderProcessor.h.
|
private |
Definition at line 167 of file SeedFinderProcessor.h.
|
private |
Definition at line 166 of file SeedFinderProcessor.h.
|
private |
Definition at line 169 of file SeedFinderProcessor.h.
|
private |
Definition at line 165 of file SeedFinderProcessor.h.
|
private |
Definition at line 164 of file SeedFinderProcessor.h.
|
private |
Definition at line 170 of file SeedFinderProcessor.h.
|
private |
Definition at line 168 of file SeedFinderProcessor.h.
|
private |
Definition at line 163 of file SeedFinderProcessor.h.
|
private |
Definition at line 103 of file SeedFinderProcessor.h.
|
private |
The name of the output collection of seeds to be stored.
Definition at line 108 of file SeedFinderProcessor.h.
Referenced by configure(), and produce().
|
private |
Location of the perigee for the helix track parameters.
Definition at line 119 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
PhiRange.
Definition at line 138 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 135 of file SeedFinderProcessor.h.
|
private |
Maximum cut on the momentum of the seeds.
Definition at line 124 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Minimum cut on the momentum of the seeds.
Definition at line 121 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 101 of file SeedFinderProcessor.h.
|
private |
Definition at line 99 of file SeedFinderProcessor.h.
|
private |
Definition at line 117 of file SeedFinderProcessor.h.
|
private |
Definition at line 115 of file SeedFinderProcessor.h.
|
private |
List of stragies for seed finding.
Definition at line 148 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
The name of the tagger Tracks (only for Recoil Seeding)
Definition at line 112 of file SeedFinderProcessor.h.
Referenced by configure(), and produce().
|
private |
Definition at line 116 of file SeedFinderProcessor.h.
|
private |
ThetaRange.
Definition at line 141 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 176 of file SeedFinderProcessor.h.
|
private |
Definition at line 151 of file SeedFinderProcessor.h.
|
private |
Definition at line 152 of file SeedFinderProcessor.h.
|
private |
Max z0 allowed for the seeds.
Definition at line 133 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 153 of file SeedFinderProcessor.h.