// $Id$
+// $MpId: empty.C,v 1.2 2005/08/24 08:53:27 ivana Exp $
//
// Empty macro used to override a user defined logoff script.
// $Id$
+// $MpId: testAllIndices.C,v 1.7 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for testing which pad is seen as "existing" by AliMpSector.
void testAllIndices(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector *sector=r.BuildSector();
AliMpSectorSegmentation segmentation(sector);
// $Id$
+// $MpId: testAnyPadIterators.C,v 1.12 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for reading sector, and iterate over it
AliMpPlaneType plane = kBendingPlane,
Int_t i=50, Int_t j=50)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector* sect = r.BuildSector();
TCanvas *canv = new TCanvas("canv");
// $Id$
+// $MpId: testExistingPads.C,v 1.10 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for testing which pad is seen as "existing" by AliMpSector.
void testExistingPads(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector *sector=r.BuildSector();
AliMpSectorSegmentation segmentation(sector);
AliMpVPainter* painter = AliMpVPainter::CreatePainter(sector);
// $Id$
+// $MpId: testExistingPads2.C,v 1.3 2005/08/24 08:53:27 ivana Exp $
//
// Extended testExistingPads macro for testing which pad is seen as
// "existing" by AliMpSector.
void testExistingPads2(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector* sector = r.BuildSector();
AliMpSectorSegmentation segmentation(sector);
// $Id$
+// $MpId: testGraphics.C,v 1.11 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for drawing sector data.
void testGraphics(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector *sector=r.BuildSector();
AliMpVPainter *painter=AliMpVPainter::CreatePainter(sector);
// $Id$
+// $MpId: testIndicesLimits.C,v 1.3 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for indices limits.
void testIndicesLimits(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader reader(station, plane);
+ AliMpSectorReader reader(station, plane);
//reader.SetVerboseLevel(1);
// Read data
// $Id$
+// $MpId: testMotifTypeIterators.C,v 1.10 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for reading motif type data and iterate over them.
canv[i]->Divide(2,2);
}
- AliMpReader r(station, plane);
+ AliMpMotifReader r(station, plane);
//r.SetVerboseLevel(2);
for (i=0;i<nofMotifs;++i){
// $Id$
+// $MpId: testNeighboursPadIterator.C,v 1.8 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for reading sector, and iterate over it
gInterpreter->ProcessLine("mlibs()");
}
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector* sect = r.BuildSector();
AliMpSectorSegmentation segm(sect);
// $Id$
+// $MpId: testPadDimensions.C,v 1.4 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for testing retrieving of pad dimensions from
// the map in AliMpSectorSegmentation.
void testPadDimensions(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector* sector=r.BuildSector();
AliMpSectorSegmentation segmentation(sector);
segmentation.PrintZones();
// $Id$
+// $MpId: testPadsUpEtc.C,v 1.6 2005/08/24 08:53:27 ivana Exp $
//
// Test macro that starts from a given pad and prints
// all pads up, down, right, left from this pad
void testPadsUpEtc(AliMpStationType station = kStation1,
AliMpPlaneType planeType = kBendingPlane)
{
- AliMpReader reader(station, planeType);
+ AliMpSectorReader reader(station, planeType);
AliMpSector* sector = reader.BuildSector();
AliMpSectorSegmentation segmentation(sector);
// $Id$
+// $MpId: testPrintLimits.C,v 1.7 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for making an output file, where all mapping elements
// indices & positions are written.
void testPrintLimits(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane, ostream& out=cout)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector *sector=r.BuildSector();
// $Id$
+// $MpId: testReadMotifType.C,v 1.11 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for reading motif type data.
void testReadMotifType(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpMotifReader r(station, plane);
//r.SetVerboseLevel(2);
TString names;
// $Id$
+// $MpId: testReadSector.C,v 1.13 2005/09/02 10:57:47 ivana Exp $
//
// Test macro for reading sector data.
void testReadSector(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader reader(station, plane);
+ AliMpSectorReader reader(station, plane);
//reader.SetVerboseLevel(1);
// Read data
cout << endl;
// Find row test
- cout << "0th row low border " << sector->FindRow(TVector2(0., 0.))->GetID() << endl;
+ if (plane == kBendingPlane)
+ cout << "0th row low border " << sector->FindRow(TVector2(0., 0.))->GetID() << endl;
+ if (plane == kNonBendingPlane)
+ cout << "0th row low border " << sector->FindRow(TVector2(0., 0.215))->GetID() << endl;
cout << "in 0th row " << sector->FindRow(TVector2(0., 25.))->GetID() << endl;
cout << "0th row up border " << sector->FindRow(TVector2(0., 67.2))->GetID() << endl;
cout << "in 4th row " << sector->FindRow(TVector2(0., 300.))->GetID() << endl;
// $Id$
+// $MpId: testSectorAreaIterator.C,v 1.3 2005/08/24 08:53:27 ivana Exp $
//
-// Test macro for iterating over the whole plane
+// Test macro for iterating over the whole sector
#include <iomanip>
void testSectorAreaIterator(AliMpStationType station = kStation1,
AliMpPlaneType planeType = kBendingPlane)
{
- AliMpReader reader(station, planeType);
+ AliMpSectorReader reader(station, planeType);
AliMpSector* sector = reader.BuildSector();
AliMpSectorSegmentation segmentation(sector);
// $Id$
+// $MpId: testSectorFind.C,v 1.8 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for which verify that all FindPosition, FindIndices
// and FindLocation methods are consistents between them.
void testSectorFind(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector *sector=r.BuildSector();
AliMpSectorSegmentation segmentation(sector);
// $Id$
+// $MpId: testSectorPadIterators.C,v 1.7 2005/08/24 08:53:27 ivana Exp $
//
// Test macro for reading sector, and iterate over it
void testSectorPadIterators(AliMpStationType station = kStation1,
AliMpPlaneType plane = kBendingPlane)
{
- AliMpReader r(station, plane);
+ AliMpSectorReader r(station, plane);
AliMpSector* sect = r.BuildSector();
Int_t num=0;
// $Id$
+// $MpId: testUpdateGlobalIndices.C,v 1.7 2005/08/24 08:53:27 ivana Exp $
//
// Tests updating global indices of motif positions from file.
void testUpdateGlobalIndices()
{
- AliMpReader reader(kStation1, kNonBendingPlane);
+ AliMpSectorReader reader(kStation1, kNonBendingPlane);
//reader.SetVerboseLevel(1);
// Read data