ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FGolf/Tools/GenParticleStruct.h
(Generate patch)

Comparing UserCode/FGolf/Tools/GenParticleStruct.h (file contents):
Revision 1.1 by fgolf, Wed Feb 8 05:43:53 2012 UTC vs.
Revision 1.2 by fgolf, Sat Mar 17 19:48:44 2012 UTC

# Line 1 | Line 1
1   #ifndef GENPARTICLESTRUCT_H
2   #define GENPARTICLESTRUCT_H
3  
4 < struct genParticleStruct {
5 <    genParticleStruct (int id, unsigned int idx, float pt, int did, unsigned int didx, float dpt);
4 > struct GenParticleStruct {
5 >    GenParticleStruct (int id, unsigned int idx, float pt, int did, unsigned int didx, float dpt);
6 >    GenParticleStruct () : id_(0), idx_(999999), pt_(-1.), did_(0), didx_(999999), dpt_(-1.) {};
7      int id_;
8      unsigned int idx_;
9      float pt_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines