CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalDbASCIIIO.h
Go to the documentation of this file.
1 //
2 // F.Ratnikov (UMd), Jul. 19, 2005
3 //
4 #ifndef HcalDbASCIIIO_h
5 #define HcalDbASCIIIO_h
6 
7 #include <iostream>
8 
11 
38 namespace HcalDbASCIIIO {
39  bool getObject (std::istream& fInput, HcalPedestals* fObject);
40  bool dumpObject (std::ostream& fOutput, const HcalPedestals& fObject);
41  bool getObject (std::istream& fInput, HcalPedestalWidths* fObject);
42  bool dumpObject (std::ostream& fOutput, const HcalPedestalWidths& fObject);
43  bool getObject (std::istream& fInput, HcalGains* fObject);
44  bool dumpObject (std::ostream& fOutput, const HcalGains& fObject);
45  bool getObject (std::istream& fInput, HcalGainWidths* fObject);
46  bool dumpObject (std::ostream& fOutput, const HcalGainWidths& fObject);
47  bool getObject (std::istream& fInput, HcalQIEData* fObject);
48  bool dumpObject (std::ostream& fOutput, const HcalQIEData& fObject);
49  bool getObject (std::istream& fInput, HcalCalibrationQIEData* fObject);
50  bool dumpObject (std::ostream& fOutput, const HcalCalibrationQIEData& fObject);
51  bool getObject (std::istream& fInput, HcalQIETypes* fObject);
52  bool dumpObject (std::ostream& fOutput, const HcalQIETypes& fObject);
53  bool getObject (std::istream& fInput, HcalElectronicsMap* fObject);
54  bool dumpObject (std::ostream& fOutput, const HcalElectronicsMap& fObject);
55  bool getObject (std::istream& fInput, HcalChannelQuality* fObject);
56  bool dumpObject (std::ostream& fOutput, const HcalChannelQuality& fObject);
57  bool getObject (std::istream& fInput, HcalRespCorrs* fObject);
58  bool dumpObject (std::ostream& fOutput, const HcalRespCorrs& fObject);
59  bool getObject (std::istream& fInput, HcalLUTCorrs* fObject);
60  bool dumpObject (std::ostream& fOutput, const HcalLUTCorrs& fObject);
61  bool getObject (std::istream& fInput, HcalPFCorrs* fObject);
62  bool dumpObject (std::ostream& fOutput, const HcalPFCorrs& fObject);
63  bool getObject (std::istream& fInput, HcalTimeCorrs* fObject);
64  bool dumpObject (std::ostream& fOutput, const HcalTimeCorrs& fObject);
65  bool getObject (std::istream& fInput, HcalZSThresholds* fObject);
66  bool dumpObject (std::ostream& fOutput, const HcalZSThresholds& fObject);
67  bool getObject (std::istream& fInput, HcalL1TriggerObjects* fObject);
68  bool dumpObject (std::ostream& fOutput, const HcalL1TriggerObjects& fObject);
69 
70  bool getObject (std::istream& fInput, HcalValidationCorrs* fObject);
71  bool dumpObject (std::ostream& fOutput, const HcalValidationCorrs& fObject);
72  bool getObject (std::istream& fInput, HcalLutMetadata* fObject);
73  bool dumpObject (std::ostream& fOutput, const HcalLutMetadata& fObject);
74  bool getObject (std::istream& fInput, HcalDcsValues* fObject);
75  bool dumpObject (std::ostream& fOutput, const HcalDcsValues& fObject);
76  bool getObject (std::istream& fInput, HcalDcsMap* fObject);
77  bool dumpObject (std::ostream& fOutput, const HcalDcsMap& fObject);
78 
79  bool getObject (std::istream& fInput, HcalRecoParams* fObject);
80  bool dumpObject (std::ostream& fOutput, const HcalRecoParams& fObject);
81  bool getObject (std::istream& fInput, HcalLongRecoParams* fObject);
82  bool dumpObject (std::ostream& fOutput, const HcalLongRecoParams& fObject);
83 
84  bool getObject (std::istream& fInput, HcalZDCLowGainFractions* fObject);
85  bool dumpObject (std::ostream& fOutput, const HcalZDCLowGainFractions& fObject);
86 
87  bool getObject (std::istream& fInput, HcalTimingParams* fObject);
88  bool dumpObject (std::ostream& fOutput, const HcalTimingParams& fObject);
89 
90  bool getObject (std::istream& fInput, HcalMCParams* fObject);
91  bool dumpObject (std::ostream& fOutput, const HcalMCParams& fObject);
92 
93  bool getObject (std::istream& fInput, HcalCholeskyMatrices* fObject);
94  bool dumpObject (std::ostream& fOutput, const HcalCholeskyMatrices& fObject);
95  bool getObject (std::istream& fInput, HcalCovarianceMatrices* fObject);
96  bool dumpObject (std::ostream& fOutput, const HcalCovarianceMatrices& fObject);
97  // Getting/Dumping Hcal Flag information
98  bool getObject (std::istream& fInput, HcalFlagHFDigiTimeParams* fObject);
99  bool dumpObject (std::ostream& fOutput, const HcalFlagHFDigiTimeParams& fObject);
100 
101  DetId getId (const std::vector <std::string> & items);
102  void dumpId (std::ostream& fOutput, DetId id);
103  void dumpIdShort (std::ostream& fOutput, DetId id);
104 }
105 #endif
void dumpIdShort(std::ostream &fOutput, DetId id)
void dumpId(std::ostream &fOutput, DetId id)
IO for ASCII instances of Hcal Calibrations.
Definition: DetId.h:18
bool getObject(std::istream &fInput, HcalPedestals *fObject)
DetId getId(const std::vector< std::string > &items)
bool dumpObject(std::ostream &fOutput, const HcalPedestals &fObject)