44 return "SgVlbiSessionInfo";
63 description_(
"an empty entry"),
65 officialName_(
"noname"),
67 correlatorType_(
"UNKN"),
68 submitterName_(
"UNKN"),
69 schedulerName_(
"UNKN"),
70 piAgencyName_(
"UNKN"),
154 QMap<int, const SgVlbiNetworkId*> idByCount;
157 for (
int i=0; i<
networks.count(); i++)
161 if (idByCount.contains(count))
163 "::guessNetworkId(): got multiple matches for the key [" +
getOfficialName() +
164 "] (count=" + QString(
"").setNum(count) +
165 ") for " + idByCount.value(count)->getName() +
" and " +
networks.at(i).getName() +
166 " networks; the last one will be used");
167 idByCount[count] = &(
networks.at(i));
170 if (idByCount.size())
173 nid = idByCount.values().last();
178 "::guessNetworkId(): the network ID was set to: " +
getNetworkID());
182 "::guessNetworkId(): nid is NULL");
186 "::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 sessionType_
official session type (from Masterfile);
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;