// fMSDEp = (TGraphErrors*)fList->At(3);
// Store results
- Double_t DEid[156] = {0};
- Double_t MSDEx[156] = {0};
- Double_t MSDEy[156] = {0};
- Double_t MSDEz[156] = {0};
- Double_t MSDEp[156] = {0};
- Double_t DEidErr[156] = {0};
- Double_t MSDExErr[156] = {0};
- Double_t MSDEyErr[156] = {0};
- Double_t MSDEzErr[156] = {0};
- Double_t MSDEpErr[156] = {0};
+ Double_t deId[156] = {0};
+ Double_t msdEx[156] = {0};
+ Double_t msdEy[156] = {0};
+ Double_t msdEz[156] = {0};
+ Double_t msdEp[156] = {0};
+ Double_t deIdErr[156] = {0};
+ Double_t msdExErr[156] = {0};
+ Double_t msdEyErr[156] = {0};
+ Double_t msdEzErr[156] = {0};
+ Double_t msdEpErr[156] = {0};
Int_t lNDetElem = 4*2+4*2+18*2+26*2+26*2;
Int_t lNDetElemCh[10] = {4,4,4,4,18,18,26,26,26,26};
// Int_t lSNDetElemCh[10] = {4,8,12,16,34,52,78,104,130,156};
Int_t idOffset = 0; // 400
Int_t lSDetElemCh = 0;
for(Int_t iDE=0; iDE<lNDetElem; iDE++){
- DEidErr[iDE] = 0.;
- DEid[iDE] = idOffset+100;
- DEid[iDE] += iDE;
+ deIdErr[iDE] = 0.;
+ deId[iDE] = idOffset+100;
+ deId[iDE] += iDE;
lSDetElemCh = 0;
for(Int_t iCh=0; iCh<9; iCh++){
lSDetElemCh += lNDetElemCh[iCh];
if (iDE>=lSDetElemCh) {
- DEid[iDE] += 100;
- DEid[iDE] -= lNDetElemCh[iCh];
+ deId[iDE] += 100;
+ deId[iDE] -= lNDetElemCh[iCh];
}
}
- MSDEx[iDE]=fParameters[3*iDE+0];
- MSDEy[iDE]=fParameters[3*iDE+1];
- MSDEz[iDE]=fParameters[3*iDE+3];
- MSDEp[iDE]=fParameters[3*iDE+2];
- MSDExErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+0);
- MSDEyErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+1);
- MSDEzErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+3);
- MSDEpErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+2);
- fMSDEx->SetPoint(iDE,DEid[iDE],fParameters[3*iDE+0]);
- fMSDEx->SetPoint(iDE,DEidErr[iDE],(Double_t)fAlign->GetParError(3*iDE+0));
- fMSDEy->SetPoint(iDE,DEid[iDE],fParameters[3*iDE+1]);
- fMSDEy->SetPoint(iDE,DEidErr[iDE],(Double_t)fAlign->GetParError(3*iDE+1));
- fMSDEp->SetPoint(iDE,DEid[iDE],fParameters[3*iDE+2]);
- fMSDEp->SetPoint(iDE,DEidErr[iDE],(Double_t)fAlign->GetParError(3*iDE+2));
- fMSDEz->SetPoint(iDE,DEid[iDE],fParameters[3*iDE+3]);
- fMSDEz->SetPoint(iDE,DEidErr[iDE],(Double_t)fAlign->GetParError(3*iDE+3));
+ msdEx[iDE]=fParameters[3*iDE+0];
+ msdEy[iDE]=fParameters[3*iDE+1];
+ msdEz[iDE]=fParameters[3*iDE+3];
+ msdEp[iDE]=fParameters[3*iDE+2];
+ msdExErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+0);
+ msdEyErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+1);
+ msdEzErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+3);
+ msdEpErr[iDE]=(Double_t)fAlign->GetParError(3*iDE+2);
+ fMSDEx->SetPoint(iDE,deId[iDE],fParameters[3*iDE+0]);
+ fMSDEx->SetPoint(iDE,deIdErr[iDE],(Double_t)fAlign->GetParError(3*iDE+0));
+ fMSDEy->SetPoint(iDE,deId[iDE],fParameters[3*iDE+1]);
+ fMSDEy->SetPoint(iDE,deIdErr[iDE],(Double_t)fAlign->GetParError(3*iDE+1));
+ fMSDEp->SetPoint(iDE,deId[iDE],fParameters[3*iDE+2]);
+ fMSDEp->SetPoint(iDE,deIdErr[iDE],(Double_t)fAlign->GetParError(3*iDE+2));
+ fMSDEz->SetPoint(iDE,deId[iDE],fParameters[3*iDE+3]);
+ fMSDEz->SetPoint(iDE,deIdErr[iDE],(Double_t)fAlign->GetParError(3*iDE+3));
}
// Post final data. Write histo list to a file with option "RECREATE"
ClassImp(AliMUONCalibrationData)
/// \endcond
-AliMUONVStore* AliMUONCalibrationData::fBypassPedestals(0x0);
-AliMUONVStore* AliMUONCalibrationData::fBypassGains(0x0);
+AliMUONVStore* AliMUONCalibrationData::fgBypassPedestals(0x0);
+AliMUONVStore* AliMUONCalibrationData::fgBypassGains(0x0);
//_____________________________________________________________________________
AliMUONCalibrationData::AliMUONCalibrationData(Int_t runNumber,
AliMUONCalibrationData::Gains() const
{
/// Create (if needed) and return the internal store for gains.
- if (fBypassGains) return fBypassGains;
+ if (fgBypassGains) return fgBypassGains;
if (!fGains)
{
AliMUONCalibrationData::BypassStores(AliMUONVStore* ped, AliMUONVStore* gain)
{
/// Force the use of those pedestals and gains
- fBypassPedestals = ped;
- fBypassGains = gain;
+ fgBypassPedestals = ped;
+ fgBypassGains = gain;
}
{
/// Return pedestals
- if (fBypassPedestals) return fBypassPedestals;
+ if (fgBypassPedestals) return fgBypassPedestals;
if (!fPedestals)
{
mutable AliMUONRejectList* fRejectList; //!< reject list
- static AliMUONVStore* fBypassPedestals;
- static AliMUONVStore* fBypassGains;
+ static AliMUONVStore* fgBypassPedestals;
+ static AliMUONVStore* fgBypassGains;
mutable AliMUONVStore* fConfig; //!< configuration of the tracker
AliMUONChamberCalibrationTask::AliMUONChamberCalibrationTask():
AliAnalysisTaskSE( "AliMUONChamberCalibrationTask" ),
fOCDBPath( "local://$ALICE_ROOT/OCDB" ),
- fCalibChoice(NOGAIN),
+ fCalibChoice(kNOGAIN),
fClusterInfoTree(0x0),
fMuonRecoParam(0x0),
fClusterInfo(0x0),
const Int_t my_calib_option ):
AliAnalysisTaskSE( name ),
fOCDBPath( "local://$ALICE_ROOT/OCDB" ),
- fCalibChoice(NOGAIN),
+ fCalibChoice(kNOGAIN),
fClusterInfoTree(0x0),
fMuonRecoParam(0x0),
fClusterInfo(0x0),
//
fOCDBPath = ocdbpath;
- if ( (my_calib_option >= ((Int_t)NOGAIN)) && (my_calib_option <= ((Int_t)INJECTIONGAIN)) )
+ if ( (my_calib_option >= ((Int_t)kNOGAIN)) && (my_calib_option <= ((Int_t)kINJECTIONGAIN)) )
fCalibChoice = (Calibration_t)my_calib_option;
else {
AliWarning( Form("Wrong value of the calibration option %d not within [%d, %d] !!! Will use NOGAIN",
- my_calib_option, (Int_t)NOGAIN, (Int_t)INJECTIONGAIN ) );
- fCalibChoice = NOGAIN;
+ my_calib_option, (Int_t)kNOGAIN, (Int_t)kINJECTIONGAIN ) );
+ fCalibChoice = kNOGAIN;
}
}
TString caliboption4 = "INJECTIONGAIN";
TString caliboption = caliboption1;
- if ( fCalibChoice == GAINCONSTANTCAPA ) caliboption = caliboption2;
- if ( fCalibChoice == GAIN ) caliboption = caliboption3;
- if ( fCalibChoice == INJECTIONGAIN ) caliboption = caliboption4;
+ if ( fCalibChoice == kGAINCONSTANTCAPA ) caliboption = caliboption2;
+ if ( fCalibChoice == kGAIN ) caliboption = caliboption3;
+ if ( fCalibChoice == kINJECTIONGAIN ) caliboption = caliboption4;
fMuonRecoParam->SetCalibrationMode(caliboption.Data());
for (Int_t iCh=0; iCh<10; iCh++) {
/// enumerate the list of the available modes for the calibration
enum Calibration_t {
- NOGAIN,
- GAINCONSTANTCAPA,
- GAIN,
- INJECTIONGAIN
+ kNOGAIN,
+ kGAINCONSTANTCAPA,
+ kGAIN,
+ kINJECTIONGAIN
};
// Constructors
}
//_____________________________________________________________________________
-Double_t AliMUONClusterSplitterMLEM::Param2Coef(Int_t icand, Double_t coef, Double_t *par)
+Double_t AliMUONClusterSplitterMLEM::Param2Coef(Int_t icand, Double_t coef, Double_t *par) const
{
/// Extract hit contribution scale factor from fit parameters
AliMUONClusterSplitterMLEM(const AliMUONClusterSplitterMLEM&);
/// will not be implemented
AliMUONClusterSplitterMLEM& operator=(const AliMUONClusterSplitterMLEM&);
- Double_t Param2Coef(Int_t icand, Double_t coef, Double_t *par);
+ Double_t Param2Coef(Int_t icand, Double_t coef, Double_t *par) const;
private:
// check that there is no cluster with the same Id
AliMUONVCluster *c = FindObject(cluster->GetUniqueID());
if (c) {
- AliError("cluster store already contains a cluster with the same ID --> add() aborted:");
+ AliError("cluster store already contains a cluster with the same ID --> add() exited:");
c->Print("FULL");
return 0x0;
}
// check that there is no cluster with the same Id
AliMUONVCluster *c = FindObject(AliMUONVCluster::BuildUniqueID(chamberId, detElemId, clusterIndex));
if (c) {
- AliError("cluster store already contains a cluster with the same ID --> add() aborted:");
+ AliError("cluster store already contains a cluster with the same ID --> add() exited:");
c->Print("FULL");
return 0x0;
}
Int_t fitproceed=1;
Int_t nbpf2Dynamic=nbpf2;
- Int_t ADClimit=4090; // when RMS < 0.5 (in other cases mean values forced to 4095, see DA_PED)
+ Int_t adcLimit=4090; // when RMS < 0.5 (in other cases mean values forced to 4095, see DA_PED)
for (Int_t j = 0; j < nbs; ++j)
{
Int_t k = j + fnInit;
x[j] = pedMean[k];
if(x[j]<=0.){fitproceed=0; break;}
// if(x[j]>= ADCMax())
- if(x[j]>= ADClimit)
+ if(x[j]>= adcLimit)
{
if(j < nbs-1){fitproceed=0; break;}
else { nbpf2Dynamic=nbpf2-1; break;}
}
//_____________________________________________________________________________
-void AliMUONGeometryBuilder::SetAlign(AliMUONVGeometryBuilder* builder)
+void AliMUONGeometryBuilder::SetAlignToBuilder(AliMUONVGeometryBuilder* builder) const
{
/// Set align option to all geometry modules associated with the builder
if (geomBuilder->ApplyGlobalTransformation())
geomBuilder->SetReferenceFrame(fGlobalTransformation);
- SetAlign(geomBuilder);
+ SetAlignToBuilder(geomBuilder);
}
//______________________________________________________________________________
AliMUONVGeometryBuilder* builder
= (AliMUONVGeometryBuilder*)fGeometryBuilders->At(i);
- SetAlign(builder);
+ SetAlignToBuilder(builder);
}
}
AliMUONVGeometryBuilder* builder
= (AliMUONVGeometryBuilder*)fGeometryBuilders->At(i);
- SetAlign(builder);
+ SetAlignToBuilder(builder);
}
}
const char* only, Bool_t makeAssembly = false) const;
void CreateGeometryWithTGeo();
void CreateGeometryWithoutTGeo();
- void SetAlign(AliMUONVGeometryBuilder* builder);
+ void SetAlignToBuilder(AliMUONVGeometryBuilder* builder) const;
// static data members
static const TString fgkDefaultVolPathsFileName; ///< default volume paths file name
/// set global crate enbale
void SetGlobalCrateEnable(UInt_t enable) {fGlobalCrateEnable = enable;}
/// Get global crate enbale
- UInt_t GetGlobalCrateEnable() {return fGlobalCrateEnable;}
+ UInt_t GetGlobalCrateEnable() const {return fGlobalCrateEnable;}
// Jtag
/// Get Jtag board VME address
//----------------------------------------------------------------------
-Bool_t AliMUONLocalTrigger::IsTrigX()
+Bool_t AliMUONLocalTrigger::IsTrigX() const
{
/// Trigger response X strips
Bool_t xTrig;
//----------------------------------------------------------------------
-Bool_t AliMUONLocalTrigger::IsTrigY()
+Bool_t AliMUONLocalTrigger::IsTrigY() const
{
/// Trigger response Y strips
Bool_t yTrig;
void SetDeviation(Int_t deviation);
/// Trigger response X strips
- Bool_t IsTrigX();
+ Bool_t IsTrigX() const;
/// Trigger response Y strips
- Bool_t IsTrigY();
+ Bool_t IsTrigY() const;
/// Hit pattern from the re-calculated trigger response after removing chambers one-by-one
UShort_t GetHitPatternFromResponse() const {return fHitPatternFromResponse; }
Bool_t dateOutput = ConvertRawFilesToDate();
if (!dateOutput)
{
- AliError("DATE output failed. Aborting.");
+ AliError("DATE output failed. Exiting.");
return;
}
}
virtual Int_t GetMCLabel() const {return GetTrack(0);}
/// Return radius
- Float_t GetRadius(Int_t i) {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
+ Float_t GetRadius(Int_t i) const {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
/// Return true as the function Compare() is implemented
Bool_t IsSortable() const {return kTRUE;}
Int_t Compare(const TObject *obj) const;
for (int i = 0 ; i < size; i++) {
temp = *(((RawWord*)buffer)+i);
- word->b1 = temp.b4;
- word->b2 = temp.b3;
- word->b3 = temp.b2;
- word->b4 = temp.b1;
+ word->fB1 = temp.fB4;
+ word->fB2 = temp.fB3;
+ word->fB3 = temp.fB2;
+ word->fB4 = temp.fB1;
word++;
}
AliMUONRawStream& operator = (const AliMUONRawStream& stream);
typedef struct {
- UInt_t b1:8; ///< first byte word
- UInt_t b2:8; ///< second byte word
- UInt_t b3:8; ///< third byte word
- UInt_t b4:8; ///< fourth byte word
+ UInt_t fB1:8; ///< first byte word
+ UInt_t fB2:8; ///< second byte word
+ UInt_t fB3:8; ///< third byte word
+ UInt_t fB4:8; ///< fourth byte word
} RawWord;
AliRawReader* fRawReader; //!< object for reading the raw data
ClassImp(AliMUONRawStreamTracker)
/// \endcond
-const Int_t AliMUONRawStreamTracker::fgkMaxDDL = 20;
-
-
//___________________________________________
AliMUONRawStreamTracker::AliMUONRawStreamTracker()
: AliMUONVRawStreamTracker(),
virtual Bool_t NextDDL();
- /// Return maximum number of DDLs
- Int_t GetMaxDDL() const {return fgkMaxDDL;}
/// Return maximum number of block per DDL in DATE file
Int_t GetMaxBlock() const {return fPayload->GetMaxBlock();}
/// Return maximum number of Dsp per block in DATE file
Int_t fCurrentBusStructIndex; //!< for iterator: current bus index
Int_t fCurrentDataIndex; //!< for iterator: current data index
Int_t fDDL; //!< number of DDL
- static const Int_t fgkMaxDDL; //!< maximum number of DDLs
ClassDef(AliMUONRawStreamTracker, 4) // base class for reading MUON raw digits
};
fCurrentLocalStructIndex(0),
fLocalStructRead(kFALSE),
fDDL(0),
- fNextDDL(kFALSE),
- fEnableErrorLogger(kFALSE)
+ fNextDDL(kFALSE)
{
///
/// create an object to read MUON raw digits
fCurrentLocalStructIndex(0),
fLocalStructRead(kFALSE),
fDDL(0),
- fNextDDL(kFALSE),
- fEnableErrorLogger(kFALSE)
+ fNextDDL(kFALSE)
{
///
/// ctor with AliRawReader as argument
Bool_t fNextDDL; ///< flag for next DDL to be read
- Bool_t fEnableErrorLogger; //!< flag to enable the error info logger
static const Int_t fgkMaxDDL; ///< maximum number of DDLs
Int_t NumberOfEvents() const;
/// Return the reconstructed data of current event
- const AliESDEvent* GetESDEvent() { return fESDEvent; }
+ const AliESDEvent* GetESDEvent() const { return fESDEvent; }
/// Return the interface to the Monte Carlo data of current event
- const AliMCEventHandler* GetMCEventHandler() { return fMCEventHandler; }
+ const AliMCEventHandler* GetMCEventHandler() const { return fMCEventHandler; }
/// Return the track from the store matched with the given track (or 0x0) and the fraction of matched clusters.
static AliMUONTrack* FindCompatibleTrack(AliMUONTrack &track, AliMUONVTrackStore &trackStore,
//------------------------------------------------------------------
void AliMUONResponseTriggerV1::Neighbours(const Int_t cath,
const Int_t ix, const Int_t iy,
- Int_t Xlist[10], Int_t Ylist[10])
+ Int_t Xlist[10], Int_t Ylist[10]) const
{
///-----------------BENDING----------------------------------------- /n
/// Returns list of 10 next neighbours for given X strip (ix, iy) /n
void SetParameters(Float_t hv);
// parametrization of the cluster-size
Float_t FireStripProb(Float_t x4, Float_t theta) const;
- void Neighbours(const Int_t cath, const Int_t iX, const Int_t iY, Int_t Xlist[10], Int_t Ylist[10]);
+ void Neighbours(const Int_t cath, const Int_t iX, const Int_t iY, Int_t Xlist[10], Int_t Ylist[10]) const;
ClassDef(AliMUONResponseTriggerV1,1) // Implementation of RPC response
runLoader->GetEvent(iEvent);
// for pile up studies
- float T0=fgkMaxIntTime; int AA=0;
+ float t0=fgkMaxIntTime; int aa=0;
AliHeader* header = runLoader->GetHeader();
AliGenCocktailEventHeader* cocktailHeader =
dynamic_cast<AliGenCocktailEventHeader*>(header->GenEventHeader());
AliGenEventHeader *entry;
while((entry = (AliGenEventHeader*)nextH())) {
float t = entry->InteractionTime();
- if (TMath::Abs(t)<TMath::Abs(T0)) T0 = t;
- AA++;
+ if (TMath::Abs(t)<TMath::Abs(t0)) t0 = t;
+ aa++;
}
} else {
AliGenEventHeader* evtHeader =
(AliGenEventHeader*)(header->GenEventHeader());
float t = evtHeader->InteractionTime();
- if (TMath::Abs(t)<TMath::Abs(T0)) T0 = t;
- AA++;
+ if (TMath::Abs(t)<TMath::Abs(t0)) t0 = t;
+ aa++;
}
loader->MakeSDigitsContainer();
while ( ( hit = static_cast<AliMUONHit*>(next()) ) )
{
Int_t chamberId = hit->Chamber()-1;
- Float_t age = hit->Age()-T0;
+ Float_t age = hit->Age()-t0;
AliMUONChamber& chamber = muon->Chamber(chamberId);
AliMUONResponse* response = chamber.ResponseModel();
// This is the heart of this method : the dis-integration
TList digits;
- if (AA>1){ // if there are pileup events
+ if (aa>1){ // if there are pileup events
Float_t chamberTime = AliMUONConstants::AverageChamberT(chamberId);
Float_t timeDif=age-chamberTime;
if (timeDif>fgkMaxPosTimeDif || timeDif<fgkMaxNegTimeDif) {
else return kFALSE;
}
//====================================
-Bool_t AliMUONTrackLight::IsDiquark(Int_t pdg){
+Bool_t AliMUONTrackLight::IsDiquark(Int_t pdg) const{
/// check if the provided pdg code corresponds to a diquark
pdg = TMath::Abs(pdg);
if((pdg > 1000) && (pdg%100 < 10)) return kTRUE;
/// Set primary vertex position from the ITS
void SetVertex(Double_t *xyz) {for (Int_t i=0; i<3; i++) fXYZ[i]=xyz[i];}
/// Return primary vertex x position from the ITS
- Double_t GetX() { return fXYZ[0]; }
+ Double_t GetX() const { return fXYZ[0]; }
/// Return primary vertex y position from the ITS
- Double_t GetY() { return fXYZ[1]; }
+ Double_t GetY() const { return fXYZ[1]; }
/// Return primary vertex z position from the ITS
- Double_t GetZ() { return fXYZ[2]; }
+ Double_t GetZ() const { return fXYZ[2]; }
/// Return primary vertex position from the ITS
Double_t* GetVertex() { return fXYZ; }
/// Set chi2 / ndf in the MUON track fit
void SetChi2(Double_t chi2) {fChi2=chi2;}
/// Return chi2 / ndf in the MUON track fit
- Double_t GetChi2() { return fChi2; }
+ Double_t GetChi2() const { return fChi2; }
/// Set weight assigned to the muon
void SetWeight(Double_t w) {fWeight=w;}
/// Return weight assigned to the muon
- Double_t GetWeight() { return fWeight; }
+ Double_t GetWeight() const { return fWeight; }
/// Set muon charge
void SetCharge(Int_t charge) {fCharge = charge;}
//"K" muon kinematics
//"A" all variables
Int_t GetParentFlavour(Int_t idParent=0) const;
- Bool_t IsDiquark(Int_t pdg);
+ Bool_t IsDiquark(Int_t pdg) const;
protected:
static const Int_t fgkNParentsMax = 5; ///< maximum number of parents
TLorentzVector fPrec; ///< reconstructed 4-momentum
///
// Author: Diego Stocco; Subatech, Nantes
-#ifndef ALIMUONTRIGGEREFFICIENCY_H
-#define ALIMUONTRIGGEREFFICIENCY_H
+#ifndef ALIMUONTRIGGERCHAMBEREFFICIENCY_H
+#define ALIMUONTRIGGERCHAMBEREFFICIENCY_H
#include "TObject.h"
class TH1;
private:
Bool_t AddSortedPoint(Float_t currVal, TArrayD& position, const Float_t kResetValue);
/// Return index
- Int_t GetIndex(Int_t chamber, Int_t cathode) { return 2*chamber + cathode;}
+ Int_t GetIndex(Int_t chamber, Int_t cathode) const { return 2*chamber + cathode;}
Bool_t InitOrDisplayTriggerInfo(TObject* inputHisto, TH2* displayHisto,
EDisplayType displayType,
//__________________________________________________________________________
TH1F* AliMUONTriggerEfficiencyCells::GetOldEffHisto(Int_t histoType,
- Int_t ich, Int_t icath)
+ Int_t ich, Int_t icath) const
{
//
/// Compatibility with old class
/// Get list of histograms
TList* GetHistoList() { return fCountHistoList; }
- TH1F* GetOldEffHisto(Int_t hType, Int_t ich, Int_t icath); // obsolete
+ TH1F* GetOldEffHisto(Int_t hType, Int_t ich, Int_t icath) const; // obsolete
protected:
void ResetHistos(Bool_t deleteObjects = kFALSE);
if ( check )
{
- Master()->Log("Could not read some input file(s). Aborting");
+ Master()->Log("Could not read some input file(s). Exiting");
Master()->Invalidate();
return kFALSE;
}
virtual TCollection* Children() const;
- mutable TH1* fHistogram; //!< histogram
-
+ void CreateGroups();
+
AliMUONVTrackerData* InteractiveReadOutConfig() const;
-private:
+ mutable TH1* fHistogram; //!< histogram
- void FlatList(TList& list);
+ TMap* fPainterGroups; ///< map of groups
+ AliMUONPainterGroup* fResponderGroup; ///< the responder group
- AliMUONPainterGroup* CreateGroup(const char* type, Int_t depth);
+private:
-protected:
- void CreateGroups();
+ void FlatList(TList& list);
-private:
+ AliMUONPainterGroup* CreateGroup(const char* type, Int_t depth);
void GetBoundingBox(Double_t& x1, Double_t& y1,
Double_t& x2, Double_t& y2) const;
void GetIROCManuList(TObjArray& manuList);
-private:
-
TString fName; ///< our (short) name
TString fPathName; ///< our long name
TString fType; ///< our type (DE, Chamber, MANU, etc...)
AliMUONVPainter* fMother; ///< our mother
AliMUONPainterGroup* fGroup; ///< our group
AliMUONContour* fContour; ///< our contour
-protected:
- TMap* fPainterGroups; ///< map of groups
-private:
TObjArray* fChildren; ///< our children
-protected:
- AliMUONPainterGroup* fResponderGroup; ///< the responder group
-private:
AliMUONPainterGroup* fPlotterGroup; ///< the plotter group
Double_t fBorderFactor; ///< border factor for visu
TVirtualPad* fPad; ///< the pad we're drawn in
Int_t Add2RecPointsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE);
Int_t Add2RawsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE, const Bool_t saveForCorr = kFALSE);
+ AliQADataMakerRec* fMaster; ///< master to get access to its methods
+
private:
/// Not implemented
AliMUONVQADataMakerRec(const AliMUONVQADataMakerRec& rhs);
/// Not implemented
AliMUONVQADataMakerRec& operator=(const AliMUONVQADataMakerRec& rhs);
-protected:
- AliQADataMakerRec* fMaster; ///< master to get access to its methods
-
ClassDef(AliMUONVQADataMakerRec,1) // Interface for a MUON QADataMakerRec
};
kParityErr = 3 ///< parity error
};
+protected:
+
+ static const Int_t fgkMaxDDL; //!< maximum number of DDLs
+
private:
// Do not allow copying of this class.
/// Not implemented
AliMUONVRawStreamTracker& operator = (const AliMUONVRawStreamTracker& stream);
- static const Int_t fgkMaxDDL; //!< maximum number of DDLs
-
ClassDef(AliMUONVRawStreamTracker, 0) // Base class for reading MUON raw digits from tracking chambers.
};
// Id to be copy to or from
/// Get Id from where the X input are copied
- Int_t GetInputXfrom() {return fInputXfrom;}
+ Int_t GetInputXfrom() const {return fInputXfrom;}
/// Get Id to where the X input are copied
- Int_t GetInputXto() {return fInputXto;}
+ Int_t GetInputXto() const {return fInputXto;}
/// Get Id from where the Y input are copied
- Int_t GetInputYfrom() {return fInputYfrom;}
+ Int_t GetInputYfrom() const {return fInputYfrom;}
/// Get Id to where the Y input are copied
- Int_t GetInputYto() {return fInputYto;}
+ Int_t GetInputYto() const {return fInputYto;}
/// Set Id from where the X input are copied
void SetInputXfrom(Int_t id) {fInputXfrom = id;}
<< "#connecteur_berg kapton padname not_used" << endl
<< "#for slats there's no kapton connector, so it's always 1"
<< " (zero make the reader" << endl
- << "#abort, so it's not a valid value here)." << endl
+ << "#exit, so it's not a valid value here)." << endl
<< "#" << endl;
for ( Int_t ix = 0; ix < GetNofPadsX(); ++ix )
//_____________________________________________________________________________
Bool_t
-AliMpPCBPadIterator::GetNextPosition(Int_t& ix, Int_t& iy)
+AliMpPCBPadIterator::GetNextPosition(Int_t& ix, Int_t& iy) const
{
/// Get the next iteration position.
/// On input, fOffset must be a valid position (i.e. within iteration
/// Not implemented
AliMpPCBPadIterator& operator = (const AliMpPCBPadIterator& right);
- Bool_t GetNextPosition(Int_t& ix, Int_t& iy);
+ Bool_t GetNextPosition(Int_t& ix, Int_t& iy) const;
Bool_t CropArea(const AliMpArea& area);
void SetPad(AliMpPad& pad, Int_t ix, Int_t iy);
//___________________________________________________________________________
Int_t
-AliMpTriggerReader::IsLayerLine(const TString& sline)
+AliMpTriggerReader::IsLayerLine(const TString& sline) const
{
/// Whether sline contains LAYER keyword
Int_t GetLine(const TString& slatType);
- Int_t IsLayerLine(const TString& sline);
+ Int_t IsLayerLine(const TString& sline) const;
int LocalBoardNumber(const char* localBoardName);