Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:23

0001 //-------------------------------------------------
0002 //
0003 //   Description: Parameters for Assignment
0004 //
0005 //
0006 //   $Date: 2007/02/27 11:44:00 $
0007 //   $Revision: 1.2 $
0008 //
0009 //   Author :
0010 //   N. Neumeister            CERN EP
0011 //   J. Troconiz              UAM Madrid
0012 //
0013 //--------------------------------------------------
0014 
0015 #include "CondFormats/L1TObjects/interface/L1MuDTAssParam.h"
0016 #include <iostream>
0017 
0018 using namespace std;
0019 
0020 //
0021 // overload output stream operator for PtAssMethod
0022 //
0023 ostream& operator<<(ostream& s, PtAssMethod method) {
0024   switch (method) {
0025     case PT12L: {
0026       return s << "PT12L ";
0027       break;
0028     }
0029     case PT12H: {
0030       return s << "PT12H ";
0031       break;
0032     }
0033     case PT13L: {
0034       return s << "PT13L ";
0035       break;
0036     }
0037     case PT13H: {
0038       return s << "PT13H ";
0039       break;
0040     }
0041     case PT14L: {
0042       return s << "PT14L ";
0043       break;
0044     }
0045     case PT14H: {
0046       return s << "PT14H ";
0047       break;
0048     }
0049     case PT23L: {
0050       return s << "PT23L ";
0051       break;
0052     }
0053     case PT23H: {
0054       return s << "PT23H ";
0055       break;
0056     }
0057     case PT24L: {
0058       return s << "PT24L ";
0059       break;
0060     }
0061     case PT24H: {
0062       return s << "PT24H ";
0063       break;
0064     }
0065     case PT34L: {
0066       return s << "PT34L ";
0067       break;
0068     }
0069     case PT34H: {
0070       return s << "PT34H ";
0071       break;
0072     }
0073     case PT12LO: {
0074       return s << "PT12LO ";
0075       break;
0076     }
0077     case PT12HO: {
0078       return s << "PT12HO ";
0079       break;
0080     }
0081     case PT13LO: {
0082       return s << "PT13LO ";
0083       break;
0084     }
0085     case PT13HO: {
0086       return s << "PT13HO ";
0087       break;
0088     }
0089     case PT14LO: {
0090       return s << "PT14LO ";
0091       break;
0092     }
0093     case PT14HO: {
0094       return s << "PT14HO ";
0095       break;
0096     }
0097     case PT23LO: {
0098       return s << "PT23LO ";
0099       break;
0100     }
0101     case PT23HO: {
0102       return s << "PT23HO ";
0103       break;
0104     }
0105     case PT24LO: {
0106       return s << "PT24LO ";
0107       break;
0108     }
0109     case PT24HO: {
0110       return s << "PT24HO ";
0111       break;
0112     }
0113     case PT34LO: {
0114       return s << "PT34LO ";
0115       break;
0116     }
0117     case PT34HO: {
0118       return s << "PT34HO ";
0119       break;
0120     }
0121     case PT15LO: {
0122       return s << "PT15LO ";
0123       break;
0124     }
0125     case PT15HO: {
0126       return s << "PT15HO ";
0127       break;
0128     }
0129     case PT25LO: {
0130       return s << "PT25LO ";
0131       break;
0132     }
0133     case PT25HO: {
0134       return s << "PT25HO ";
0135       break;
0136     }
0137     default:
0138       return s << "unknown pt-assignment method ";
0139   }
0140 }