Go to the documentation of this file.
10 TrackletProjectionsMemory::TrackletProjectionsMemory(
string name,
Settings const& settings,
unsigned int iSector)
26 if (itracklet == tracklet) {
29 assert(itracklet != tracklet);
39 if (not std::filesystem::exists(dirTP)) {
40 int fail = system((
string(
"mkdir -p ") + dirTP).c_str());
42 throw cms::Exception(
"BadDir") << __FILE__ <<
" " << __LINE__ <<
" could not create directory " << dirTP;
45 std::ostringstream oss;
46 oss << dirTP <<
"TrackletProjections_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1)
48 auto const&
fname = oss.str();
57 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
63 out_ << std::setfill(
'0') << std::setw(2);
Settings const & settings_
static size_t find_nth(const std::string &haystack, size_t pos, const std::string &needle, size_t nth)
Log< level::Warning, true > LogPrint
std::string const & memPath() const
void initLayerDisk(unsigned int pos, int &layer, int &disk)
bool validProj(int layer) const
std::string const & getName() const
void writeTPROJ(bool first)
void addProj(Tracklet *tracklet)
std::vector< Tracklet * > tracklets_
std::string hexFormat(const std::string &binary)
bool validProjDisk(int disk) const