Fork me on GitHub

Changeset 5d622b2 in git


Ignore:
Timestamp:
Mar 1, 2015, 10:02:13 PM (10 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
042c7b3, 4f34105
Parents:
00f0ac8 (diff), 2b3ef28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge pull request #11 from misho104/const_qualifiers

add CONST qualifier to P4()

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r00f0ac8 r5d622b2  
    4545//------------------------------------------------------------------------------
    4646
    47 TLorentzVector GenParticle::P4()
     47TLorentzVector GenParticle::P4() const
    4848{
    4949  TLorentzVector vec;
     
    5454//------------------------------------------------------------------------------
    5555
    56 TLorentzVector MissingET::P4()
     56TLorentzVector MissingET::P4() const
    5757{
    5858  TLorentzVector vec;
     
    6363//------------------------------------------------------------------------------
    6464
    65 TLorentzVector Photon::P4()
     65TLorentzVector Photon::P4() const
    6666{
    6767  TLorentzVector vec;
     
    7272//------------------------------------------------------------------------------
    7373
    74 TLorentzVector Electron::P4()
     74TLorentzVector Electron::P4() const
    7575{
    7676  TLorentzVector vec;
     
    8181//------------------------------------------------------------------------------
    8282
    83 TLorentzVector Muon::P4()
     83TLorentzVector Muon::P4() const
    8484{
    8585  TLorentzVector vec;
     
    9090//------------------------------------------------------------------------------
    9191
    92 TLorentzVector Jet::P4()
     92TLorentzVector Jet::P4() const
    9393{
    9494  TLorentzVector vec;
     
    9999//------------------------------------------------------------------------------
    100100
    101 TLorentzVector Track::P4()
     101TLorentzVector Track::P4() const
    102102{
    103103  TLorentzVector vec;
     
    108108//------------------------------------------------------------------------------
    109109
    110 TLorentzVector Tower::P4()
     110TLorentzVector Tower::P4() const
    111111{
    112112  TLorentzVector vec;
  • classes/DelphesClasses.h

    r00f0ac8 r5d622b2  
    150150  const CompBase *GetCompare() const { return fgCompare; }
    151151
    152   TLorentzVector P4();
     152  TLorentzVector P4() const;
    153153
    154154  ClassDef(GenParticle, 1)
     
    177177  Float_t Phi; // mising energy azimuthal angle
    178178
    179   TLorentzVector P4();
     179  TLorentzVector P4() const;
    180180
    181181  ClassDef(MissingET, 1)
     
    234234  const CompBase *GetCompare() const { return fgCompare; }
    235235
    236   TLorentzVector P4();
     236  TLorentzVector P4() const;
    237237
    238238  ClassDef(Photon, 2)
     
    260260  const CompBase *GetCompare() const { return fgCompare; }
    261261
    262   TLorentzVector P4();
     262  TLorentzVector P4() const;
    263263
    264264  ClassDef(Electron, 2)
     
    284284  const CompBase *GetCompare() const { return fgCompare; }
    285285
    286   TLorentzVector P4();
     286  TLorentzVector P4() const;
    287287
    288288  ClassDef(Muon, 2)
     
    333333  const CompBase *GetCompare() const { return fgCompare; }
    334334
    335   TLorentzVector P4();
     335  TLorentzVector P4() const;
    336336
    337337  ClassDef(Jet, 2)
     
    376376  const CompBase *GetCompare() const { return fgCompare; }
    377377
    378   TLorentzVector P4();
     378  TLorentzVector P4() const;
    379379
    380380  ClassDef(Track, 2)
     
    404404  const CompBase *GetCompare() const { return fgCompare; }
    405405
    406   TLorentzVector P4();
     406  TLorentzVector P4() const;
    407407
    408408  ClassDef(Tower, 1)
Note: See TracChangeset for help on using the changeset viewer.