SusyNtuple
SusyNtuple/TruthParticle.h
00001 // Dear emacs, this is -*- c++ -*-
00002 #ifndef SUSYNTUPLE_TRUTHPARTICLE_H
00003 #define SUSYNTUPLE_TRUTHPARTICLE_H
00004 
00005 #include "SusyNtuple/Particle.h"
00006 
00007 namespace Susy
00008 {
00010 class TruthParticle : public Particle
00011 {
00012 public:
00013     TruthParticle(){ clear(); }
00014     virtual ~TruthParticle(){};
00015     TruthParticle(const TruthParticle &);
00017     TruthParticle& operator=(const TruthParticle &);
00018 
00019     int pdgId;
00020     int charge;
00021     int status;
00022     int motherPdgId;
00023 
00024     // Print method
00025     void print() const;
00026 
00027     void clear(){
00028       pdgId  = 0;
00029       charge = 0;
00030       status = 0;
00031       motherPdgId = 0;
00032       Particle::clear();
00033     }
00034 
00035     ClassDef(TruthParticle,1);
00036 };
00037 } // Susy
00038 #endif
 All Classes Functions Variables Typedefs Enumerations Enumerator