6 #include <TClonesArray.h>
8 #include "GitlabTrack.h"
9 #include <nlohmann/json.hpp>
10 using json = nlohmann::json;
90 void SetTimeDate(Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec);
102 TH1S * GetListOfMilestones()
const {
return fMilestones; }
109 virtual void Print(Option_t * option =
"")
const;
110 virtual void Clear(Option_t * option =
"");
123 TH1S * fAuthors{
nullptr};
133 void FillAuthorProjectAxis(std::string author, std::string project);
134 void ShrinkHistogram(
const char * name, TH1 * h,
bool verbose);
virtual void Print(Option_t *option="") const
bool FillIssuesFromJson(const json root)
void SetTimeDate(Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec)
bool FillMergeRequestsFromJson(const json root)
Int_t fNIssues
Number of Issues.
Track * AddMergeRequest()
TDatime fDateTime
Time of event.
Long64_t GetID() const
Event ID.
std::string ParseProjectName(std::string in, char d='!') const
not implemented
TClonesArray * fIssues
Array with all issues.
Long64_t GetNMergeRequests() const
Event & operator=(const Event &)
not implemented
virtual void Clear(Option_t *option="")
TH1S * GetListOfAuthors() const
Returns List of authors as TAxis.
Event(const Event &)
! List of milestones in current event
Long64_t GetNIssues() const
TDatime GetDateTime() const
Event date and time.
TH1S * GetListOfProjects() const
Returns List of Projects as TAxis.
void ShrinkMappingHistograms(bool verbose=true)
Track * GetIssue(Long64_t id)
Int_t fNMergeRequests
Number of MergeRequests.
bool FillGitlabFromJson(std::string issues, std::string mergrerequests)
TH1S * fProjects
! List of authors in current event
TH1S * fMilestones
! List of projects in current event
TClonesArray * fMergeRequests
Array with all merge requests.
Track * GetMergeRequest(Long64_t id)