Fork me on GitHub

Changeset 387 in svn


Ignore:
Timestamp:
May 16, 2009, 10:26:10 AM (16 years ago)
Author:
Xavier Rouby
Message:

new classes

Location:
trunk/Utilities/ExRootAnalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/ExRootAnalysis/interface/BlockClasses.h

    r378 r387  
    354354  int side; // -1 or +1
    355355  static TCompare *fgCompare; //!
     356  int pid;
    356357
    357358  ClassDef(TRootZdcHits, 1)
     
    472473  int side; // -1 or 1
    473474
     475  int pid;
     476
    474477  static TCompare *fgCompare; //!
    475478  const TCompare *GetCompare() const { return fgCompare; }
  • trunk/Utilities/ExRootAnalysis/src/BlockClasses.cc

    r381 r387  
    197197        E   =cal.getE();   ET   =cal.getET();
    198198}
    199 /*
    200 TRootZdcHits::TRootZdcHits(const float e, const float t, const int side, const bool had) : E(e), T(t), side(side), hadronic_hit(had) {}
    201 TRootZdcHits::TRootZdcHits(const TRootZdcHits& zdc) : E(zdc.E), T(zdc.T), side(zdc.side), hadronic_hit(zdc.hadronic_hit) {}
     199
     200/*TRootZdcHits::TRootZdcHits(const float e, const float t, const int side, const bool had) : E(e), T(t), side(side), hadronic_hit(had) {}
     201TRootZdcHits::TRootZdcHits(const TRootZdcHits& zdc) : E(zdc.E), T(zdc.T), side(zdc.side),  hadronic_hit(zdc.hadronic_hit) {}
     202TRootZdcHits::TRootZdcHits(const TRootZdcHits& zdc) : T(zdc.T), side(zdc.side) {}
    202203TRootZdcHits& TRootZdcHits::operator=(const TRootZdcHits& zdc) {
    203   if(this==&zdc) return *this;
    204      E = zdc.E; T = zdc.T;  side = zdc.side; hadronic_hit = zdc.hadronic_hit;
     204        if(this==&zdc) return *this;
     205        //E = zdc.E; T = zdc.T;  side = zdc.side; hadronic_hit = zdc.hadronic_hit;
     206        T = zdc.T;  side = zdc.side;
    205207  return *this;
    206208}
    207209*/
     210
    208211void TRootGenParticle:: print(){
    209212  cout << "pid = " << PID << "\tM=" << M << "\tQ= " << Charge << "\tStatus = " << Status << "\t E= " << E << endl;
Note: See TracChangeset for help on using the changeset viewer.