![]() |
ATLAS Offline Software
|
#include <ParabolaCscClusterFitter.h>
Public Types | |
| typedef std::vector< Muon::CscStripPrepData * > | StripList |
| typedef ICscStripFitter::Result | StripFit |
| typedef std::vector< StripFit > | StripFitList |
| typedef std::vector< double > | ChargeList |
| typedef std::vector< std::string > | DataNames |
| typedef std::map< std::string, double > | DataMap |
| typedef std::vector< Result > | Results |
Public Member Functions | |
| ParabolaCscClusterFitter (const std::string &type, const std::string &aname, const IInterface *parent) | |
| Constructor. | |
| ~ParabolaCscClusterFitter ()=default | |
| StatusCode | initialize () |
| const DataNames & | dataNames () const |
| data names for ntuple output in csc_cluster tree | |
| Results | fit (const StripFitList &sfits) const |
| Results | fit (const StripFitList &sfits, double dposdz) const |
| Main fit method. | |
| double | getCorrectedError (const Muon::CscPrepData *pclu, double slope) const |
| Correct the positon error for track angle. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static double | ParabolaCorrection (CscPlane &plane, double &raw) |
| Correction of raw parabola positions. | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| std::vector< unsigned int > | m_max_width |
| Max. | |
| double | m_error_tantheta |
| error contribution in mm for the tan(theta) track angle correction | |
| double | m_xtan_css_eta_offset |
| constant to Calculate the angle of incidence. | |
| double | m_xtan_css_eta_slope |
| constant to Calculate the angle of incidence. | |
| double | m_xtan_csl_eta_offset |
| constant to Calculate the angle of incidence. | |
| double | m_xtan_csl_eta_slope |
| constant to Calculate the angle of incidence. | |
| double | m_multi |
| threshold multiplier for cluster peak finding | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_DetectorManagerKey |
| retrieve MuonDetectorManager from the conditions store | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 28 of file ParabolaCscClusterFitter.h.
|
inherited |
Definition at line 43 of file ICscClusterFitter.h.
|
inherited |
Definition at line 47 of file ICscClusterFitter.h.
|
inherited |
Definition at line 46 of file ICscClusterFitter.h.
|
inherited |
Definition at line 101 of file ICscClusterFitter.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
inherited |
Definition at line 39 of file ICscClusterFitter.h.
|
inherited |
Definition at line 40 of file ICscClusterFitter.h.
|
inherited |
Definition at line 36 of file ICscClusterFitter.h.
| ParabolaCscClusterFitter::ParabolaCscClusterFitter | ( | const std::string & | type, |
| const std::string & | aname, | ||
| const IInterface * | parent ) |
Constructor.
This class is derived from AthAlgTool(type, aname, parent). The 3 args are used to initialize the base class. declareProperty(...) is used to declare job options.
Definition at line 102 of file ParabolaCscClusterFitter.cxx.
|
default |
|
virtual |
data names for ntuple output in csc_cluster tree
Reimplemented from ICscClusterFitter.
Definition at line 137 of file ParabolaCscClusterFitter.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
virtual |
Implements ICscClusterFitter.
Definition at line 398 of file ParabolaCscClusterFitter.cxx.
|
virtual |
Main fit method.
The fit is really an interpolation, which uses a parabola through the 3 points given by (-1, qA), (0, qB), and (1, qC). This raw estimate is corrected to account for non-linearites and provides a position in the range of -0.5, 0.5. Finally, the pitch is used to convert the position in mm relative to the center of the chamber.
| sfits | The list of amplitudes in the StripFitList. |
| tantheta | The theta angle of the track, used for error estimate. @Note How do you get the track angle before this hit reconstruction? |
Implements ICscClusterFitter.
Definition at line 155 of file ParabolaCscClusterFitter.cxx.
|
virtual |
Correct the positon error for track angle.
Implements ICscClusterFitter.
Definition at line 368 of file ParabolaCscClusterFitter.cxx.
| StatusCode ParabolaCscClusterFitter::initialize | ( | ) |
Definition at line 119 of file ParabolaCscClusterFitter.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlinestaticinherited |
Must declare this, with name of interface
Definition at line 89 of file ICscClusterFitter.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
static |
Correction of raw parabola positions.
Correct the raw parabola interpolation, based on CSCPlane.
| plane | The csc plane enum for small or large chamber, X or Y plane |
| raw | The raw value of the parabola peak positon |
The correction function takes the output of the parabola method, the peak position, and returns a position that is closer to the predicted position. The correction depends on the strip pitch and was found experimentally during various beam tests and cosmics tests.
| plane | The plane of the detector: Large or Small, X or Y. |
| raw | The uncorrected value |
Definition at line 65 of file ParabolaCscClusterFitter.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
retrieve MuonDetectorManager from the conditions store
Definition at line 77 of file ParabolaCscClusterFitter.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
error contribution in mm for the tan(theta) track angle correction
Definition at line 61 of file ParabolaCscClusterFitter.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 74 of file ParabolaCscClusterFitter.h.
|
private |
Max.
width of a cluster to be unspoiled. Layer type in array[4]
Definition at line 58 of file ParabolaCscClusterFitter.h.
|
private |
threshold multiplier for cluster peak finding
Definition at line 72 of file ParabolaCscClusterFitter.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
constant to Calculate the angle of incidence.
Definition at line 67 of file ParabolaCscClusterFitter.h.
|
private |
constant to Calculate the angle of incidence.
Definition at line 69 of file ParabolaCscClusterFitter.h.
|
private |
constant to Calculate the angle of incidence.
Definition at line 63 of file ParabolaCscClusterFitter.h.
|
private |
constant to Calculate the angle of incidence.
Definition at line 65 of file ParabolaCscClusterFitter.h.