Fork me on GitHub

Ignore:
Timestamp:
May 10, 2009, 8:16:52 PM (15 years ago)
Author:
Xavier Rouby
Message:

TRootZdcHits ok ; new class TRootForwardTaggerHits

File:
1 edited

Legend:

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

    r350 r370  
    343343
    344344//---------------------------------------------------------------------------
    345 class TRootZdcHits: public TRootParticle
    346 {
    347 public:
    348   TRootZdcHits() {};
     345class TRootZdcHits: public TSortableObject
     346{
     347public:
     348
     349  TRootZdcHits() {}; // do not put anything for the default constructor-- ExRootAnalysis constrain!!!
     350  TRootZdcHits(const float e, const float t, const int side, const bool had);
     351  TRootZdcHits(const TRootZdcHits& zdc);
     352  TRootZdcHits& operator=(const TRootZdcHits& zdc);
     353  const TCompare *GetCompare() const { return fgCompare; }
     354  float E;
    349355  float T; // time of flight [s]
    350356  int side; // -1 or +1
    351357  static TCompare *fgCompare; //!
    352 
    353   ClassDef(TRootZdcHits, 1)
     358  bool hadronic_hit; // true if neutron, false if photon
     359
     360  ClassDef(TRootZdcHits, 2)
    354361};
    355362
     
    434441public:
    435442  TRootRomanPotHits() {};
    436   float T; // time of flight to the detector [s]
     443  //  float T; // time of flight to the detector [s]
    437444  float S; // distance to the IP [m]
    438445  float E; // reconstructed energy [GeV]
     
    453460};
    454461
     462//---------------------------------------------------------------------------
     463
     464class TRootForwardTaggerHits : public TRootRomanPotHits
     465{
     466public:
     467  TRootForwardTaggerHits() {};
     468  float T; // time of flight to the detector [s]
     469
     470  static TCompare *fgCompare; //!
     471  const TCompare *GetCompare() const { return fgCompare; }
     472
     473  ClassDef(TRootForwardTaggerHits, 1)
     474};
     475
     476
    455477#endif // BLOCKCLASSES_H
    456478
Note: See TracChangeset for help on using the changeset viewer.