#include <CleanTrackMemory.h>
|
void | addTrack (Tracklet *tracklet) |
|
void | clean () override |
|
| CleanTrackMemory (std::string name, Settings const &settings, double phimin, double phimax) |
|
unsigned int | nTracks () const |
|
void | writeCT (bool first, unsigned int iSector) |
|
| ~CleanTrackMemory () override=default |
|
void | findAndReplaceAll (std::string &data, std::string toSearch, std::string replaceStr) |
|
std::string | getLastPartOfName () const |
|
std::string const & | getName () const |
|
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
|
unsigned int | initLayerDisk (unsigned int pos) |
|
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
|
| MemoryBase (std::string name, Settings const &settings) |
|
void | openFile (bool first, std::string dirName, std::string filebase) |
|
virtual | ~MemoryBase ()=default |
|
Definition at line 13 of file CleanTrackMemory.h.
◆ CleanTrackMemory()
CleanTrackMemory::CleanTrackMemory |
( |
std::string |
name, |
|
|
Settings const & |
settings, |
|
|
double |
phimin, |
|
|
double |
phimax |
|
) |
| |
◆ ~CleanTrackMemory()
trklet::CleanTrackMemory::~CleanTrackMemory |
( |
| ) |
|
|
overridedefault |
◆ addTrack()
void trklet::CleanTrackMemory::addTrack |
( |
Tracklet * |
tracklet | ) |
|
|
inline |
◆ clean()
void trklet::CleanTrackMemory::clean |
( |
| ) |
|
|
inlineoverridevirtual |
◆ nTracks()
unsigned int trklet::CleanTrackMemory::nTracks |
( |
| ) |
const |
|
inline |
◆ writeCT()
void CleanTrackMemory::writeCT |
( |
bool |
first, |
|
|
unsigned int |
iSector |
|
) |
| |
Definition at line 16 of file CleanTrackMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::hexstr(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, AlCaHLTBitMon_QueryRunRegistry::string, tracks_, and trklet::Settings::writeMonitorData().
20 std::ostringstream oss;
21 oss << dirCT <<
"CleanTrack_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
22 auto const&
fname = oss.str();
26 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
28 for (
unsigned int j = 0;
j <
tracks_.size();
j++) {
41 out_.open(fnameAll, std::ofstream::app);
45 <<
" phisector= " <<
iSector_ + 1 << endl;
47 for (
unsigned int j = 0;
j <
tracks_.size();
j++) {
std::string hexFormat(const std::string &binary)
std::string memPath() const
Settings const & settings_
std::string const & getName() const
bool writeMonitorData(std::string module) const
static std::string hexstr(unsigned int index)
std::vector< Tracklet * > tracks_
std::ofstream openfile(const std::string &dir, const std::string &fname, const char *file, int line)
◆ phimax_
double trklet::CleanTrackMemory::phimax_ |
|
private |
◆ phimin_
double trklet::CleanTrackMemory::phimin_ |
|
private |
◆ tracks_
std::vector<Tracklet*> trklet::CleanTrackMemory::tracks_ |
|
private |