Fork me on GitHub

Changeset a5af1df in git for classes


Ignore:
Timestamp:
Dec 9, 2021, 7:38:54 AM (3 years ago)
Author:
christinaw97 <christina.wang@…>
Children:
d612dec
Parents:
a5ff49f
Message:

added CscCluster modules and classes

Location:
classes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • classes/ClassesLinkDef.h

    ra5ff49f ra5af1df  
    5757#pragma link C++ class Electron+;
    5858#pragma link C++ class Muon+;
     59#pragma link C++ class CscCluster+;
     60
    5961#pragma link C++ class Jet+;
    6062#pragma link C++ class Track+;
     
    6567
    6668#endif
    67 
  • classes/DelphesClasses.cc

    ra5ff49f ra5af1df  
    3636CompBase *Electron::fgCompare = CompPT<Electron>::Instance();
    3737CompBase *Muon::fgCompare = CompPT<Muon>::Instance();
     38
    3839CompBase *Jet::fgCompare = CompPT<Jet>::Instance();
    3940CompBase *Track::fgCompare = CompPT<Track>::Instance();
     
    4243CompBase *Vertex::fgCompare = CompSumPT2<Vertex>::Instance();
    4344CompBase *Candidate::fgCompare = CompMomentumPt<Candidate>::Instance();
     45CompBase *CscCluster::fgCompare = CompE<CscCluster>::Instance();
    4446
    4547//------------------------------------------------------------------------------
     
    128130  Position(0.0, 0.0, 0.0, 0.0),
    129131  InitialPosition(0.0, 0.0, 0.0, 0.0),
     132  DecayPosition(0.0, 0.0, 0.0, 0.0),
    130133  PositionError(0.0, 0.0, 0.0, 0.0),
    131134  Area(0.0, 0.0, 0.0, 0.0),
     
    290293  object.Position = Position;
    291294  object.InitialPosition = InitialPosition;
     295  object.DecayPosition = DecayPosition;
    292296  object.PositionError = PositionError;
    293297  object.Area = Area;
     
    418422  Position.SetXYZT(0.0, 0.0, 0.0, 0.0);
    419423  InitialPosition.SetXYZT(0.0, 0.0, 0.0, 0.0);
     424  DecayPosition.SetXYZT(0.0, 0.0, 0.0, 0.0);
    420425  Area.SetXYZT(0.0, 0.0, 0.0, 0.0);
    421426  L = 0.0;
  • classes/DelphesClasses.h

    ra5ff49f ra5af1df  
    162162  Float_t Z; // particle vertex position (z component) | hepevt.vhep[number][2]
    163163
     164  Float_t decayX;
     165  Float_t decayY;
     166  Float_t decayZ;
     167  Float_t decayT;
     168
     169  Float_t ctau;
     170
    164171  static CompBase *fgCompare; //!
    165172  const CompBase *GetCompare() const { return fgCompare; }
     
    533540  ClassDef(HectorHit, 1)
    534541};
     542//---------------------------------------------------------------------------
     543
     544class CscCluster: public SortableObject
     545{
     546public:
     547  Int_t NHits; //nCSC hits
     548  Float_t Eta; // eta of LLP
     549  Float_t Phi; // phi of LLP
     550  Float_t PT; // pt of LLP
     551  Float_t Px;// px of LLP
     552  Float_t Py;// py of LLP
     553  Float_t Pz;// pz of LLP
     554  Float_t E; // E of LLP
     555  Float_t Ehad; // had energy of LLP
     556  Float_t Eem; // em energy of LLP
     557
     558  Float_t pid; // LLP pid
     559
     560  Float_t T; // LLP decay time-photon travel time
     561  Float_t X; // LLP decay x
     562  Float_t Y; //  LLP decay y
     563  Float_t Z; //  LLP decay z
     564  Float_t R; //  LLP decay z
     565  Float_t beta;
     566  Float_t ctau;
     567
     568
     569  static CompBase *fgCompare; //!
     570  const CompBase *GetCompare() const { return fgCompare; }
     571
     572  ClassDef(CscCluster, 4)
     573};
    535574
    536575//---------------------------------------------------------------------------
     
    576615  Float_t DeltaPhi;
    577616
    578   TLorentzVector Momentum, Position, InitialPosition, PositionError, Area;
     617  TLorentzVector Momentum, Position, InitialPosition, DecayPosition, PositionError, Area;
    579618
    580619  Float_t L; // path length
Note: See TracChangeset for help on using the changeset viewer.