Revision: | 1.2 |
Committed: | Sat Mar 17 19:48:44 2012 UTC (13 years, 1 month ago) by fgolf |
Content type: | text/plain |
Branch: | MAIN |
Changes since 1.1: | +3 -2 lines |
Log Message: | change capitalization; add default constructor |
# | User | Rev | Content |
---|---|---|---|
1 | fgolf | 1.1 | #ifndef GENPARTICLESTRUCT_H |
2 | #define GENPARTICLESTRUCT_H | ||
3 | |||
4 | fgolf | 1.2 | 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 | fgolf | 1.1 | int id_; |
8 | unsigned int idx_; | ||
9 | float pt_; | ||
10 | int did_; | ||
11 | unsigned int didx_; | ||
12 | float dpt_; | ||
13 | int rid_; | ||
14 | unsigned int ridx_; | ||
15 | }; | ||
16 | |||
17 | #endif |