void JetInfo::SetDelphesTags(::delphes::Jet const &jet) { DEBUG0; SetBTag(jet.BTag); SetTauTag(jet.TauTag); SetCharge(jet.Charge); }
AParticle::AParticle(const AParticle& apart) { SetID(apart.GetID()); SetParticleName(apart.GetParticleName()); SetIsPrimary(apart.GetIsPrimary()); SetCharge(apart.GetCharge()); SetVertex(apart.GetVertex()); SetP4(apart.GetP4()); SetMotherID(apart.GetMotherId()); SetDebug(apart.GetDebug()); std::map <std::string, std::string> props = apart.GetProperties(); for (auto prop : props) SetProperty(prop.first, prop.second); }
AParticle::AParticle(int Id, std::string name, bool isPrimary, double charge, TVector3 vertex, TLorentzVector p4, int motherID) { SetID(Id); SetParticleName(name); SetIsPrimary(isPrimary); SetCharge(charge); SetVertex(vertex); SetP4(p4); SetMotherID(motherID); InitLogger("Aparticle"); fDebug = "WARN"; SetDebugLevel(fDebug,"Aparticle"); }
JetInfo::JetInfo(Constituent const &constituent, int charge) { DEBUG0; SetConstituent(constituent); SetCharge(charge); }
JetInfo::JetInfo(int charge) { DEBUG0; SetCharge(charge); }