Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JDATAQUALITY Namespace Reference

Functions

std::vector< std::string > getGITTags (const TRegexp &regexp, const JGITTags_t::key_type &date)
 Get selection of GIT tags.
 

Function Documentation

◆ getGITTags()

std::vector< std::string > JDATAQUALITY::getGITTags ( const TRegexp & regexp,
const JGITTags_t::key_type & date )
inline

Get selection of GIT tags.

Parameters
regexpregular expression
datedate corresponding to oldest version
Returns
GIT tags

Definition at line 34 of file JDataQuality/JGITTags.hh.

35 {
36 using namespace JPP;
37
39
40 const JGITTags_t tags = JEEP::getGITTags();
41
42 for (JGITTags_t::const_reverse_iterator i = tags.rbegin(); i.base() != tags.lower_bound(date); ++i) {
43 if (TString(i->second.c_str()).Contains(regexp)) {
44 buffer.push_back(getGITVersion(i->second));
45 }
46 }
47
48 return buffer;
49 }
const JGITTags_t & getGITTags()
Get GIT dated tags.
Definition JGITTags.cc:8
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).