1 #ifndef CategoriesUtils_h 2 #define CategoriesUtils_h 4 #include "DataClasses.hxx" 5 #include "Deprecated.hxx" 6 #include "CategoryManager.hxx" 35 void SetCategoriesDefaultCode(
const std::string& prefix,
const int code = CATNOTRUTH);
50 Int_t GetReactionNoFgdFv(
const AnaTrueVertex& trueVertex,
bool IsAntinu =
false);
67 Int_t GetReactionNoFgdFv_antinu(
const AnaTrueVertex& trueVertex);
Int_t GetTopology_withpi0(const AnaTrueVertex &trueVertex, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false)
Classify the topology type for nu-mu CC pi-zero analysis.
Representation of a global track.
Representation of a true Monte Carlo vertex.
Int_t GetMECTopology(const AnaTrueVertex &trueVertex, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false)
Classify reaction topologies in special attention to MEC process.
Int_t GetTopology(const AnaTrueVertex &trueVertex, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false)
Classify reaction topologies.
Int_t GetReaction(const AnaTrueVertex &trueVertex, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false)
Classify reaction types.
Int_t GetTopology_antinu(const AnaTrueVertex &trueVertex, const SubDetId::SubDetEnum det=SubDetId::kFGD1)
Classify reaction types for antinu.
Representation of a true Monte Carlo vertex.
void AddStandardAntiNumuCategories(const std::string &prefix="")
Add the standard categories only, given a prefix for their name.
Int_t GetReactionSand(const AnaEventB &event, const AnaTrack &track, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false)
SubDetEnum
Enumeration of all detector systems and subdetectors.
void FillCategories(AnaEventB *event, AnaTrack *track, const std::string &prefix, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false, bool useCATSAND=true)
Fill the track categories for color drawing.
Int_t GetAntiNuMuParent(AnaTrueVertex *trueVertex, AnaTrack *track)
void AddStandardCategories(const std::string &prefix="")
Add the standard categories only, given a prefix for their name.
This namespace contains useful functions for analyses related to kinematics.
DEPRECATED(void FillTruthTreeCategories(const AnaTrueVertex &trueVertex, const std::string &prefix, const SubDetId::SubDetEnum det=SubDetId::kFGD1, bool IsAntinu=false))
Fill the track categories for color drawing.
Int_t GetTargetCode(const AnaTrueVertex *trueVertex)
Get the code for filling the target PDG category.