ATLAS Offline Software
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
ICscStripFitter Class Reference

#include <ICscStripFitter.h>

Inheritance diagram for ICscStripFitter:
Collaboration diagram for ICscStripFitter:

Classes

class  Result
 

Public Types

typedef std::vector< float > ChargeList
 

Public Member Functions

virtual Result fit (const ChargeList &ChargeList, double samplingTime, bool samplingPhase, Identifier &sid) const
 
virtual Result fit (const Muon::CscStripPrepData &strip) const
 
virtual ~ICscStripFitter ()=default
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Definition at line 19 of file ICscStripFitter.h.

Member Typedef Documentation

◆ ChargeList

typedef std::vector<float> ICscStripFitter::ChargeList

Definition at line 55 of file ICscStripFitter.h.

Constructor & Destructor Documentation

◆ ~ICscStripFitter()

virtual ICscStripFitter::~ICscStripFitter ( )
virtualdefault

Member Function Documentation

◆ fit() [1/2]

Result ICscStripFitter::fit ( const ChargeList ChargeList,
double  samplingTime,
bool  samplingPhase,
Identifier sid 
) const
virtual

Reimplemented in CalibCscStripFitter.

Definition at line 16 of file ICscStripFitter.cxx.

16  {
17  return {};
18 }

◆ fit() [2/2]

Result ICscStripFitter::fit ( const Muon::CscStripPrepData strip) const
virtual

Definition at line 20 of file ICscStripFitter.cxx.

20  {
21  Identifier sid = strip.identify();
22  // IdentifierHash coll_hash = strip.collectionHash();
23 
24  Result res = fit(strip.sampleCharges(), strip.samplingTime(), strip.samplingPhase(), sid);
25  res.strip = &strip;
26  if (res.status) return res;
27  res.time += strip.timeOfFirstSample();
28  // Do we also need a phase correction here?
29  return res;
30 }

◆ interfaceID()

static const InterfaceID& ICscStripFitter::interfaceID ( )
inlinestatic

Must declare this, with name of interface

Definition at line 59 of file ICscStripFitter.h.

59  {
60  static const InterfaceID IID_ICscStripFitter("ICscStripFitter", 1, 0);
61  return IID_ICscStripFitter;
62  }

The documentation for this class was generated from the following files:
SiliconTech::strip
@ strip
ICscStripFitter::fit
virtual Result fit(const ChargeList &ChargeList, double samplingTime, bool samplingPhase, Identifier &sid) const
Definition: ICscStripFitter.cxx:16
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
Result
Definition: fbtTestBasics.cxx:49
Identifier
Definition: IdentifierFieldParser.cxx:14