NCFS-Pack
A generic (astro)particle physics analysis framework
Loading...
Searching...
No Matches
NcEventSelector Class Reference

TTask derived class to perform generic event selection. More...

#include "NcEventSelector.h"

Inheritance diagram for NcEventSelector:
NcAstrolab NcTimestamp

Detailed Description

TTask derived class to perform generic event selection.


Copyright(c) 2007 NCFS/IIHE, All Rights Reserved. *
*
Authors: The Netherlands Center for Fundamental Studies (NCFS). *
The Inter-university Institute for High Energies (IIHE). *
Website : http://www.iihe.ac.be *
Contact : Nick van Eijndhoven (nickve.nl@gmail.com) *
*
Contributors are mentioned in the code where appropriate. *
*
No part of this software may be used, copied, modified or distributed *
by any means nor transmitted or translated into machine language for *
commercial purposes without written permission by the IIHE representative. *
Permission to use the software strictly for non-commercial purposes *
is hereby granted without fee, provided that the above copyright notice *
appears in all copies and that both the copyright notice and this *
permission notice appear in the supporting documentation. *
This software is provided "as is" without express or implied warranty. *
The authors make no claims that this software is free of error, or is *
consistent with any particular standard of merchantability, or that it *
will meet your requirements for any particular application, other than *
indicated in the corresponding documentation. *
This software should not be relied on for solving a problem whose *
incorrect solution could result in injury to a person or loss of property. *
If you do use this software in such a manner, it is at your own risk. *
The authors disclaim all liability for direct or consequential damage *
resulting from your use of this software. *

// Class NcEventSelector
// TTask based processor to perform generic event selection.
// This class is derived from NcAstrolab in order to also provide event
// selection based on space and time matching with external (astrophysical)
// objects and phenomena.
//
// After having applied the various selection criteria, this processor
// introduces an NcDevice with the name "NcEventSelector" into the event.
// This device contains named signal slots to indicate the settings
// of the various selection parameters.
// One of the slots has the name "Select" and the signal value of this
// slot indicates the final selection result.
//
// value : -1 ==> Event rejected
// 0 ==> Decision unknown (incomplete selection parameters)
// 1 ==> Event selected
//
// This selection value is also recorded as the event selection level
// in the corresponding NcEvent (or derived) structure.
//
// Event selection may be performed based on various selection types,
// e.g. individual track observables, total event observables or
// space and time matching with external objects.
// These types can be (de)activated via the SetSelector member function.
//
// The specific selection criteria for each selection type may be
// specified via the SetRange memberfunction.
// Note that by default the selection is "Unknown", which implies that
// the various specified selection criteria have to actively select
// or reject an event.
// In view of this the user is advised to use different lower and upper bound
// values at the invokation of SetRange to prevent computer accuracy problems.
//
// The logic to be used in the selection process with the various criteria
// is set via the memberfunction SetLogic.
// Obviously, matching of tracks with various external objects is always
// performed in logical "or".
//
// For investigation of individual track observables and/or matching with
// external objects, the user may define a restricted set of tracks to
// be used in the evaluation procedures. The definition of such a restricted
// track set is performed via the memberfunction UseTracks.
//
// Example :
// ---------
// gSystem->Load("ncfspack");
//
// NcEventSelector sel;
// sel.SetExperiment("IceCube"); // The IceCube South Pole Neutrino Observatory
//
// sel.SetSelector("astro");
// sel.SetSelector("track");
// sel.SetSelector("event");
// sel.SetLogic("and");
// sel.UseTracks("*");
//
// sel.SetRange("track","p",0.5,1e20); // Require at least 500 MeV/c track momentum
// sel.SetRange("event","ntrk","*",1,3); // Only low multiplicity events
//
// // Match with Astrophysical objects within 5 degrees and 10 seconds
// Float_t da=5;
// Float_t dt=10;
// sel.SetAstroMatch(da,dt,"from");
//
// // Some observed event to be investigated
// NcEvent evt;
// evt.SetUT(1989,7,30,8,14,23,738504,0);
//
// Float_t vec[3]={1,23.8,118.65};
// Nc3Vector r;
// r.SetVector(vec,"sph","deg");
//
// NcTrack t;
// t.SetNameTitle("SomeTrack","Just a dummy test track");
// r*=-1; // Let track originate from the specified location
// t.Set3Momentum(r);
//
// evt.AddTrack(t);
//
// // Enter some external (astrophysical) reference signals
// Float_t alpha=194818.0;
// Float_t delta=84400.;
// sel.SetSignal(1,alpha,"hms",delta,"dms","equ","B",1950,-1,"M","Altair");
// alpha=124900.0;
// delta=272400.;
// sel.SetSignal(1,alpha,"hms",delta,"dms","equ","B",1950,-1,"M","NGP");
// alpha=64508.917;
// delta=-164258.02;
// sel.SetSignal(1,alpha,"hms",delta,"dms","equ","J",2000,-1,"M","Sirius");
// alpha=23149.08;
// delta=891550.8;
// sel.SetSignal(1,alpha,"hms",delta,"dms","equ","J",2000,-1,"M","Polaris");
// alpha=43600.;
// delta=163100.;
// sel.SetSignal(1,alpha,"hms",delta,"dms","equ","J",2000,-1,"M","Aldebaran");
// sel.SetSignal(1,182948.53,"hms",380228.45,"dms","equ","J",2000,-1,"M","LyrA");
// sel.SetSignal(1,0,"deg",-90,"deg","gal",0,-1,"M","SGP");
// sel.SetUT(1989,7,30,8,14,16,0,0);
// sel.SetSignal(1,327.531,"deg",-35.8903,"deg","gal",0,-1,"M","GRB890730"); // This matches our track
//
// // List all stored reference objects
// sel.ListSignals("equ","T",5);
//
// // Let's see what the event selection makes of it
// NcJob q;
// q.Add(&sel);
// q.ListEnvironment();
// q.ProcessObject(&evt);
//
// NcDevice* evtsel=(NcDevice*)evt.GetDevice("NcEventSelector");
// if (evtsel) evtsel->Data();
//
//--- Author: Nick van Eijndhoven 17-sep-2007 Utrecht University
//- Modified: Nick van Eijndhoven, IIHE-VUB, Brussel, July 16, 2023 15:04Z

Definition at line 12 of file NcEventSelector.h.

Public Member Functions

 NcEventSelector (const char *name="NcEventSelector", const char *title="Event selection")
 NcEventSelector (const NcEventSelector &q)
