ATLAS Offline Software
Loading...
Searching...
No Matches
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//}
16Result 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}
ICscStripFitter::ChargeList ChargeList
std::pair< std::vector< unsigned int >, bool > res
std::vector< float > ChargeList
virtual Result fit(const ChargeList &ChargeList, double samplingTime, bool samplingPhase, Identifier &sid) const
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).