Fork me on GitHub

Changeset 1361 in svn for trunk/classes


Ignore:
Timestamp:
Apr 8, 2014, 6:43:52 PM (11 years ago)
Author:
Pavel Demin
Message:

add HectorHit class and corresponding ROOT tree branch

Location:
trunk/classes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/ClassesLinkDef.h

    r1323 r1361  
    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+;
  • trunk/classes/DelphesClasses.cc

    r1354 r1361  
    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
  • trunk/classes/DelphesClasses.h

    r1354 r1361  
    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.