ATLAS Offline Software
ICscStripFitter.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // ICscStripFitter.cxx
7 
9 
12 
13 // Result ICscStripFitter::fit(const ChargeList&, double, Identifier& /*sid*/) const {
14 // return Result();
15 //}
16 Result ICscStripFitter::fit(const ChargeList& /*ChargeList*/, double /*samplingTime*/, bool /*samplingPhase*/, Identifier& /*sid*/) const {
17  return {};
18 }
19 
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 }
SiliconTech::strip
@ strip
ChargeList
ICscStripFitter::ChargeList ChargeList
Definition: CalibCscStripFitter.cxx:14
ICscStripFitter::fit
virtual Result fit(const ChargeList &ChargeList, double samplingTime, bool samplingPhase, Identifier &sid) const
Definition: ICscStripFitter.cxx:16
Result
ICscStripFitter::Result Result
Definition: ICscStripFitter.cxx:10
Muon::CscStripPrepData
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
Definition: CscStripPrepData.h:40
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
ICscStripFitter::Result
Definition: ICscStripFitter.h:25
ICscStripFitter::ChargeList
std::vector< float > ChargeList
Definition: ICscStripFitter.h:55
Result
Definition: fbtTestBasics.cxx:49
ICscStripFitter.h
Identifier
Definition: IdentifierFieldParser.cxx:14