virtual ~NcEventSelector ()
virtual TObject * Clone (const char *name="") const
virtual void Exec (Option_t *opt)
void SetAstroMatch (Double_t da, Double_t dt, TString dir)
void SetLogic (TString type)
void SetRange (TString type, TString obs, Double_t low, Double_t up)
void SetRange (TString type, TString obs, TString name, Int_t nlow, Int_t nup)
void SetSelector (TString type, Int_t flag=1)
void UseTracks (TString name, Int_t n=-1)
Public Member Functions inherited from NcAstrolab
 NcAstrolab (const char *name="User", const char *title="Virtual Lab for general use")
 NcAstrolab (const NcAstrolab &t)
virtual ~NcAstrolab ()
Double_t ConvertAngle (Double_t a, TString in, TString out) const
void Data (Int_t mode=1, TString u="deg", Bool_t utc=kTRUE)
void DisplaySignal (TString frame, TString mode, NcTimestamp *ts, Int_t j=-1, TString proj="ham", Int_t clr=0, TString name="")
void DisplaySignal (TString frame, TString mode, NcTimestamp *ts, TString name, TString proj="ham", Int_t clr=0, Int_t type=0)
void DisplaySignals (TString frame, TString mode, NcTimestamp *ts, TString proj="ham", Int_t clr=0, Int_t nmax=-1, Int_t j=-1, Int_t type=-1, TString name="*")
void GenBurstGCNdata (Int_t n, TString name="GRB", Bool_t scale=kFALSE)
void GenBurstSignals ()
void GeoToHeliocentric (Double_t &R, Double_t &B, Double_t &L, NcTimestamp *ts, TString Bu="deg", TString Lu="deg")
TF1 GetBackgroundRatePDF (Double_t Noff, Double_t Toff, Double_t bmax=-1, Double_t prec=709)
Double_t GetBurstBackgroundEnergy (Double_t Emin=-1, Double_t Emax=-1) const
void GetBurstBayesianPsiStatistics (TString type, Double_t nr=-1, Int_t ncut=10, Int_t ndt=2, Bool_t zcor=kFALSE, Int_t freq=0)
TH1 * GetBurstBayesianSignalRate (Double_t p, Double_t &rlow, Double_t &rup, Int_t n=1000)
void GetBurstChi2Statistics (TString type, Int_t ndt=2, Bool_t zcor=kFALSE)
NcSample GetBurstDataSample (TString type, TString data) const
TH1 * GetBurstHistogram (TString name) const
Double_t GetBurstLiMaSignificance () const
Double_t GetBurstParameter (TString name)
NcDeviceGetBurstParameters ()
Double_t GetBurstRecoAngres (Double_t Emin=-1, Double_t Emax=-1, Double_t Amin=0, Double_t Amax=999) const
Double_t GetBurstSignalEnergy (Double_t Emin=-1, Double_t Emax=-1) const
Double_t GetComovingDistance (Double_t z, TString u="Mpc") const
TH1F GetCountsHistogram (TF1 &spec, Int_t nbins, Double_t xmin, Double_t xmax, Int_t mode, TString s="") const
TH1F GetCountsHistogram (TH1 &hin, Int_t mode, TString s="", TF1 *fscale=0) const
Double_t GetCredibleInterval (TF1 pdf, Double_t p, Double_t &xlow, Double_t &xup, Int_t n=1000)
Double_t GetCredibleInterval (TF1 pdf, Double_t p, Float_t &xlow, Float_t &xup, Int_t n=1000)
Double_t GetCredibleInterval (TH1 *his, Double_t p, Double_t &xlow, Double_t &xup)
Double_t GetCredibleInterval (TH1 *his, Double_t p, Float_t &xlow, Float_t &xup)
TH1F GetCumulHistogram (TF1 *f, TString name, Int_t nbins, Double_t xmin, Double_t xmax, TString mode="F") const
TH1F GetCumulHistogram (TH1 *h, TString name, TString mode="F") const
Double_t GetDifference (Int_t jref, TString au, Double_t &dt, TString tu, Int_t mode=1, Int_t *ia=0, Int_t *it=0)
Int_t GetDifference (NcTimestamp &t, Int_t &days, Int_t &sec, Int_t &ns, Int_t &ps, TString type="UT")
Double_t GetDifference (NcTimestamp &t, TString u, Int_t mode=1, TString type="UT")
Int_t GetDifference (NcTimestamp *t, Int_t &days, Int_t &sec, Int_t &ns, Int_t &ps, TString type="UT")
Double_t GetDifference (NcTimestamp *t, TString u, Int_t mode=1, TString type="UT")
Double_t GetDifference (TString name, TString au, Double_t &dt, TString tu, Int_t mode=1)
TH1F GetDifHistogram (TH1 *hin, Int_t mode, TString s="", TF1 *f=0) const
TH1F GetDxHistogram (TH1 *hx, Int_t nc, Double_t dxbin=-1, Double_t dxmin=-1, Double_t dxmax=-1, Int_t mode=1, Double_t fact=1)
TString GetExperiment () const
Double_t GetHourAngle (TString mode, NcTimestamp *ts, Int_t jref=0, Int_t type=0)
Double_t GetHubbleParameter (Double_t z, TString u="Mpc") const
Double_t GetInteractionProbability (Double_t x, Double_t lambda) const
Double_t GetInteractionProbability (Double_t x, Double_t sigma, Double_t rho, Int_t mode) const
Int_t GetLabDetectorId () const
NcPosition GetLabPosition () const
void GetLabPosition (Double_t &l, Double_t &b, TString u="deg") const
Double_t GetLabTimeOffset () const
Double_t GetLAST ()
Double_t GetLAST (Double_t offset)
Double_t GetLightTravelDistance (Double_t z, TString u="Mpc") const
Double_t GetLightTravelTime (Double_t z) const
Double_t GetLMST ()
Double_t GetLMST (Double_t offset)
void GetLocalFrame (Float_t arr[6])
TH1F GetLogHistogram (TH1 *hin, Int_t mode, TString s="") const
Double_t GetLT ()
Double_t GetLT (Double_t offset)
Double_t GetLuminosityDistance (Double_t z, TString u="Mpc") const
Double_t GetMaxDt () const
Double_t GetMeanFreePath (Double_t sigma, Double_t rho, Int_t mode) const
Double_t GetNeutrinoAngle (Double_t E, TString u, Int_t mode, TF1 *f=0)
Double_t GetNeutrinoXsection (Int_t mode, Int_t type, Double_t egev, Double_t xscale=1, Double_t *eprimgev=0, Double_t *alpha=0) const
Int_t GetNRefSignals (Int_t mode=0) const
Int_t GetNsignals (Int_t type, Int_t mode=0) const
Double_t GetNuclearMass (Int_t Z, Int_t N, Int_t mode=1) const
Double_t GetPhysicalDistance (Double_t z, TString u="Mpc", Int_t t=1) const
Double_t GetPhysicalParameter (TString name) const
Int_t GetPositionScramble (Double_t *dmin=0, Double_t *dmax=0, TF1 *df=0, Double_t *thmin=0, Double_t *thmax=0, TF1 *thf=0, Double_t *phimin=0, Double_t *phimax=0, TF1 *phif=0)
Double_t GetProperDistance (Double_t z, TString u="Mpc", Int_t t=1) const
Double_t GetRadiationLength (Double_t Z, Double_t A, Double_t rho=-1) const
NcRandomGetRandomiser (Int_t &iseed, Int_t &cnt1, Int_t &cnt2) const
Double_t GetSeparation (TString name1, TString name2, TString au, Double_t *dt=0, TString tu="s", Int_t mode=1, Double_t *diftheta=0, Double_t *difphi=0)
Double_t GetShieldingThickness (Double_t prob, Double_t lambda) const
Double_t GetShieldingThickness (Double_t prob, Double_t sigma, Double_t rho, Int_t mode) const
NcSignalGetSignal (Double_t &d, Double_t &a, TString au, Double_t &b, TString bu, TString frame, NcTimestamp *ts, Int_t jref, TString mode="T", Int_t type=0)
NcSignalGetSignal (Double_t &d, Double_t &a, TString au, Double_t &b, TString bu, TString frame, NcTimestamp *ts, TString name, TString mode="T", Int_t type=0)
NcSignalGetSignal (Double_t &d, Double_t &a, TString au, Double_t &b, TString bu, TString frame, TString s, Double_t e, Int_t jref, TString mode, Int_t type=0)
NcSignalGetSignal (Double_t &d, Double_t &a, TString au, Double_t &b, TString bu, TString frame, TString s, Double_t e, TString name, TString mode, Int_t type=0)
NcSignalGetSignal (Int_t jref=0, Int_t type=0)
NcSignalGetSignal (TString name, Int_t type=0, NcTimestamp *ts=0)
Int_t GetSignalIndex (NcSignal *s, Int_t type)
Int_t GetSignalIndex (TString name, Int_t type=0)
TF1 GetSignalRatePDF (Double_t Non, Double_t Ton, Double_t Noff, Double_t Toff, Double_t Ra=1, Double_t Re=1, Double_t smax=-1, Double_t bmax=-1, Double_t prec=709)
Double_t GetSolidAngle (Double_t thetamin, Double_t thetamax, TString tu, Double_t phimin, Double_t phimax, TString pu) const
Double_t GetSourceAttributes (NcSignal *s, Float_t *z=0, Float_t *T90=0)
Double_t GetSurvivalProbability (Double_t x, Double_t lambda) const
Double_t GetSurvivalProbability (Double_t x, Double_t sigma, Double_t rho, Int_t mode) const
Double_t GetTargetThickness (Double_t prob, Double_t lambda) const
Double_t GetTargetThickness (Double_t prob, Double_t sigma, Double_t rho, Int_t mode) const
Int_t GetTimeScramble (Double_t *tmin=0, Double_t *tmax=0, TF1 *frndm=0)
Double_t GetUpperLimit (TF1 pdf, Double_t p)
Double_t GetUpperLimit (TH1 *pdf, Double_t p)
void HelioToGeocentric (Double_t &R, Double_t &B, Double_t &L, NcTimestamp *ts, TString Bu="deg", TString Lu="deg")
void InitDataNames (Int_t dir, TString frame, TString mode="J")
Double_t KolmogorovTest (TString mode, TH1 *h1, TH1 *h2=0, TF1 *pdf=0, Double_t nr=1000, TH1F *ksh=0, Int_t ncut=0, Double_t *nrx=0, Int_t mark=1)
void ListBurstDataStats () const
void ListBurstHistograms () const
void ListBurstParameters () const
void ListDataNames ()
void ListSignals (TString frame, TString mode, Int_t ndig=1, TString emode="T", Int_t nmax=10, Int_t j=-1, Int_t type=-1, NcTimestamp *ts=0, TString name="*")
void LoadAeffData (TString file, TString hist)
void LoadInputData (Bool_t src, TString file, TString tree, Int_t date1=0, Int_t date2=0, Int_t nmax=-1, TString type="-")
void MakeBurstEnergydist (Int_t mode, TString file, TString tree, TString name1, TString name2, TString u, Int_t nb=1000)
void MakeBurstEnergydist (TString mode, Double_t alpha, Int_t nbins=1000)
void MakeBurstEnergydist (TString mode, TF1 &spec, Int_t nsrc=0, Int_t nbins=1000, Float_t Tem=-1)
void MakeBurstRecoAngresdist (TString file, TString tree, TString name1, TString name2, TString ua, TString name3, TString ud, Double_t Emin, Double_t Emax, Int_t nbe=100, Int_t nba=1000)
void MakeBurstSigmaPosdist (TString file, TString tree, TString name, TString u, Int_t nb=900, Float_t xmin=0, Float_t xmax=90)
void MakeBurstT90dist (TString file, TString tree, TString name, Int_t nb=50, Float_t xmin=-5, Float_t xmax=5)
void MakeBurstZdist (TString file, TString tree, TString name, Int_t nb=200, Float_t zmin=0, Float_t zmax=20)
void MapCinfo (Int_t)
void MapClose ()
void MapDateTime (const char *text)
void MapDcoord (Int_t i)
void MapDname (const char *text)
void MapDoptions (Int_t i)
void MapDraw ()
void MapEa (const char *text)
void MapEb (const char *text)
void MapEcoord (Int_t i)
void MapEname (const char *text)
void MapEnter ()
void MapEnterSolar ()
void MapEtype (Int_t i)
void MapExit ()
void MapExperiment (Int_t i)
void MapIname (const char *text)
void MapInfo ()
void MapLabLframeEnter ()
void MapLabTS ()
void MapList ()
void MapLocb (const char *text)
void MapLocEnter ()
void MapLocId (const char *text)
void MapLocl (const char *text)
void MapMarkColor (Int_t i)
void MapMarkSize (const char *text)
void MapMarkStyle (Int_t i)
void MapMarkType (Int_t i)
void MapMerC (const char *text)
void MapMerMode (Int_t i)
void MapMerUc (Int_t i)
void MapNdigs (const char *text)
void MapNmax (const char *text)
void MapProj (Int_t i)
void MapRemove ()
void MapRemoveSolar ()
void MapSolar (Int_t i)
void MapTimeType (Int_t i)
void MapTinfo (Int_t)
void MapUa (Int_t i)
void MapUb (Int_t i)
void MapUinfo (Int_t)
void MapUloc (Int_t i)
void MatchBurstData (NcDevice &matches, Int_t i1=1, Int_t i2=0, Int_t itype=0, Int_t j1=1, Int_t j2=0, Int_t jtype=1)
void MatchBurstData (NcDevice &matches, TString name, Int_t itype=0, Int_t j1=1, Int_t j2=0, Int_t jtype=1)
TArrayI * MatchRefSignal (Double_t da, TString au, Double_t dt, TString tu, Int_t mode=1)
void MatchSignals (NcDevice &matches, Double_t da, TString au, Double_t dt, TString tu, Int_t mode=1, Int_t i1=1, Int_t i2=0, Int_t itype=0, Int_t j1=1, Int_t j2=0, Int_t jtype=1)
void MatchSignals (NcDevice &matches, TString name, Double_t da, TString au, Double_t dt, TString tu, Int_t mode=1, Int_t itype=0, Int_t j1=1, Int_t j2=0, Int_t jtype=1)
void PrintAngle (Double_t a, TString in, TString out, Int_t ndig=1, Bool_t align=kFALSE) const
void PrintSignal (TString frame, TString mode, NcTimestamp *ts, Int_t ndig, Int_t jref=0, TString emode="T", Int_t type=0, Bool_t align=kFALSE)
void PrintSignal (TString frame, TString mode, NcTimestamp *ts, Int_t ndig, TString name, TString emode="T", Int_t type=0, Bool_t align=kFALSE)
void RandomPosition (Nc3Vector &v, Double_t thetamin, Double_t thetamax, Double_t phimin, Double_t phimax)
Int_t RemoveRefSignal (Int_t j, Int_t compress)
Int_t RemoveRefSignal (TString name, Int_t compress)
Int_t RemoveSignal (Int_t j, Int_t type, Int_t compress)
Int_t RemoveSignal (TString name, Int_t type, Int_t compress)
Int_t RemoveSignals (TString name, Int_t type, Int_t compress)
void SetBurstParameter (TString name, Double_t value)
void SetCentralMeridian (Int_t mode=0, Double_t phi=0, TString u="deg")
void SetDataNames (TString obsname, TString varname, TString units="1", TString func="none")
void SetExperiment (TString name, Int_t id=0)
void SetLabPosition (Double_t l, Double_t b, TString u="deg")
void SetLabPosition (Nc3Vector &r)
void SetLabTimeOffset (Double_t dt)
void SetLocalFrame (Double_t t1, Double_t p1, Double_t t2, Double_t p2, Double_t t3, Double_t p3)
void SetLT (Double_t dt, Int_t y, Int_t d, Int_t s, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Double_t s, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t m, Int_t d, TString time, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, TString date, TString time, Int_t mode, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Int_t y, Int_t d, Int_t s, Int_t ns=0, Int_t ps=0)
void SetLT (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Double_t s)
void SetLT (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns=0, Int_t ps=0)
void SetLT (Int_t y, Int_t m, Int_t d, TString time)
void SetLT (TString date, TString time, Int_t mode)
void SetMarkerColor (Int_t color, Int_t type)
void SetMarkerSize (Float_t size, Int_t type)
void SetMarkerStyle (Int_t style, Int_t type)
void SetMaxDt (Double_t s)
void SetPhysicalParameter (TString name, Double_t value)
void SetPositionScramble (Int_t mode, Double_t dmin, Double_t dmax, TF1 *df=0, Double_t thmin=0, Double_t thmax=0, TF1 *thf=0, Double_t phimin=0, Double_t phimax=0, TF1 *phif=0)
void SetRandomiser (Int_t iseed, Int_t cnt1=0, Int_t cnt2=0, NcTimestamp *ts=0)
NcSignalSetSignal (Double_t d, Double_t a, TString au, Double_t b, TString bu, TString frame, NcTimestamp *ts, Int_t jref, TString mode="T", TString name="", Int_t type=0)
NcSignalSetSignal (Double_t d, Double_t a, TString au, Double_t b, TString bu, TString frame, TString s, Double_t e, Int_t jref, TString mode, TString name="", Int_t type=0)
Int_t SetSourceAttributes (NcSignal *s, Double_t sigmapos, TString u, Double_t z=-999, Double_t T90=-999)
void SetTimeScramble (Int_t mode, Double_t tmin, Double_t tmax, TF1 *frndm=0)
void ShiftPosition (Nc3Vector &v, Double_t angle)
virtual void SkyMapPanel ()
void SmearPosition (Nc3Vector &v, Double_t sigma)
void WriteBurstHistograms (TString filename)
Public Member Functions inherited from NcTimestamp
 NcTimestamp ()
 NcTimestamp (const NcTimestamp &t)
 NcTimestamp (TTimeStamp &t)
