/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkLevel2.h
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/TrkLevel2.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.27 by pam-fi, Thu May 24 14:32:14 2007 UTC revision 1.28 by pam-fi, Thu May 24 16:45:47 2007 UTC
# Line 144  public: Line 144  public:
144      Bool_t IsSaturated();      Bool_t IsSaturated();
145      Bool_t IsBad(int,int);      Bool_t IsBad(int,int);
146      Float_t GetDEDX();      Float_t GetDEDX();
147      Float_t GetDEDX(int);      Float_t GetDEDX(int ip);
148      Float_t GetDEDX(int,int);      Float_t GetDEDX(int ip,int iv);
149      Int_t GetLeverArmX();      Int_t GetLeverArmX();
150      Int_t GetLeverArmY();      Int_t GetLeverArmY();
151    
# Line 163  public: Line 163  public:
163      void SetStepMin(int istepmin);      void SetStepMin(int istepmin);
164      Bool_t IsInsideCavity();      Bool_t IsInsideCavity();
165    
166      void EvaluateClusterPositions();      Bool_t EvaluateClusterPositions();
167    
168      void FillMiniStruct(cMini2track&);      void FillMiniStruct(cMini2track&);
169      void SetFromMiniStruct(cMini2track*);      void SetFromMiniStruct(cMini2track*);
# Line 235  public: Line 235  public:
235   * Each track may have an "image", due to the ambiguity on the Y view, which is stored also.   * Each track may have an "image", due to the ambiguity on the Y view, which is stored also.
236   * Thus, the number of stored tracks ( ntrk() ) differs from the number of "physical" tracks ( GetNTracks() ).   * Thus, the number of stored tracks ( ntrk() ) differs from the number of "physical" tracks ( GetNTracks() ).
237   * Proper methods allow to sort tracks and select the physical ones ( GetTracks() ).   * Proper methods allow to sort tracks and select the physical ones ( GetTracks() ).
238     *
239     * The event status indicates the processing status of data from each DSP, according to the following
240     * notation:
241     *
242     *     xxxx xxxx xxxx xxxx xxxx xxxx
243     *     |||| |||| |||| |||| |||| ||||_ 0 missing packet
244     *     |||| |||| |||| |||| |||| |||__ 1 CRC error
245     *     |||| |||| |||| |||| |||| ||___ 2 on-line software alarm (latch-up, timeout ecc...)
246     *     |||| |||| |||| |||| |||| |____ 3 jump in the trigger counter
247     *     |||| |||| |||| |||| ||||______ 4 decode error
248     *     |||| |||| |||| |||| |||_______ 5 n.clusters > maximum number (level1 processing)
249     *     |||| |||| |||| |||| ||________ 6
250     *     |||| |||| |||| |||| |_________ 7
251     *     |||| |||| |||| ||||___________ 8 n.clusters > maximum value (level2 processing)
252     *     |||| |||| |||| |||____________ 9 n.couples per plane > maximum values (vector dimention)
253     *     |||| |||| |||| ||_____________ 10 n.doublets > maximum values
254     *     |||| |||| |||| |______________ 11 n.triplets > maximum values
255     *     |||| |||| ||||________________ 12 n.yz-clouds > maximum values
256     *     |||| |||| |||_________________ 13 n.xz-clouds > maximum values
257     *     |||| |||| ||__________________ 14 n.candidate-tracks > maximum values
258     *     |||| |||| |___________________ 15 n.couples per plane > maximum values (for Hough transform)
259     *     |||| ||||_____________________ 16
260     *        
261     *
262     * For all data processed before June 2007 the event status was coded according to
263     * a different rule:
264     *
265     * Status of level1 processing
266     *  0 -- OK  
267     *  1 -- missing packet
268     *  2 -- 1  CRC error
269     *  3 -- 2 on-line software alarm (latch-up flags asserted or n.transmitted-words = 0)
270     *  4 -- 3 jump in the trigger counter
271     * 10 -- 4 decode error
272     * 11 -- 5  n.clusters > maximum number (for level1 processing)
273     * Status of level2 processing
274     * 21 -- 0 n.clusters > maximum value (for level2 processing)
275     * 22 -- 1 n.couples per plane > maximum values (vector dimention)
276     * 23 -- 2 n.doublets > maximum values
277     * 24 -- 3 n.triplets > maximum values
278     * 25 -- 4 n.yz-clouds > maximum values
279     * 26 -- 5 n.xz-clouds > maximum values
280     * 27 -- 6 n.candidate-tracks > maximum values
281     * 28 -- 7 n.couples per plane > maximum values (for Hough transform)
282     *  
283     *
284   */   */
285  class TrkLevel2 : public TObject {  class TrkLevel2 : public TObject {
286    
# Line 299  class TrkLevel2 : public TObject { Line 345  class TrkLevel2 : public TObject {
345      TrkLevel2*    GetTrkLevel2(){return this;}      TrkLevel2*    GetTrkLevel2(){return this;}
346      TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array      TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array
347            
348        void   StatusDump(int view);
349        Bool_t StatusCheck(int view, int flagmask);
350    
351      ClassDef(TrkLevel2,3);      ClassDef(TrkLevel2,3);
352    
353  };  };

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.23