ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/EJetMet_CU/ProdTutorial/CUcollections/interface/CUmcparticle.h
Revision: 1.2
Committed: Tue Nov 10 12:45:11 2009 UTC (15 years, 5 months ago) by puigh
Content type: text/plain
Branch: MAIN
CVS Tags: V01-23, V01-22, V01-21, V01-20, V01-19, V01-18, V01-17, V01-16, V01-15, V01-14, V01-13, V01-12, V01-11, V01-10, V01-09, V01-08, V01-07, V01-06, V01-05, V01-04, V01-03, V01-02, V01-01, HEAD
Changes since 1.1: +3 -3 lines
Log Message:
remove great grandparent info

File Contents

# User Rev Content
1 puigh 1.1 #ifndef ProdTutorial_CUmcparticle_h
2     #define ProdTutorial_CUmcparticle_h
3    
4     #include <vector>
5    
6    
7     // a simple class
8     struct CUmcparticle
9     {
10 puigh 1.2 explicit CUmcparticle(double v, int c):energy(v),et(v),pt(v),px(v),py(v),pz(v),phi(v),eta(v),theta(v),mass(v),vx(v),vy(v),vz(v),motherET(v),motherPT(v),motherPhi(v),motherEta(v),grandMotherET(v),grandMotherPT(v),grandMotherPhi(v),grandMotherEta(v),charge(c),id(c),status(c),motherId(c),grandMotherId(c),grandMotherCharge(c) { }
11     CUmcparticle():energy(-99),et(-99),pt(-99),px(-99),py(-99),pz(-99),phi(-99),eta(-99),theta(-99),mass(-99),vx(-99),vy(-99),vz(-99),motherET(-99),motherPT(-99),motherPhi(-99),motherEta(-99),grandMotherET(-99),grandMotherPT(-99),grandMotherPhi(-99),grandMotherEta(-99),charge(-99),id(-99),status(-99),motherId(-99),motherCharge(-99),grandMotherId(-99),grandMotherCharge(-99) { }
12 puigh 1.1 double energy,et,pt,px,py,pz,phi,eta,theta,mass,vx,vy,vz,motherET,motherPT,motherPhi,motherEta,grandMotherET,grandMotherPT,grandMotherPhi,grandMotherEta,ggrandMotherET,ggrandMotherPT,ggrandMotherPhi,ggrandMotherEta;
13 puigh 1.2 int charge,id,status,motherId,motherCharge,grandMotherId,grandMotherCharge;
14 puigh 1.1 };
15    
16     // this is our new product, it is simply a
17     // collection of CUmcparticle held in an std::vector
18     typedef std::vector<CUmcparticle> CUmcparticleCollection;
19    
20     #endif