Exemplo n.º 1
0
void JetInfo::SetDelphesTags(::delphes::Jet const &jet)
{
    DEBUG0;
    SetBTag(jet.BTag);
    SetTauTag(jet.TauTag);
    SetCharge(jet.Charge);
}
Exemplo n.º 2
0
  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);
  }
Exemplo n.º 3
0
	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");
  }
Exemplo n.º 4
0
JetInfo::JetInfo(Constituent const &constituent, int charge)
{
    DEBUG0;
    SetConstituent(constituent);
    SetCharge(charge);
}
Exemplo n.º 5
0
JetInfo::JetInfo(int charge)
{
    DEBUG0;
    SetCharge(charge);
}