6#include <TClonesArray.h>
8#include "GitlabTrack.h"
9#include <nlohmann/json.hpp>
10using json = nlohmann::json;
82 void SetTimeDate(Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec);
105 virtual void Print(Option_t * option =
"")
const;
106 virtual void Clear(Option_t * option =
"");
virtual void Print(Option_t *option="") const
bool FillIssuesFromJson(const json root)
TH1S * GetListOfAuthors() const
Returns authors histogram.
void SetTimeDate(Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec)
TH1S * GetListOfMilestones() const
Returns milestones histogram.
bool FillMergeRequestsFromJson(const json root)
TH1S * GetListOfProjects() const
Returns projects histogram.
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
virtual void Clear(Option_t *option="")
TH1S * fAuthors
List of authors in current event.
Event(const Event &)
Copy constructor.
Long64_t GetNIssues() const
TDatime GetDateTime() const
Event date and time.
void ShrinkMappingHistograms(bool verbose=true)
Shrinks histogram.
Track * GetIssue(Long64_t id)
Event & operator=(const Event &)
not implemented
Int_t fNMergeRequests
Number of MergeRequests.
bool FillGitlabFromJson(std::string issues, std::string mergrerequests)
TH1S * fProjects
List of projects in current event.
void ShrinkHistogram(const char *name, TH1 *h, bool verbose)
TH1S * fMilestones
List of milestones in current event.
TClonesArray * fMergeRequests
Array with all merge requests.
Track * GetMergeRequest(Long64_t id)