37 Streams(
const string aName,
const unsigned int aVerbose=0);
53 void SetName(
const string aName);
58 inline string GetName(
void){
return Name; };
79 inline string GetNameConv(
void){
return NamePrefix+
"-"+NameSuffixUnderScore; };
89 return aOutDir+
"/"+Name;
100 inline string GetTriggerFileName(
const unsigned int aGpsStart,
const unsigned int aDuration,
const string aFileFormat=
"root",
const string aProcessName=
"PROC",
const string aOutDir=
"."){
101 gwl_ss<<aOutDir<<
"/"<<GetNameConv()<<
"_"<<aProcessName<<
"-"<<aGpsStart<<
"-"<<aDuration<<
"."<<aFileFormat;
102 string ss_ret = gwl_ss.str();
103 gwl_ss.clear(); gwl_ss.str(
"");
128 void GetDetectorAMResponse(
double &aFplus,
double &aFcross,
129 const double aRa,
const double aDec,
130 const double aPsi,
const double aGmst);
139 inline double GetLocalTime(
const double aRa,
const double aDec,
const double aGeocentricTime){
154 double Response[3][3];
160 void MakeDetector(
void);
165 void ComputeDetectorResponse(
void);
Time series transformation.
double TimeDelayFromEarthCenter(const double detector_earthfixed_xyz_metres[3], double source_right_ascension_radians, double source_declination_radians, const double gpstime)
Computes difference in arrival time of the same signal at detector and at center of Earth-fixed frame...
Definition: TimeDelay.cc:55
See Measure of time delay.
Transform discrete time series.
Definition: Sample.h:162
Manage streams.
Definition: Streams.h:22
double GetLocalTime(const double aRa, const double aDec, const double aGeocentricTime)
Converts the geocentric time to the detector local time [s].
Definition: Streams.h:139
string GetNamePrefix(void)
Returns the stream name prefix.
Definition: Streams.h:63
unsigned int DetIndex
Detector index.
Definition: Streams.h:153
string GetTriggerFileName(const unsigned int aGpsStart, const unsigned int aDuration, const string aFileFormat="root", const string aProcessName="PROC", const string aOutDir=".")
Returns the stream trigger file name.
Definition: Streams.h:100
string GetDetectorPrefix(void)
Returns the detector prefix for this stream.
Definition: Streams.h:115
string GetNameSuffix(void)
Returns the stream name suffix.
Definition: Streams.h:68
unsigned int GetDetectorIndex(void)
Returns the detector index for this stream.
Definition: Streams.h:110
string NameSuffixUnderScore
Stream suffix with only underscores.
Definition: Streams.h:152
string Name
Stream name.
Definition: Streams.h:141
unsigned int verbose
Verbosity level.
Definition: Streams.h:149
string NamePrefix
Stream prefix.
Definition: Streams.h:150
Streams(const string aName, const unsigned int aVerbose=0)
Constructor of the Streams class.
string GetNameSuffixUnderScore(void)
Returns the stream name suffix with only underscores.
Definition: Streams.h:74
string GetDirectory(const string aOutDir=".")
Returns the stream directory.
Definition: Streams.h:88
string GetNameConv(void)
Returns the stream name using the LIGO-Virgo file name convention.
Definition: Streams.h:79
string GetName(void)
Returns the stream full name.
Definition: Streams.h:58
string NameSuffix
Stream suffix.
Definition: Streams.h:151