CMS 3D CMS Logo

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 
13 
54 namespace HcalDbASCIIIO {
55  bool getObject (std::istream& fInput, HcalPedestals* fObject);
56  bool dumpObject (std::ostream& fOutput, const HcalPedestals& fObject);
57  bool getObject (std::istream& fInput, HcalPedestalWidths* fObject);
58  bool dumpObject (std::ostream& fOutput, const HcalPedestalWidths& fObject);
59  bool getObject (std::istream& fInput, HcalGains* fObject);
60  bool dumpObject (std::ostream& fOutput, const HcalGains& fObject);
61  bool getObject (std::istream& fInput, HcalGainWidths* fObject);
62  bool dumpObject (std::ostream& fOutput, const HcalGainWidths& fObject);
63  bool getObject (std::istream& fInput, HcalQIEData* fObject);
64  bool dumpObject (std::ostream& fOutput, const HcalQIEData& fObject);
65  bool getObject (std::istream& fInput, HcalCalibrationQIEData* fObject);
66  bool dumpObject (std::ostream& fOutput, const HcalCalibrationQIEData& fObject);
67  bool getObject (std::istream& fInput, HcalQIETypes* fObject);
68  bool dumpObject (std::ostream& fOutput, const HcalQIETypes& fObject);
69  bool getObject (std::istream& fInput, HcalElectronicsMap* fObject);
70  bool dumpObject (std::ostream& fOutput, const HcalElectronicsMap& fObject);
71  bool getObject (std::istream& fInput, HcalChannelQuality* fObject);
72  bool dumpObject (std::ostream& fOutput, const HcalChannelQuality& fObject);
73  bool getObject (std::istream& fInput, HcalRespCorrs* fObject);
74  bool dumpObject (std::ostream& fOutput, const HcalRespCorrs& fObject);
75  bool getObject (std::istream& fInput, HcalLUTCorrs* fObject);
76  bool dumpObject (std::ostream& fOutput, const HcalLUTCorrs& fObject);
77  bool getObject (std::istream& fInput, HcalPFCorrs* fObject);
78  bool dumpObject (std::ostream& fOutput, const HcalPFCorrs& fObject);
79  bool getObject (std::istream& fInput, HcalTimeCorrs* fObject);
80  bool dumpObject (std::ostream& fOutput, const HcalTimeCorrs& fObject);
81  bool getObject (std::istream& fInput, HcalZSThresholds* fObject);
82  bool dumpObject (std::ostream& fOutput, const HcalZSThresholds& fObject);
83  bool getObject (std::istream& fInput, HcalL1TriggerObjects* fObject);
84  bool dumpObject (std::ostream& fOutput, const HcalL1TriggerObjects& fObject);
85  bool getObject (std::istream& fInput, HcalFrontEndMap* fObject);
86  bool dumpObject (std::ostream& fOutput, const HcalFrontEndMap& fObject);
87 
88  bool getObject (std::istream& fInput, HcalValidationCorrs* fObject);
89  bool dumpObject (std::ostream& fOutput, const HcalValidationCorrs& fObject);
90  bool getObject (std::istream& fInput, HcalLutMetadata* fObject);
91  bool dumpObject (std::ostream& fOutput, const HcalLutMetadata& fObject);
92  bool getObject (std::istream& fInput, HcalDcsValues* fObject);
93  bool dumpObject (std::ostream& fOutput, const HcalDcsValues& fObject);
94  bool getObject (std::istream& fInput, HcalDcsMap* fObject);
95  bool dumpObject (std::ostream& fOutput, const HcalDcsMap& fObject);
96 
97  bool getObject (std::istream& fInput, HcalRecoParams* fObject);
98  bool dumpObject (std::ostream& fOutput, const HcalRecoParams& fObject);
99  bool getObject (std::istream& fInput, HcalLongRecoParams* fObject);
100  bool dumpObject (std::ostream& fOutput, const HcalLongRecoParams& fObject);
101 
102  bool getObject (std::istream& fInput, HcalZDCLowGainFractions* fObject);
103  bool dumpObject (std::ostream& fOutput, const HcalZDCLowGainFractions& fObject);
104 
105  bool getObject (std::istream& fInput, HcalTimingParams* fObject);
106  bool dumpObject (std::ostream& fOutput, const HcalTimingParams& fObject);
107 
108  bool getObject (std::istream& fInput, HcalMCParams* fObject);
109  bool dumpObject (std::ostream& fOutput, const HcalMCParams& fObject);
110 
111  // Getting/Dumping Hcal Flag information
112  bool getObject (std::istream& fInput, HcalFlagHFDigiTimeParams* fObject);
113  bool dumpObject (std::ostream& fOutput, const HcalFlagHFDigiTimeParams& fObject);
114 
115  bool getObject (std::istream& fInput, HcalSiPMParameters* fObject);
116  bool dumpObject (std::ostream& fOutput, const HcalSiPMParameters& fObject);
117  bool getObject (std::istream& fInput, HcalSiPMCharacteristics* fObject);
118  bool dumpObject (std::ostream& fOutput, const HcalSiPMCharacteristics& fObject);
119 
120  bool getObject (std::istream& fInput, HcalTPParameters* fObject);
121  bool dumpObject (std::ostream& fOutput, const HcalTPParameters& fObject);
122  bool getObject (std::istream& fInput, HcalTPChannelParameters* fObject);
123  bool dumpObject (std::ostream& fOutput, const HcalTPChannelParameters& fObject);
124 
125  bool dumpObject (std::ostream& fOutput, const HcalCalibrationsSet& fObject);
126  bool dumpObject (std::ostream& fOutput, const HcalCalibrationWidthsSet& fObject);
127 
128  DetId getId (const std::vector <std::string> & items);
129  void dumpId (std::ostream& fOutput, DetId id);
130  void dumpIdShort (std::ostream& fOutput, DetId id);
131 }
132 #endif
void dumpIdShort(std::ostream &fOutput, DetId id)
void dumpId(std::ostream &fOutput, DetId id)
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)