LDMX Software
|
Public Member Functions | |
SeedFinderProcessor (const std::string &name, framework::Process &process) | |
Constructor. | |
~SeedFinderProcessor () | |
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 | beforeNewRun (ldmx::RunHeader &header) |
Handle allowing producers to modify run headers before the run begins. | |
Public Member Functions inherited from framework::EventProcessor | |
EventProcessor (const std::string &name, Process &process) | |
Class constructor. | |
virtual | ~EventProcessor () |
Class destructor. | |
virtual void | onNewRun (const ldmx::RunHeader &runHeader) |
Callback for the EventProcessor to take any necessary action when the run being processed changes. | |
virtual void | onFileOpen (EventFile &eventFile) |
Callback for the EventProcessor to take any necessary action when a new event input ROOT file is opened. | |
virtual void | onFileClose (EventFile &eventFile) |
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 | bField_ |
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::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 > | truthMatchingTool_ |
Additional Inherited Members | |
Static Public Member Functions inherited from framework::EventProcessor | |
static void | declare (const std::string &classname, int classtype, EventProcessorMaker *) |
Internal function which is part of the PluginFactory machinery. | |
Static Public Attributes inherited from framework::Producer | |
static const int | CLASSTYPE {1} |
Constant used to track EventProcessor types by the PluginFactory. | |
Protected Member Functions inherited from tracking::reco::TrackingGeometryUser | |
const Acts::GeometryContext & | geometry_context () |
const Acts::MagneticFieldContext & | magnetic_field_context () |
const Acts::CalibrationContext & | calibration_context () |
const geo::TrackersTrackingGeometry & | geometry () |
Protected Member Functions inherited from framework::EventProcessor | |
void | abortEvent () |
Abort the event immediately. | |
Protected Attributes inherited from framework::EventProcessor | |
HistogramHelper | histograms_ |
Interface class for making and filling histograms. | |
NtupleManager & | ntuple_ {NtupleManager::getInstance()} |
Manager for any ntuples. | |
logging::logger | theLog_ |
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.
tracking::reco::SeedFinderProcessor::~SeedFinderProcessor | ( | ) |
|
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 47 of file SeedFinderProcessor.cxx.
References d0max_, d0min_, framework::EventProcessor::getName(), framework::config::Parameters::getParameter(), 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 465 of file SeedFinderProcessor.cxx.
bool tracking::reco::SeedFinderProcessor::GroupStrips | ( | const std::vector< ldmx::Measurement > & | measurements, |
const std::vector< int > | strategy | ||
) |
Definition at line 435 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 412 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 43 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 87 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 221 of file SeedFinderProcessor.cxx.
|
private |
Definition at line 150 of file SeedFinderProcessor.h.
|
private |
Definition at line 151 of file SeedFinderProcessor.h.
|
private |
Definition at line 152 of file SeedFinderProcessor.h.
|
private |
Definition at line 153 of file SeedFinderProcessor.h.
|
private |
Definition at line 154 of file SeedFinderProcessor.h.
|
private |
Definition at line 92 of file SeedFinderProcessor.h.
|
private |
Definition at line 144 of file SeedFinderProcessor.h.
|
private |
Max d0 allowed for the seeds.
Definition at line 122 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Min d0 allowed for the seeds.
Definition at line 125 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 168 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 |
loc0 / loc1 cuts
Definition at line 139 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 140 of file SeedFinderProcessor.h.
|
private |
Definition at line 157 of file SeedFinderProcessor.h.
|
private |
Definition at line 102 of file SeedFinderProcessor.h.
|
private |
Definition at line 162 of file SeedFinderProcessor.h.
|
private |
Definition at line 161 of file SeedFinderProcessor.h.
|
private |
Definition at line 164 of file SeedFinderProcessor.h.
|
private |
Definition at line 160 of file SeedFinderProcessor.h.
|
private |
Definition at line 159 of file SeedFinderProcessor.h.
|
private |
Definition at line 165 of file SeedFinderProcessor.h.
|
private |
Definition at line 163 of file SeedFinderProcessor.h.
|
private |
Definition at line 158 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 114 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
PhiRange.
Definition at line 133 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 130 of file SeedFinderProcessor.h.
|
private |
Maximum cut on the momentum of the seeds.
Definition at line 119 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Minimum cut on the momentum of the seeds.
Definition at line 116 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 |
List of stragies for seed finding.
Definition at line 143 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 |
ThetaRange.
Definition at line 136 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 171 of file SeedFinderProcessor.h.
|
private |
Definition at line 146 of file SeedFinderProcessor.h.
|
private |
Definition at line 147 of file SeedFinderProcessor.h.
|
private |
Max z0 allowed for the seeds.
Definition at line 128 of file SeedFinderProcessor.h.
Referenced by configure().
|
private |
Definition at line 148 of file SeedFinderProcessor.h.