44 return "SgVlbiSessionInfo";
62 description_(
"an empty entry"),
64 officialName_(
"noname"),
66 correlatorType_(
"UNKN"),
67 submitterName_(
"UNKN"),
68 schedulerName_(
"UNKN"),
69 piAgencyName_(
"UNKN"),
152 QMap<int, const SgVlbiNetworkId*> idByCount;
155 for (
int i=0; i<
networks.count(); i++)
159 if (idByCount.contains(count))
161 "::guessNetworkId(): got multiple matches for the key [" +
getOfficialName() +
162 "] (count=" + QString(
"").setNum(count) +
163 ") for " + idByCount.value(count)->getName() +
" and " +
networks.at(i).getName() +
164 " networks; the last one will be used");
165 idByCount[count] = &(
networks.at(i));
168 if (idByCount.size())
171 nid = idByCount.values().last();
176 "::guessNetworkId(): the network ID was set to: " +
getNetworkID());
180 "::guessNetworkId(): nid is NULL");
184 "::guessNetworkId(): unable to guess the network ID, nothing to match");
const SgMJD tZero(1957, 10, 4)
QList< SgVlbiNetworkId > networks
bool lessThan4_FirstEpochSortingOrder(SgVlbiSessionInfo *si1, SgVlbiSessionInfo *si2)
SgAttribute & operator=(const SgAttribute &a)
virtual void write(LogLevel, quint32, const QString &, bool=false)
const QString & getName() const
const QString & getNetworkID() const
const SgMJD & getTStart() const
void setNetworkID(const QString &netID)
QString userFlag_
A flag assigned by user;.
SgVlbiSessionInfo & operator=(const SgVlbiSessionInfo &)
@ OT_UNKNOWN
unknown (=all others) source of import;
QString officialName_
Official Name (from MasterFile)
CorrelatorPostProcSoftware cppsSoft_
virtual ~SgVlbiSessionInfo()
SgMJD tFinis_
last epoch of the observations;
const QString & getOfficialName() const
QString networkID_
Network ID (a key);.
@ CPPS_UNKNOWN
unknown (=all others);
QString correlatorType_
Type of the correlator;.
QString networkSuffix_
a char that specifies network (e.g., A, E, U, etc.);
QString sessionCode_
official session code (from Masterfile);
int experimentSerialNumber_
SgMJD tMean_
mean epoch of the observations;
QString piAgencyName_
Name of P.I. organization.
QString description_
Experiment description;.
QString schedulerName_
Name of resposible organization (from MasterFile)
QString correlatorName_
Correlator Name (from MasterFile)
OriginType originType_
type of origin of the imported file(s);
SgMJD tCreation_
date of creation of imported file(s);
static QString className()
QString submitterName_
Name of resposible organization (from MasterFile)
QString name_
name of the session (e.g., 10JUL22XE);
SgMJD tStart_
first epoch of the observations;