#include <TrackFitMemory.h>
|
void | addStubidsList (std::vector< std::pair< int, int >> stubidslist) |
|
void | addStubList (std::vector< const Stub * > stublist) |
|
void | addTrack (Tracklet *tracklet) |
|
void | clean () override |
|
std::vector< std::pair< int, int > > | getStubidslist (unsigned int i) const |
|
std::vector< const Stub * > | getStublist (unsigned int i) const |
|
Tracklet * | getTrack (unsigned int i) |
|
unsigned int | nStubidslists () const |
|
unsigned int | nStublists () const |
|
unsigned int | nTracks () const |
|
| TrackFitMemory (std::string name, Settings const &settings, unsigned int iSector, double phimin, double phimax) |
|
void | writeTF (bool first) |
|
| ~TrackFitMemory () override=default |
|
void | findAndReplaceAll (std::string &data, std::string toSearch, std::string replaceStr) |
|
std::string | getLastPartOfName () const |
|
std::string const & | getName () const |
|
unsigned int | initLayerDisk (unsigned int pos) |
|
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
|
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
|
| MemoryBase (std::string name, Settings const &settings, unsigned int iSector) |
|
void | openFile (bool first, std::string dirName, std::string filebase) |
|
virtual | ~MemoryBase ()=default |
|
Definition at line 15 of file TrackFitMemory.h.
◆ TrackFitMemory()
TrackFitMemory::TrackFitMemory |
( |
std::string |
name, |
|
|
Settings const & |
settings, |
|
|
unsigned int |
iSector, |
|
|
double |
phimin, |
|
|
double |
phimax |
|
) |
| |
◆ ~TrackFitMemory()
trklet::TrackFitMemory::~TrackFitMemory |
( |
| ) |
|
|
overridedefault |
◆ addStubidsList()
void trklet::TrackFitMemory::addStubidsList |
( |
std::vector< std::pair< int, int >> |
stubidslist | ) |
|
|
inline |
◆ addStubList()
void trklet::TrackFitMemory::addStubList |
( |
std::vector< const Stub * > |
stublist | ) |
|
|
inline |
◆ addTrack()
void trklet::TrackFitMemory::addTrack |
( |
Tracklet * |
tracklet | ) |
|
|
inline |
◆ clean()
void trklet::TrackFitMemory::clean |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getStubidslist()
std::vector<std::pair<int, int> > trklet::TrackFitMemory::getStubidslist |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ getStublist()
std::vector<const Stub*> trklet::TrackFitMemory::getStublist |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ getTrack()
Tracklet* trklet::TrackFitMemory::getTrack |
( |
unsigned int |
i | ) |
|
|
inline |
◆ nStubidslists()
unsigned int trklet::TrackFitMemory::nStubidslists |
( |
| ) |
const |
|
inline |
◆ nStublists()
unsigned int trklet::TrackFitMemory::nStublists |
( |
| ) |
const |
|
inline |
◆ nTracks()
unsigned int trklet::TrackFitMemory::nTracks |
( |
| ) |
const |
|
inline |
◆ writeTF()
void TrackFitMemory::writeTF |
( |
bool |
first | ) |
|
Definition at line 16 of file TrackFitMemory.cc.
19 std::ostringstream oss;
20 oss << dirFT <<
"TrackFit_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
21 auto const&
fname = oss.str();
27 if (not std::filesystem::exists(dirFT)) {
28 int fail = system((
string(
"mkdir -p ") + dirFT).c_str());
30 throw cms::Exception(
"BadDir") << __FILE__ <<
" " << __LINE__ <<
" could not create directory " << dirFT;
34 throw cms::Exception(
"BadFile") << __FILE__ <<
" " << __LINE__ <<
" could not create file " <<
fname;
39 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
41 for (
unsigned int j = 0;
j <
tracks_.size();
j++) {
43 out_ << std::setfill(
'0') << std::setw(2);
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, Exception, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, and tracks_.
◆ phimax_
double trklet::TrackFitMemory::phimax_ |
|
private |
◆ phimin_
double trklet::TrackFitMemory::phimin_ |
|
private |
◆ stubidslists_
std::vector<std::vector<std::pair<int, int> > > trklet::TrackFitMemory::stubidslists_ |
|
private |
◆ stublists_
std::vector<std::vector<const Stub*> > trklet::TrackFitMemory::stublists_ |
|
private |
◆ tracks_
std::vector<Tracklet*> trklet::TrackFitMemory::tracks_ |
|
private |