Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:00:37

0001 #ifndef FastSimDataFormats_NuclearInteractions_FSimVertexType_h
0002 #define FastSimDataFormats_NuclearInteractions_FSimVertexType_h
0003 
0004 #include <ostream>
0005 
0006 /*!\Data Format FSimVertexType
0007 
0008 \brief  A FSimVertexType hold the information on the vertex origine
0009 
0010 This data format is designed to hold the information 
0011 obout the nature of a SimVertex within the Famos or 
0012 Generation sequences.
0013 
0014 \author Maxime Gouzevitch
0015 \date November 2009
0016 */
0017 
0018 class FSimVertexType {
0019 public:
0020   /// Enum of possible vertex types.
0021   /// May be extended according to different needs
0022   enum VertexType {
0023     ANY = 0,
0024     PRIMARY_VERTEX = 1,
0025     NUCL_VERTEX = 2,
0026     PAIR_VERTEX = 3,
0027     BREM_VERTEX = 4,
0028     DECAY_VERTEX = 5,
0029     END_VERTEX = 6,
0030     PILEUP_VERTEX = 7,
0031     BSM_VERTEX = 8
0032   };
0033 
0034   FSimVertexType();
0035   FSimVertexType(VertexType);
0036   virtual ~FSimVertexType() {}
0037 
0038   const VertexType vertexType() const { return vertexType_; }
0039   void setVertexType(VertexType vertexType) { vertexType_ = vertexType; }
0040 
0041 private:
0042   VertexType vertexType_;
0043 
0044   friend std::ostream& operator<<(std::ostream& out, const FSimVertexType& co);
0045 };
0046 
0047 #endif