Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:35:50

0001 #ifndef DataFormats_BTauReco_VertexTypes_h
0002 #define DataFormats_BTauReco_VertexTypes_h
0003 
0004 #include <string>
0005 
0006 namespace reco {
0007   namespace btag {
0008     namespace Vertices {
0009       /** Type of secondary vertex found in jet:
0010      *  - RecoVertex   : a secondary vertex has been fitted from
0011      *                   a selection of tracks
0012      *  - PseudoVertex : no RecoVertex has been found but tracks
0013      *                   with significant impact parameter could be
0014      *                   combined to a "pseudo" vertex
0015      *  - NoVertex     : neither of the above attemps were successfull
0016      *  - NotDefined   : if anything went wrong, set to this value
0017      */
0018       enum VertexType { RecoVertex = 0, PseudoVertex = 1, NoVertex = 2, UndefVertex = 99 };
0019 
0020       /**
0021      *  convenience functions that return descriptive strings, rather than
0022      *  integral types
0023      */
0024       std::string name(VertexType);
0025       VertexType type(const std::string&);
0026     }  // namespace Vertices
0027   }  // namespace btag
0028 }  // namespace reco
0029 
0030 #endif