Fork me on GitHub

Changeset 8f7db23 in git for classes


Ignore:
Timestamp:
Apr 8, 2014, 6:43:52 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
b67be31
Parents:
5b822e5
Message:

add HectorHit class and corresponding ROOT tree branch

Location:
classes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • classes/ClassesLinkDef.h

    r5b822e5 r8f7db23  
    77 *  $Revision: 1.2 $
    88 *
    9  * 
     9 *
    1010 *  \author P. Demin - UCL, Louvain-la-Neuve
    1111 *
     
    4545#pragma link C++ class Track+;
    4646#pragma link C++ class Tower+;
     47#pragma link C++ class HectorHit+;
    4748
    4849#pragma link C++ class Candidate+;
  • classes/DelphesClasses.cc

    r5b822e5 r8f7db23  
    2626CompBase *Track::fgCompare = CompPT<Track>::Instance();
    2727CompBase *Tower::fgCompare = CompE<Tower>::Instance();
     28CompBase *HectorHit::fgCompare = CompE<HectorHit>::Instance();
    2829CompBase *Candidate::fgCompare = CompMomentumPt<Candidate>::Instance();
    2930
  • classes/DelphesClasses.h

    r5b822e5 r8f7db23  
    390390//---------------------------------------------------------------------------
    391391
     392class HectorHit: public SortableObject
     393{
     394public:
     395  Float_t E; // reconstructed energy [GeV]
     396
     397  Float_t Tx; // angle of the momentum in the horizontal (x,z) plane [urad]
     398  Float_t Ty; // angle of the momentum in the verical (y,z) plane [urad]
     399
     400  Float_t T; // time of flight to the detector [s]
     401
     402  Float_t X; // horizontal distance to the beam [um]
     403  Float_t Y; // vertical distance to the beam [um]
     404  Float_t S; // distance to the interaction point [m]
     405
     406  static CompBase *fgCompare; //!
     407  const CompBase *GetCompare() const { return fgCompare; }
     408
     409  ClassDef(HectorHit, 1)
     410};
     411
     412//---------------------------------------------------------------------------
     413
    392414class Candidate: public SortableObject
    393415{
Note: See TracChangeset for help on using the changeset viewer.