virtual ~NcTimestamp ()
void Add (Double_t hours)
void Add (Int_t d, Int_t s, Int_t ns, Int_t ps=0)
void AddSec (Double_t seconds)
Double_t Almanac (Double_t *dpsi=0, Double_t *deps=0, Double_t *eps=0, Double_t *dl=0, TString name="", Double_t *el=0, Double_t *eb=0, Double_t *dr=0, Double_t *value=0, Int_t j=0)
void Convert (Double_t date, Int_t &days, Int_t &secs, Int_t &ns) const
void Convert (Double_t h, Int_t &hh, Int_t &mm, Double_t &ss) const
void Convert (Double_t h, Int_t &hh, Int_t &mm, Int_t &ss, Int_t &ns, Int_t &ps) const
Double_t Convert (Int_t days, Int_t secs, Int_t ns) const
Double_t Convert (Int_t hh, Int_t mm, Double_t ss) const
Double_t Convert (Int_t hh, Int_t mm, Int_t ss, Int_t ns, Int_t ps) const
void Date (Int_t mode=3, Double_t offset=0)
Double_t GetBE ()
Double_t GetBE (Double_t date, TString mode="jd") const
TString GetDayTimeString (TString mode, Int_t ndig=0, Double_t offset=0, TString *date=0, TString *time=0, Bool_t full=kTRUE)
Int_t GetDifference (NcTimestamp &t, Int_t &days, Int_t &sec, Int_t &ns, Int_t &ps, TString type="UT")
Double_t GetDifference (NcTimestamp &t, TString u, Int_t mode=1, TString type="UT")
Int_t GetDifference (NcTimestamp *t, Int_t &days, Int_t &sec, Int_t &ns, Int_t &ps, TString type="UT")
Double_t GetDifference (NcTimestamp *t, TString u, Int_t mode=1, TString type="UT")
Double_t GetEpoch (TString mode)
Double_t GetGAST ()
Double_t GetGMST ()
void GetGMST (Int_t &hh, Int_t &mm, Int_t &ss, Int_t &ns, Int_t &ps)
TTree * GetIERSdatabase () const
Double_t GetJD ()
Double_t GetJD (Double_t e, TString mode="J") const
void GetJD (Int_t &jd, Int_t &sec, Int_t &ns)
Double_t GetJD (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns) const
Double_t GetJE ()
Double_t GetJE (Double_t date, TString mode="jd") const
Double_t GetLAST (Double_t offset)
Double_t GetLAT (Double_t offset)
Double_t GetLMST (Double_t offset)
Double_t GetLT (Double_t offset)
Double_t GetMJD ()
Double_t GetMJD (Double_t e, TString mode="J") const
void GetMJD (Int_t &mjd, Int_t &sec, Int_t &ns)
Double_t GetMJD (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns) const
Int_t GetNs () const
Int_t GetPs () const
Double_t GetTAI (Bool_t tmjd=kTRUE)
Int_t GetTAI (Int_t &d, Int_t &sec, Int_t &ns, Int_t &ps, Bool_t tmjd=kTRUE)
Int_t GetTAI (Int_t &hh, Int_t &mm, Int_t &ss, Int_t &ns, Int_t &ps, TString type="TAI")
Double_t GetTJD ()
Double_t GetTJD (Double_t e, TString mode="J") const
void GetTJD (Int_t &tjd, Int_t &sec, Int_t &ns)
Double_t GetTJD (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns) const
Double_t GetUnixTime ()
Double_t GetUT ()
void GetUT (Int_t &hh, Int_t &mm, Int_t &ss, Int_t &ns, Int_t &ps)
Int_t GetUTCparameters (Int_t &leap, Double_t &dut) const
Int_t GetUTCparameters (Int_t mjd, Int_t &leap, Double_t &dut) const
Bool_t IsUT1 () const
TTree * LoadUTCparameterFiles (TString leapfile="$(NCFS)/IERS/leap.txt", TString dutfile="$(NCFS)/IERS/dut.txt")
NcTimestampoperator= (const NcTimestamp &t)
void PrintTime (Double_t h, Int_t ndig=1) const
void SetEpoch (Double_t e, TString mode, TString utc="U", Int_t leap=0, Double_t dut=0)
Int_t SetGPS (Int_t w, Int_t dow, Int_t sod, Int_t ns, Int_t ps, TString utc, Int_t leap, Double_t dut=0, Int_t icycle=0)
Int_t SetGPS (Int_t w, Int_t sow, Int_t ns, Int_t ps, TString utc, Int_t leap, Double_t dut=0, Int_t icycle=0)
void SetJD (Double_t jd, TString utc="U", Int_t leap=0, Double_t dut=0)
void SetJD (Int_t jd, Int_t sec, Int_t ns, Int_t ps=0, TString utc="U", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t d, Int_t s, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Double_t s, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, Int_t y, Int_t m, Int_t d, TString time, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetLT (Double_t dt, TString date, TString time, Int_t mode, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetMJD (Double_t mjd, TString utc="U", Int_t leap=0, Double_t dut=0)
void SetMJD (Int_t mjd, Int_t sec, Int_t ns, Int_t ps=0, TString utc="U", Int_t leap=0, Double_t dut=0)
void SetNs (Int_t ns)
void SetPs (Int_t ps)
void SetSystemTime ()
Int_t SetTAI (Double_t tai, TString utc, Int_t leap, Double_t dut=0, Bool_t tmjd=kFALSE)
Int_t SetTAI (Int_t d, Int_t sec, Int_t ns, Int_t ps, TString utc, Int_t leap, Double_t dut=0, Bool_t tmjd=kFALSE)
Int_t SetTAI (TString type, TString date, TString time, Int_t mode, TString utc, Int_t leap, Double_t dut=0)
void SetTJD (Double_t tjd, TString utc="U", Int_t leap=0, Double_t dut=0)
void SetTJD (Int_t tjd, Int_t sec, Int_t ns, Int_t ps=0, TString utc="U", Int_t leap=0, Double_t dut=0)
Int_t SetUnixTime (Double_t sec, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetUT (Int_t y, Int_t d, Int_t s, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetUT (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Double_t s, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetUT (Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetUT (Int_t y, Int_t m, Int_t d, TString time, TString utc="A", Int_t leap=0, Double_t dut=0)
void SetUT (TString date, TString time, Int_t mode, TString utc="A", Int_t leap=0, Double_t dut=0)

Protected Member Functions

void Astro ()
void Event ()
void Track (Int_t mode)
Protected Member Functions inherited from NcAstrolab
void BurstCompensate (Int_t &nmugrb)
virtual void CommandPanel (TGCompositeFrame *frame)
virtual void EntriesPanel (TGCompositeFrame *frame)
Double_t GetBackgroundRateProb (Double_t *vars, Double_t *pars)
void GetBurstDtDistributions (Int_t ndt, TH1F &hisdtOn, TF1 &pdfdtOn, TH1F &hisdtOff, TF1 &pdfdtOff, Bool_t zcor)
TH1 * GetBurstSigmaPosdist (TString name, TString type)
TH1 * GetBurstT90dist (TString name, TString type)
Double_t GetBurstTotalFluence (Double_t nsig, TString str)
TH1 * GetBurstZdist (TString name, TString type)
Double_t GetSeparation (Int_t i, Int_t j, TString au, Double_t &dt, TString tu, Int_t mode, Int_t bkgpatch, Double_t *diftheta=0, Double_t *difphi=0)
NcSignalGetSignal (Nc3Vector &r, TString frame, TString mode, NcTimestamp *ts, Int_t jref, Int_t type)
Double_t GetSignalRateProb (Double_t *vars, Double_t *pars)
virtual void InfoPanel (TGCompositeFrame *frame)
void InitBurstHistograms ()
virtual void LabLocalFramePanel (TGCompositeFrame *frame)
virtual void LabLocationPanel (TGCompositeFrame *frame)
void ListBurstSignalStats (Double_t rate, Int_t mode, TString str="-")
void MakeBurstDataStats ()
void MakeBurstNuCountProfile (TString mode)
virtual void MapListOptionsPanel (TGCompositeFrame *frame)
void Nutate (Nc3Vector &r, NcTimestamp *ts)
void Precess (Nc3Vector &r, NcTimestamp *ts1, NcTimestamp *ts2)
void Project (Double_t l, Double_t b, TString proj, Double_t &x, Double_t &y)
void ProjectAitoff (Double_t l, Double_t b, Double_t &x, Double_t &y)
void ProjectCylindrical (Double_t l, Double_t b, Double_t &x, Double_t &y)
void ProjectHammer (Double_t l, Double_t b, Double_t &x, Double_t &y)
void ProjectMercator (Double_t l, Double_t b, Double_t &x, Double_t &y)
void SetBmatrix ()
void SetEmatrix (NcTimestamp *ts)
void SetGmatrix (TString mode)
void SetHmatrix (NcTimestamp *ts)
void SetMapTS ()
void SetNmatrix (NcTimestamp *ts)
void SetPmatrix (NcTimestamp *ts)
NcSignalSetSignal (Nc3Vector *r, TString frame, TString mode, NcTimestamp *ts, Int_t jref, TString name, Int_t type)
Int_t SetSolarSystem (TString name, NcTimestamp *ts, Int_t type=0)
virtual void TimestampPanel (TGCompositeFrame *frame)
Protected Member Functions inherited from NcTimestamp
Int_t SetUTCparameters (TString utc, Int_t leap, Double_t dut)

Protected Attributes

Double_t fAstroDa
Int_t fAstroDir
Double_t fAstroDt
Int_t fAstroflag
Float_t fEventCharges [2]
TString fEventDevClass
Int_t fEventDevices [2]
Double_t fEventEnergies [6]
Int_t fEventflag
Float_t fEventMasses [2]
Double_t fEventMomenta [6]
Int_t fEventTracks [10]
TString fEventTrkName
Float_t fEventVetos [2]
NcEventfEvt
Int_t fFirst
Int_t fLogic
NcDevicefParams
Int_t fSelect
Float_t fTrackCharges [2]
TString fTrackDevClass
Int_t fTrackDevices [2]
Double_t fTrackEnergies [6]
Int_t fTrackflag
Float_t fTrackMasses [2]
Double_t fTrackMomenta [6]
Double_t fTrackRapidities [4]
TObjArray * fUseNames
TArrayI * fUseNtk
Protected Attributes inherited from NcAstrolab
Double_t fAlphaEM
Double_t fAmu
Double_t fAu
Double_t fAxes [6]
TRotMatrix fB
 ! The frame bias matrix for conversion of ICRS to J2000 coordinates
Int_t fBias
 ! Initialisation flag for fB values (0=uninitialised 1=initialised)
TString fBkgEmode
TF1 fBkgEprofile
Double_t fBoltz
TObjArray fBurstHistos
NcSample fBurstOffAeff
NcSample fBurstOffMatch
NcSample fBurstOffReco
NcSample fBurstOnAeff
NcSample fBurstOnMatch
NcSample fBurstOnReco
NcDevicefBurstParameters
NcSample fBurstSigAeff
NcSample fBurstSignal
NcSample fBurstSigReco
TCanvas * fCanvas
 ! The canvas for the skymap
Int_t fDataDir
TString fDataFrame
TString fDataMode
NcObjMatrix fDataNames
TF1 * fDscfunc
Double_t fDscmax
Double_t fDscmin
TRotMatrix fE
 ! Matrix for conversion of equatorial to ecliptic coordinates
TString fExperiment
Double_t fFermi
TRotMatrix fG
 ! Matrix for conversion of equatorial to galactic coordinates
Int_t fGal
 ! Type indicator for fG values (0=uninitialised 1=B1950 2=J2000)
Double_t fGammaW
Double_t fGammaZ
Double_t fGn
TRotMatrix fH
 ! Matrix for conversion of equatorial to horizontal coordinates
Double_t fHbar
Double_t fHbarc
Double_t fHbarc2
TH2 * fHist [2]
 ! Temp. histograms for the sky display
Double_t fHubble
TArrayI * fIndices
 ! Storage indices of the matching reference signals
TRotMatrix fL
Int_t fLabId
NcPosition fLabPos
TString fMapCinfo
 ! The GUI selected info category
TString fMapDate
 ! The GUI entered date
TString fMapDateTime
 ! The GUI entered datetime
TString fMapDcoord
 ! The GUI selected coordinate system for the Map/List
TString fMapDmode
 ! The GUI selected coordinate system mode for the Map/List
TString fMapDname
 ! The GUI entered name pattern for entries to be shown in the Map/List
Bool_t fMapDoptions [5]
 ! The GUI Map/List options (histo, clr, ref, meas, refTS)
Double_t fMapEa
 ! The GUI entered a coordinate of an entry
Double_t fMapEb
 ! The GUI entered b coordinate of an entry
TString fMapEcoord
 ! The GUI entered coordinate system of the entry
TString fMapEmode
 ! The GUI entered coordinate system mode of the entry
TString fMapEname
 ! The GUI entered name of the entry
Int_t fMapEtype
 ! The GUI entered entry type
TString fMapEua
 ! The GUI entered angular units of a
TString fMapEub
 ! The GUI entered angular units of b
TString fMapIname
 ! The GUI selected entry name for the info
TGComboBox * fMapLabE
 ! The GUI Lab experiment site selection box
TString fMapLabExpName
 ! The GUI entered Lab experimental site
Int_t fMapLabId
 ! The GUI entered Lab detector Id
TGNumberEntryField * fMapLabLBI [3]
 ! The GUI number entries for the Lab location specification
TGNumberEntryField * fMapLabLframe [6]
 ! The GUI number entries for the local frame specification
Double_t fMapLabLocB
 ! The GUI entered Lab latitude
Double_t fMapLabLocL
 ! The GUI entered Lab longitude
TString fMapLabLocU
 ! The GUI entered Lab location angular units
Bool_t fMapLabTS
 ! The GUI selection to use the Lab timestamp for the List/Map
TGComboBox * fMapLabU
 ! The GUI Lab location angular unit selection box
Int_t fMapMarkColor
 ! The GUI selected marker color for the Map
Double_t fMapMarkSize
 ! The GUI entered marker size for the Map
Int_t fMapMarkStyle
 ! The GUI selected marker style for the Map
Int_t fMapMarkType
 ! The GUI selected entry type to apply the marker attributes on
Double_t fMapMerC
 ! The GUI entered central meridian location for the Map
Int_t fMapMerMode
 ! The GUI selected meridian orientation for the Map
TString fMapMerUc
 ! The GUI selected angular units for the central meridian location
Int_t fMapNdigs
 ! The GUI selected number of digits for the List output
Int_t fMapNmax
 ! The GUI selected max. number of signals of each type to Map/List
TString fMapProj
 ! The GUI selected projection for the Map
Bool_t fMapSolar [10]
 ! The GUI selection of solar system objects
TString fMapTime
 ! The GUI entered time
TString fMapTimeType
 ! The GUI entered time type
Int_t fMapTinfo
 ! The GUI selected mode for the timestamp info
NcTimestamp fMapTS
 ! The GUI entered timestamp to be used for the List/Map
TGTextEntry * fMapTSdatetime
 ! The GUI TS date/time specification
TGComboBox * fMapTStimetype
 ! The GUI TS time type selection box
TString fMapUinfo
 ! The GUI selected angular units for the Lab info
Int_t fMarkerColor [4]
TObjArray * fMarkers
 ! Temp. array to hold the markers for the signal display
Float_t fMarkerSize [4]
Int_t fMarkerStyle [4]
Double_t fMaxDt
Double_t fMe
Double_t fMeridian
 ! Central meridian (in rad) for the sky display
Double_t fMmu
Double_t fMn
Double_t fMp
Double_t fMtau
Double_t fMW
Double_t fMZ
TRotMatrix fN
 ! Matrix for nutation correction
ULong64_t fNen [2]
Double_t fNewton
TF1 * fNuAngle
Double_t fOmegaB
Double_t fOmegaC
Double_t fOmegaL
Double_t fOmegaM
Double_t fOmegaR
TRotMatrix fP
 ! Matrix for precession correction
Double_t fPc
TF1 * fPhiscfunc
Double_t fPhiscmax
Double_t fPhiscmin
Double_t fPlanck
TString fProj
 ! Projection which is currently in use
Double_t fQe
NcRandomfRan
TObjArray * fRefs
Int_t fRscmode
TString fSigEmode
TF1 fSigEprofile
TObjArray * fSigs
TGMainFrame * fSkyMapPanel
 ! The main frame for the SkyMapPanel GUI
Int_t fSolUpdate
Double_t fSpeedC
TF1 * fThetascfunc
Double_t fThetascmax
Double_t fThetascmin
Double_t fToffset
TF1 * fTscfunc
Double_t fTscmax
Double_t fTscmin
Int_t fTscmode
Int_t fUsMeridian
Protected Attributes inherited from NcTimestamp
Double_t fDut
Int_t fJns
Int_t fJps
Int_t fJsec
Int_t fLeap
Int_t fMJD
Int_t fTmjd
Int_t fTns
Int_t fTps
Int_t fTsec
Int_t fUtc
TTree * fUTCdata

Constructor & Destructor Documentation

◆ NcEventSelector() [1/2]

NcEventSelector::NcEventSelector ( const char * name = "NcEventSelector",
const char * title = "Event selection" )
// Default constructor.

Definition at line 159 of file NcEventSelector.cxx.

◆ ~NcEventSelector()

NcEventSelector::~NcEventSelector ( )
virtual
// Default destructor.

Definition at line 224 of file NcEventSelector.cxx.

◆ NcEventSelector() [2/2]

NcEventSelector::NcEventSelector ( const NcEventSelector & q)
// Copy constructor.

Definition at line 250 of file NcEventSelector.cxx.

Member Function Documentation

◆ Astro()

void NcEventSelector::Astro ( )
protected
// Check for matches with external objects.

Definition at line 1213 of file NcEventSelector.cxx.

◆ Clone()

TObject * NcEventSelector::Clone ( const char * name = "") const
virtual
// Make a deep copy of the current object and provide the pointer to the copy.
// This memberfunction enables automatic creation of new objects of the
// correct type depending on the object type, a feature which may be very useful
// for containers when adding objects in case the container owns the objects.

Reimplemented from NcAstrolab.

Definition at line 1254 of file NcEventSelector.cxx.

◆ Event()

void NcEventSelector::Event ( )
protected
// Check criteria for total event observables.

Definition at line 1038 of file NcEventSelector.cxx.

◆ Exec()

void NcEventSelector::Exec ( Option_t * opt)
virtual
// Implementation of the event selection procedures.

Definition at line 767 of file NcEventSelector.cxx.

◆ SetAstroMatch()

void NcEventSelector::SetAstroMatch ( Double_t da,
Double_t dt,
TString dir )
// Set the parameters for the matching of reference objects.
//
// da : Maximum angular difference in degrees
// dt : Maximum absolute time difference in seconds
// dir : "to" ==> Check the location the track (or event) points to
// "from" ==> Check the location the track (or event) originates from

Definition at line 418 of file NcEventSelector.cxx.

◆ SetLogic()

void NcEventSelector::SetLogic ( TString type)
// Set type of the decision logic.
//
// type = "and" ==> Event selection based on logical "and"
// "or" ==> Event selection based on logical "or"
// "nand" ==> Event selection based on logical "nand"
// "nor" ==> Event selection based on logical "nor"
//
// Note : In the default constructor the decision logic is set to "unknown".

Definition at line 338 of file NcEventSelector.cxx.

◆ SetRange() [1/2]

void NcEventSelector::SetRange ( TString type,
TString obs,
Double_t low,
Double_t up )
// Set range for the specified observable.
//
// type : Selection type specifier (e.g. "track" or "event").
// obs : Observable specification.
// low : Lower bound of acceptance range
// up : Upper bound of acceptance range
//
// The various observables that are available for selection criteria are :
//
// obs : "p" ==> Momentum value in GeV/c
// "pt" ==> Transverse momentum value in GeV/c
// "pl" ==> Longitudinal momentum value in GeV/c
// "e" ==> Energy value in GeV
// "et" ==> Transverse momentum value in GeV
// "el" ==> Longitudinal momentum value in GeV
// "m" ==> (Invariant) mass in GeV/c^2
// "q" ==> Charge (electron charge is defined as -1)
// "y" ==> Rapidity (only for "track")
// "eta" ==> Pseudo-rapidity (only for "track")
// "veto" ==> Veto level (only for "event")
//
// Note : When up<low the specified observable will not be used for selection.
//
// In the default constructor all observables are de-activated for selection.

Definition at line 447 of file NcEventSelector.cxx.

◆ SetRange() [2/2]

void NcEventSelector::SetRange ( TString type,
TString obs,
TString name,
Int_t nlow,
Int_t nup )
// Set range for the specified observable.
//
// type : Selection type specifier (e.g. "track" or "event").
// obs : Observable specification.
// name : (Class) name of the objects to be searched for
// nlow : Lower bound of acceptance range
// nup : Upper bound of acceptance range
//
// The various observables that are available for selection criteria are :
//
// obs : "ndev" ==> Number of associated devices of the specified (derived) class name
// "ntrk" ==> Number of tracks with the specified name (name="*" ==> all tracks)
// "ntkc" ==> Total number of charged tracks (no name selection)
// "ntk0" ==> Total number of neutral tracks (no name selection)
// "ntk+" ==> Total number of positive tracks (no name selection)
// "ntk-" ==> Total number of negative tracks (no name selection)
//
// Notes :
// -------
// 1) For a certain (type,obs) combination only one (class) name can be specified.
// 2) When nup<nlow the specified observable will not be used for selection.
//
// In the default constructor all observables are de-activated for selection.

Definition at line 660 of file NcEventSelector.cxx.

◆ SetSelector()

void NcEventSelector::SetSelector ( TString type,
Int_t flag = 1 )
// Specify the selection types to be used.
// The various types my be selected in a cumulative way by specification
// of the input argument "type".
// The various possibilities are :
//
// type = "track" ==> Selection based on individual track observables (e.g. Pt)
// "event" ==> Selection based on total event observables (e.g. Invmass)
// "astro" ==> Selection based on correlation with external objects
//
// The specified selection types can be (de)activated via the input
// argument "flag".
//
// flag = 0 ==> Don't use the specified selection type
// 1 ==> Use the specified selection type
//
// For type="astro" the flag>0 value specifies further selections as follows :
//
// flag = 1 ==> Match individual track momentum directions with external (astrophysical) objects
// 2 ==> Match event total momentum direction with external (astrophysical) objects
// 3 ==> Match event position with external (astrophysical) objects
//
// For further details see memberfunction SetAstroMatch.
//
// The default value is flag=1.
//
// Note : In the default constructor all selection types are de-activated.

Definition at line 300 of file NcEventSelector.cxx.

◆ Track()

void NcEventSelector::Track ( Int_t mode)
protected
// Check criteria for individual track observables.
// This memberfunction serves also the track direction checking
// for external (astrophysical) objects.
// mode = 0 : Track observables (e.g. P, Pt etc...) are checked
// 1 : Track direction is checked w.r.t. external (astrophysical) objects

Definition at line 851 of file NcEventSelector.cxx.

◆ UseTracks()

void NcEventSelector::UseTracks ( TString name,
Int_t n = -1 )
// Specification of the track names to be used for the investigation
// of individual track observables and matching with external objects.
//
// name : Specifies the track name (e.g. "IceDwalk")
// In case name="*" all track names will be accepted.
//
// n : Specifies the max. number of these tracks to be used
//
// Note : n<0 will use all the existing tracks of the specified name
//
// The default is n=-1.
//
// Consecutive invokations of this memberfunction with different names
// will result in an incremental effect.
//
// Example :
// ---------
// UseTracks("IceDwalk",5);
// UseTracks("IceLinefit",2);
// UseTracks("Pythia");
//
// This will use the first 5 IceDwalk, the first 2 IceLinefit and all the
// Pythia tracks which are encountered in the event structure.

Definition at line 359 of file NcEventSelector.cxx.

Member Data Documentation

◆ fAstroDa

Double_t NcEventSelector::fAstroDa
protected

Definition at line 38 of file NcEventSelector.h.

◆ fAstroDir

Int_t NcEventSelector::fAstroDir
protected

Definition at line 40 of file NcEventSelector.h.

◆ fAstroDt

Double_t NcEventSelector::fAstroDt
protected

Definition at line 39 of file NcEventSelector.h.

◆ fAstroflag

Int_t NcEventSelector::fAstroflag
protected

Definition at line 33 of file NcEventSelector.h.

◆ fEventCharges

Float_t NcEventSelector::fEventCharges[2]
protected

Definition at line 48 of file NcEventSelector.h.

◆ fEventDevClass

TString NcEventSelector::fEventDevClass
protected

Definition at line 54 of file NcEventSelector.h.

◆ fEventDevices

Int_t NcEventSelector::fEventDevices[2]
protected

Definition at line 53 of file NcEventSelector.h.

◆ fEventEnergies

Double_t NcEventSelector::fEventEnergies[6]
protected

Definition at line 52 of file NcEventSelector.h.

◆ fEventflag

Int_t NcEventSelector::fEventflag
protected

Definition at line 32 of file NcEventSelector.h.

◆ fEventMasses

Float_t NcEventSelector::fEventMasses[2]
protected

Definition at line 50 of file NcEventSelector.h.

◆ fEventMomenta

Double_t NcEventSelector::fEventMomenta[6]
protected

Definition at line 51 of file NcEventSelector.h.

◆ fEventTracks

Int_t NcEventSelector::fEventTracks[10]
protected

Definition at line 55 of file NcEventSelector.h.

◆ fEventTrkName

TString NcEventSelector::fEventTrkName
protected

Definition at line 56 of file NcEventSelector.h.

◆ fEventVetos

Float_t NcEventSelector::fEventVetos[2]
protected

Definition at line 49 of file NcEventSelector.h.

◆ fEvt

NcEvent* NcEventSelector::fEvt
protected

Definition at line 29 of file NcEventSelector.h.

◆ fFirst

Int_t NcEventSelector::fFirst
protected

Definition at line 28 of file NcEventSelector.h.

◆ fLogic

Int_t NcEventSelector::fLogic
protected

Definition at line 34 of file NcEventSelector.h.

◆ fParams

NcDevice* NcEventSelector::fParams
protected

Definition at line 30 of file NcEventSelector.h.

◆ fSelect

Int_t NcEventSelector::fSelect
protected

Definition at line 37 of file NcEventSelector.h.

◆ fTrackCharges

Float_t NcEventSelector::fTrackCharges[2]
protected

Definition at line 41 of file NcEventSelector.h.

◆ fTrackDevClass

TString NcEventSelector::fTrackDevClass
protected

Definition at line 47 of file NcEventSelector.h.

◆ fTrackDevices

Int_t NcEventSelector::fTrackDevices[2]
protected

Definition at line 46 of file NcEventSelector.h.

◆ fTrackEnergies

Double_t NcEventSelector::fTrackEnergies[6]
protected

Definition at line 44 of file NcEventSelector.h.

◆ fTrackflag

Int_t NcEventSelector::fTrackflag
protected

Definition at line 31 of file NcEventSelector.h.

◆ fTrackMasses

Float_t NcEventSelector::fTrackMasses[2]
protected

Definition at line 42 of file NcEventSelector.h.

◆ fTrackMomenta

Double_t NcEventSelector::fTrackMomenta[6]
protected

Definition at line 43 of file NcEventSelector.h.

◆ fTrackRapidities

Double_t NcEventSelector::fTrackRapidities[4]
protected

Definition at line 45 of file NcEventSelector.h.

◆ fUseNames

TObjArray* NcEventSelector::fUseNames
protected

Definition at line 35 of file NcEventSelector.h.

◆ fUseNtk

TArrayI* NcEventSelector::fUseNtk
protected

Definition at line 36 of file NcEventSelector.h.


The documentation for this class was generated from the following files: