PandaRoot
RhoTreeMcMatch.h
Go to the documentation of this file.
1 #ifndef RHOTREEMCMATCH_H
2 #define RHOTREEMCMATCH_H
3 
5 // //
6 // RhoTreetch //
7 // //
8 // Mc match of a composite candidate for analysis purposes. //
9 // //
10 // Author List: //
11 // Aron Kripko, 2022 //
12 // Manav Bilakhia, 2022 //
13 // //
15 
16 #include "RhoBase/RhoCandidate.h"
17 #include <vector>
18 #include <map>
19 
21  private:
22  static int headID;
23  static std::map<const int, const RhoCandidate *> mothers;
24 
25  RhoTreeMcMatch() = delete;
26  static void GetEnds(const RhoCandidate *candidate, std::vector<const RhoCandidate *> &ends);
27  static const RhoCandidate *getNthMother(const int c, const RhoCandidate *mct);
28  static bool check(const RhoCandidate *node, const RhoCandidate *mctm);
29  static bool sisterhood_check(const RhoCandidate *endnode1, const RhoCandidate *endnode2);
30 
31  public:
32  static bool mct(const RhoCandidate *candidate);
33 };
34 
35 #endif
static bool mct(const RhoCandidate *candidate)