ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/EJetMet_CU/ProdTutorial/CUcollections/interface/CUprimaryvertex.h
Revision: 1.3
Committed: Mon Jan 10 13:49:08 2011 UTC (14 years, 3 months ago) by puigh
Content type: text/plain
Branch: MAIN
CVS Tags: V01-23, V01-22, HEAD
Changes since 1.2: +4 -4 lines
Log Message:
change ndof from int to double

File Contents

# User Rev Content
1 puigh 1.1 #ifndef ProdTutorial_CUprimaryvertex_h
2     #define ProdTutorial_CUprimaryvertex_h
3    
4     #include <vector>
5    
6    
7     // a simple class
8     struct CUprimaryvertex
9     {
10 puigh 1.3 explicit CUprimaryvertex(double v,int c):x(v),xError(v),y(v),yError(v),z(v),zError(v),rho(v),normalizedChi2(v),ndof(v),isFake(c),isValid(c),tracksSize(c) { }
11     CUprimaryvertex():x(-99),xError(-99),y(-99),yError(-99),z(-99),zError(-99),rho(-99),normalizedChi2(-99),ndof(-99),isFake(-99),isValid(-99),tracksSize(-99) { }
12     double x,xError,y,yError,z,zError,rho,normalizedChi2,ndof;
13     int isFake,isValid,tracksSize;
14 puigh 1.1
15     };
16    
17     // this is our new product, it is simply a
18     // collection of CUprimaryvertex held in an std::vector
19     typedef std::vector<CUprimaryvertex> CUprimaryvertexCollection;
20    
21     #endif