void AliMpMotifMap::PrintMotif(const AliMpVMotif* motif) const
{
/// Print the motif.
-// ---
cout << motif->GetID().Data() << " "
<< motif->GetMotifType()->GetID() << " "
//_____________________________________________________________________________
Int_t AliMpMotifMap::CalculateNofPads() const
{
+/// Calculate total number of pads in the map
+
Int_t nofPads = 0;
#ifdef WITH_STL
//_____________________________________________________________________________
void AliMpMotifMap::PrintMotifPositions() const
{
-/// Print all the the motifs positions.
+/// Print all motif positions.
#ifdef WITH_STL
if (fMotifPositions.size()) {
//_____________________________________________________________________________
void AliMpMotifMap::PrintMotifPositions2() const
{
-/// Print all the the motifs positions from the second map
+/// Print all motif positions from the second map
/// (by global indices)
#ifdef WITH_STL
//_____________________________________________________________________________
void AliMpMotifMap::PrintGlobalIndices(const char* fileName) const
{
-/// Print all the motifs positions and their global indices.
+/// Print all motif positions and their global indices.
ofstream out(fileName, ios::out);
//_____________________________________________________________________________
void AliMpMotifMap::UpdateGlobalIndices(const char* fileName)
{
-/// Updates the motifs positions global indices
-/// from the file.
+/// Update the motif positions global indices from the file.
ifstream in(fileName, ios::in);
//_____________________________________________________________________________
AliMpVMotif* AliMpMotifMap::FindMotif(const TString& motifID) const
{
-/// Finds the motif with the specified ID.
+/// Find the motif with the specified ID.
#ifdef WITH_STL
MotifMapIterator i = fMotifs.find(motifID);
const TString& motifTypeID,
const TVector2& padDimensions ) const
{
-/// Finds the motif with the specified ID and returns it
+/// Find the motif with the specified ID and returns it
/// only if its motif type and motif dimensions agree
/// with the given motifTypeID and motifDimensions.
/// Disagreement causes fatal error.