| 18 |
**/ |
**/ |
| 19 |
CaloStrip::CaloStrip() { |
CaloStrip::CaloStrip() { |
| 20 |
c1 = 0; |
c1 = 0; |
| 21 |
|
debug = false; |
| 22 |
this->Clear(); |
this->Clear(); |
| 23 |
}; |
}; |
| 24 |
|
|
| 27 |
**/ |
**/ |
| 28 |
CaloStrip::CaloStrip(Bool_t mechalig) { |
CaloStrip::CaloStrip(Bool_t mechalig) { |
| 29 |
c1 = 0; |
c1 = 0; |
| 30 |
|
debug = false; |
| 31 |
this->Clear(); |
this->Clear(); |
| 32 |
if ( mechalig ){ |
if ( mechalig ){ |
| 33 |
ismech = true; |
ismech = true; |
| 46 |
**/ |
**/ |
| 47 |
CaloStrip::CaloStrip(CaloLevel1 *calo) { |
CaloStrip::CaloStrip(CaloLevel1 *calo) { |
| 48 |
c1 = calo->GetCaloLevel1(); |
c1 = calo->GetCaloLevel1(); |
| 49 |
|
debug = false; |
| 50 |
this->Clear(); |
this->Clear(); |
| 51 |
ismech = false; |
ismech = false; |
| 52 |
UseStandardAlig(); |
UseStandardAlig(); |
| 57 |
**/ |
**/ |
| 58 |
CaloStrip::CaloStrip(CaloLevel1 *calo, Bool_t mechalig) { |
CaloStrip::CaloStrip(CaloLevel1 *calo, Bool_t mechalig) { |
| 59 |
c1 = calo->GetCaloLevel1(); |
c1 = calo->GetCaloLevel1(); |
| 60 |
|
debug = false; |
| 61 |
this->Clear(); |
this->Clear(); |
| 62 |
if ( mechalig ){ |
if ( mechalig ){ |
| 63 |
ismech = true; |
ismech = true; |
| 122 |
// |
// |
| 123 |
// determine where I can find calorimeter ADC to MIP conversion file |
// determine where I can find calorimeter ADC to MIP conversion file |
| 124 |
// |
// |
| 125 |
printf(" Querying DB for calorimeter parameters files...\n"); |
if ( debug ) printf(" Querying DB for calorimeter parameters files...\n"); |
| 126 |
// |
// |
| 127 |
// |
// |
| 128 |
// |
// |
| 134 |
aligfile << glparam->PATH.Data() << "/"; |
aligfile << glparam->PATH.Data() << "/"; |
| 135 |
aligfile << glparam->NAME.Data(); |
aligfile << glparam->NAME.Data(); |
| 136 |
// |
// |
| 137 |
printf("\n Using parameter file: \n %s \n",aligfile.str().c_str()); |
if (debug) printf("\n Using parameter file: \n %s \n",aligfile.str().c_str()); |
| 138 |
f = fopen(aligfile.str().c_str(),"rb"); |
f = fopen(aligfile.str().c_str(),"rb"); |
| 139 |
if ( f ){ |
if ( f ){ |
| 140 |
// |
// |