Fork me on GitHub

Changeset 378 in svn


Ignore:
Timestamp:
May 12, 2009, 9:44:52 AM (15 years ago)
Author:
Xavier Rouby
Message:

if TRootGenParticle::M not initialised, set to -9999 ; Zdc: switch back to old version

File:
1 edited

Legend:

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

    r375 r378  
    8989  double E; // particle energy | hepup.PUP[number][3]
    9090  double M; // particle mass | hepup.PUP[number][4]
     91  double Charge; // particle charge
    9192
    9293  double PT; // particle transverse momentum
     
    211212
    212213public:
    213   TRootGenParticle() {_initialised=false;}
     214  TRootGenParticle() {_initialised=false; M=-9999.; }
    214215  TRootGenParticle(const int pid): PID(pid) {_initialised=false;}
    215216  TRootGenParticle(TRootC::GenParticle* part);
     
    345346
    346347//---------------------------------------------------------------------------
    347 class TRootZdcHits: public TSortableObject
     348
     349class TRootZdcHits: public TRootParticle
     350{
     351public:
     352  TRootZdcHits() {};
     353  float T; // time of flight [s]
     354  int side; // -1 or +1
     355  static TCompare *fgCompare; //!
     356
     357  ClassDef(TRootZdcHits, 1)
     358};
     359
     360
     361/*class TRootZdcHits: public TSortableObject
    348362{
    349363public:
     
    362376  ClassDef(TRootZdcHits, 2)
    363377};
     378*/
    364379
    365380//---------------------------------------------------------------------------
     
    454469  float Ty; // angle of the momentum in the verical (y,z) plane [urad]
    455470
     471  float T; // time of flight to the detector [s]
    456472  int side; // -1 or 1
    457473
Note: See TracChangeset for help on using the changeset viewer.